summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-24 08:18:50 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:32 -0500
commit92da5a007571783016bf8c6fd2e595feaad06ba2 (patch)
treef10892834f5085f0dec8f78b87bfd374e9634028 /audio
parent7cb1f691d745b8b2e8eb178a20c39711796e4e63 (diff)
downloadslackbuilds-92da5a007571783016bf8c6fd2e595feaad06ba2.tar.gz
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')
-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.