diff options
author | Niels Horn <niels.horn@slackbuilds.org> | 2011-04-04 02:21:47 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-04-04 02:21:47 -0300 |
commit | c8cec2ab0eb2566016b2df074ac3b92e307655fa (patch) | |
tree | 1e3d192e9477dcdca2da18e941bbfd803492650c /audio/Pd-extended | |
parent | 7a1bcf8554db16ee2ee2b23d9cb32b1f5de84a3a (diff) |
audio/Pd-extended: Patched for new libquicktime
The new libquicktime does not have lqt-config.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/Pd-extended')
-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 03021fa0374bf..238d93e04de70 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 0000000000000..e12d38ebdcba0 --- /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 fa166c7258fcd..262c1c8d0a845 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 |