summaryrefslogtreecommitdiff
path: root/audio/Pd-extended/Pd-extended.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/Pd-extended/Pd-extended.SlackBuild')
-rw-r--r--audio/Pd-extended/Pd-extended.SlackBuild20
1 files changed, 18 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" \