From 92da5a007571783016bf8c6fd2e595feaad06ba2 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 24 Sep 2012 08:18:50 +0200 Subject: 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 --- audio/Pd-extended/Pd-extended.SlackBuild | 20 ++++++++++++++++++-- audio/Pd-extended/README | 2 ++ 2 files changed, 20 insertions(+), 2 deletions(-) (limited to 'audio/Pd-extended') 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. -- cgit v1.2.3