puredata: new package
PATCH 1/1 puredata: new package
PATCH 1/1 puredata: new package
Hi Jeremiah,
Quoted 40 lines · Jeremiah Rose
Quoted 1 line
From
2abea6b4935a7f9ad2889e3e1ec1e246283e9192Mon Sep 17 00:00:00 2001From: Jeremiah Rose <[email protected]>
Date: Thu, 20 Jun 2019 01:01:07 +0000
Subject: [PATCH 1/1] puredata: new packagePure Data is an open source visual programming language for multimedia. This is the Pd Vanilla distribution.
https://puredata.info/Signed-off-by Jeremiah Rose <[email protected]>--- DEVELOPERS | 3 +++ package/Config.in | 1 + package/puredata/Config.in | 27 +++++++++++++++++++++++++++ package/puredata/puredata.hash | 2 ++ package/puredata/puredata.mk | 35 +++++++++++++++++++++++++++++++++++ 5 files changed, 68 insertions(+)create mode 100644 package/puredata/Config.in create mode 100644 package/puredata/puredata.hash create mode 100644
package/puredata/puredata.mkDEVELOPERS +3
-0@@ -1120,6 +1120,9 @@ F: package/sl/ N: Jens Zettelmeyer <[email protected]> F: package/batctl/ +N: Jeremiah Rose <[email protected]> +F: package/puredata/ + N: Jeremy Rosen <[email protected]> F: package/fxload/package/Config.in +0
-0
package/Config.in menu "Audio and video applications" · line 48
Quoted 4 lines
package/Config.in +1
-0@@ -45,6 +45,7 @@ menu "Audio and video applications" source "package/omxplayer/Config.in" source "package/on2-8170-libs/Config.in" source "package/opus-tools/Config.in" + source "package/puredata/Config.in"
Please swap 'pulseaudio' with 'puredata' following alphabetical order.
But most of all, please rebase this patch against master branch, otherwise it doesn't apply.
Quoted 44 lines
package/Config.in +0
-0source "package/pulseaudio/Config.in" source "package/sox/Config.in" source "package/squeezelite/Config.in"package/puredata/Config.in new file +27
-0@@ -0,0 +1,27 @@ +config BR2_PACKAGE_PUREDATA + bool "puredata" + depends on BR2_USE_MMU # fork() + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + + select BR2_PACKAGE_ALSA_LIB + help + Pure Data is an open source visual programming language for + multimedia. This is the Pd Vanilla distribution. + + https://puredata.info/ + +if BR2_PACKAGE_PUREDATA + +config BR2_PACKAGE_PUREDATA_JACK + bool "JACK support for Pure Data" + depends on BR2_PACKAGE_JACK2 + help + JACK is a low-latency sound server + + http://jackaudio.org/ + +endif + +comment "puredata needs a toolchain w/ threads" + depends on BR2_USE_MMU + depends on !BR2_TOOLCHAIN_HAS_THREADSpackage/puredata/puredata.hash new file +2
-0@@ -0,0 +1,2 @@ +# No public hash available from github, this is a manually generated hash +sha256 0405aa7de53793ea0cb1ab3d93303018c5886616b89a2be3f4861251261c7341
Quoted 1 line
0.49-0.tar.gz
Here I don't know if it is patchwork mbox failure or not. This ^^^ is on only one line? I think yes, otherwise it wouldn't build, can you check?
Quoted 7 lines
package/puredata/puredata.mk new file +1
-0@@ -0,0 +1,35 @@ +################################################################################
package/puredata/puredata.mk line 11
Quoted 10 lines
package/puredata/puredata.mk new file +10
-0+# +# puredata +# +################################################################################ + +PUREDATA_VERSION = 0.49-0 +PUREDATA_SITE = https://github.com/pure-data/pure-data/archive +PUREDATA_SOURCE = $(PUREDATA_VERSION).tar.gz +PUREDATA_LICENSE = BSD-3-Clause +PUREDATA_LICENSE_FILES = LICENSE.txt
Please add corresponding hash for LICENSE.txt in .hash file.
Quoted 15 lines
package/puredata/puredata.mk new file +14
-0+PUREDATA_DEPENDENCIES = alsa-lib +PUREDATA_AUTORECONF = YES + +# Fix for toolchains using the musl libc +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +PUREDATA_CONF_OPTS += CFLAGS="$(TARGET_CFLAGS) -D__off64_t=off64_t" +endif + +# Portaudio is for Mac/Windows cross compatibility, we don't need it +PUREDATA_CONF_OPTS += --disable-portaudio + +# Create the empty /m4/generated directory +# (In a normal puredata build, this would be done by autogen.sh) +define PUREDATA_POST_EXTRACT_FIXUP
package/puredata/puredata.mk line 35
Quoted 10 lines
package/puredata/puredata.mk new file +10
-0+ mkdir -p $(@D)/m4/generated +endef +PUREDATA_POST_EXTRACT_HOOKS += PUREDATA_POST_EXTRACT_FIXUP + +ifeq ($(BR2_PACKAGE_PUREDATA_JACK),y) +PUREDATA_DEPENDENCIES += jack2 +PUREDATA_CONF_OPTS += --enable-jack +endif + +$(eval $(autotools-package))
This builds correctly after applying, so please send a v2 patch and I will check it again with test-pkg, maybe you can do the same before submitting.
Thank you
Best regards
Signature · 2 lines
Giulio Benetti Benetti Engineering sas