diff options
-rw-r--r-- | audio/Pd-extended/Pd-extended.SlackBuild | 10 | ||||
-rw-r--r-- | audio/Pd-extended/Pd-extended_libquicktime122.patch | 13 | ||||
-rw-r--r-- | audio/Pd-extended/slack-desc | 2 |
3 files changed, 20 insertions, 5 deletions
diff --git a/audio/Pd-extended/Pd-extended.SlackBuild b/audio/Pd-extended/Pd-extended.SlackBuild index 03021fa037..238d93e04d 100644 --- a/audio/Pd-extended/Pd-extended.SlackBuild +++ b/audio/Pd-extended/Pd-extended.SlackBuild @@ -7,12 +7,12 @@ PRGNAM=Pd-extended VERSION=0.42.5 +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} + SRCNAM=Pd SRCVER=0.42.5-extended -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -60,6 +60,9 @@ find . \ # Disable the usage of curl to get the list of developpers. patch -p1 < $CWD/Makefile.diff +# Patch for newer libquicktime (w/o lqt-config) +patch -p1 < $CWD/Pd-extended_libquicktime122.patch + cd packages/linux_make make install \ prefix="/usr" \ @@ -71,7 +74,6 @@ make install \ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Copy program documentation into the package mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ $TMP/$SRCNAM-$SRCVER/doc/* $TMP/$SRCNAM-$SRCVER/packages/gpl-3.0.txt \ diff --git a/audio/Pd-extended/Pd-extended_libquicktime122.patch b/audio/Pd-extended/Pd-extended_libquicktime122.patch new file mode 100644 index 0000000000..e12d38ebdc --- /dev/null +++ b/audio/Pd-extended/Pd-extended_libquicktime122.patch @@ -0,0 +1,13 @@ +--- Pd-0.42.5-extended/externals/pidip/configure.ac 2010-08-14 21:02:57.000000000 -0300 ++++ Pd-0.42.5-extended_patched/externals/pidip/configure.ac 2011-04-04 01:59:43.000000000 -0300 +@@ -148,8 +148,8 @@ + AC_CHECK_LIB(theora, theora_encode_init, , AC_MSG_ERROR(theora library needed! sorry...), -lm) + AC_CHECK_LIB(quicktime, lqt_decode_video, , AC_MSG_ERROR(libquicktime not found) ) + +-qt_minor_version="`lqt-config --version | cut -f3 -d'.'`" +-qt_major_version="`lqt-config --version | cut -f1 -d'.'`" ++qt_minor_version="`pkg-config --modversion libquicktime | cut -f3 -d'.'`" ++qt_major_version="`pkg-config --modversion libquicktime | cut -f1 -d'.'`" + echo "qt version minor : ${qt_minor_version} major : ${qt_major_version}" + if test ${qt_minor_version} == "8"; + then diff --git a/audio/Pd-extended/slack-desc b/audio/Pd-extended/slack-desc index fa166c7258..262c1c8d0a 100644 --- a/audio/Pd-extended/slack-desc +++ b/audio/Pd-extended/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler------------------------------------------------------| + |-----handy-ruler------------------------------------------------------| Pd-extended: Pd-extended (real-time audio processing) Pd-extended: Pd-extended: Pd-extended (Pure Data, by Miller Puckette) is a real-time |