summaryrefslogtreecommitdiffstats
path: root/audio/Pd-extended/Pd-extended.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-24 08:18:50 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:32 -0500
commit92da5a007571783016bf8c6fd2e595feaad06ba2 (patch)
treef10892834f5085f0dec8f78b87bfd374e9634028 /audio/Pd-extended/Pd-extended.SlackBuild
parent7cb1f691d745b8b2e8eb178a20c39711796e4e63 (diff)
downloadslackbuilds-92da5a007571783016bf8c6fd2e595feaad06ba2.tar.gz
slackbuilds-92da5a007571783016bf8c6fd2e595feaad06ba2.tar.xz
audio/Pd-extended: Adapted for new location of videodev.h header.
Fixed wrong gcc option and noted the opt. dependency ftgl Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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" \