summaryrefslogtreecommitdiff
path: root/audio/Pd-extended
diff options
context:
space:
mode:
Diffstat (limited to 'audio/Pd-extended')
-rw-r--r--audio/Pd-extended/Pd-extended.SlackBuild20
-rw-r--r--audio/Pd-extended/README2
2 files changed, 20 insertions, 2 deletions
diff --git a/audio/Pd-extended/Pd-extended.SlackBuild b/audio/Pd-extended/Pd-extended.SlackBuild
index 104ed7fb75..f500dbabf2 100644
--- a/audio/Pd-extended/Pd-extended.SlackBuild
+++ b/audio/Pd-extended/Pd-extended.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=Pd-extended
VERSION=0.42.5
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
SRCNAM=Pd
@@ -63,8 +63,24 @@ patch -p1 < $CWD/Makefile.diff
# Patch for newer libquicktime (w/o lqt-config)
patch -p1 < $CWD/Pd-extended_libquicktime122.patch
+# videodev.h has moved
+sed -i "s|linux/videodev\.h|libv4l1-videodev.h|" \
+ Gem/src/configure \
+ Gem/src/configure.ac \
+ Gem/src/Pixes/videoV4L.h \
+ externals/pidip/include/pdp_mp4config.h \
+ externals/pidip/include/pdp_mp4videosource.h \
+ externals/pidip/modules/pdp_v4l2.c \
+ externals/pidip/modules/pdp_vloopback.c \
+ externals/pdp/configure.ac \
+ externals/pdp/modules/image_io/pdp_v4l.c
+
+# Fix a wrong call
+sed -i "s|---export-dynamic|-export-dynamic|" externals/pdp/Makefile
+sed -i "s|--export-dynamic|-export-dynamic|" externals/pdp/opengl/Makefile
+
cd packages/linux_make
- make install \
+ make -j1 install \
prefix="/usr" \
libdir="/usr/lib$LIBDIRSUFFIX" \
mandir="/usr/man" \
diff --git a/audio/Pd-extended/README b/audio/Pd-extended/README
index e75c26028c..50aaf20463 100644
--- a/audio/Pd-extended/README
+++ b/audio/Pd-extended/README
@@ -15,3 +15,5 @@ most machines and will enable most of the external libraries in pd.
To start Pd-extended, type "pdextended" on 32 bit boxes, and use
"pdextended64" on 64 bit boxes.
+
+ftgl is an optional dependency.