diff options
author | Matteo Bernardini <matteo.bernardini@sns.it> | 2010-05-29 11:58:47 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-01 00:12:33 -0500 |
commit | f313061cf59d74ab3c67e4286d6907a6cda2b764 (patch) | |
tree | b594d2d098dae58890e14a9a37604ff3e6536530 /multimedia/avidemux | |
parent | 22bc6f375548953d3eb5bdd5ef183bea2a364c33 (diff) |
multimedia/avidemux: Miscellaneous fixes.
* Fixed md5sum in avidemux.info
* Added AlienBOB's fix for x86_64 paths and plugins build code
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r-- | multimedia/avidemux/avidemux.SlackBuild | 22 | ||||
-rw-r--r-- | multimedia/avidemux/avidemux.info | 4 |
2 files changed, 24 insertions, 2 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index b05768d068b5..9ab8f6678dfc 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -74,6 +74,11 @@ chmod -R a-s,u+w,go+r-w . #Patch that installs i18n in the correct place even if we compile with qt4 support cat $CWD/avidemux-2.5.1-i18n.patch | patch -p1 --verbose --backup --suffix=.orig +if [ "$ARCH" = "x86_64" ]; then + # Some paths are incorrectly hardcoded to "lib": + sed -i -e "s/Dir=\"lib\"/Dir=\"lib${LIBDIRSUFFIX}\"/" $(grep -lr 'Dir="lib"' .) +fi + mkdir build cd build @@ -121,6 +126,23 @@ cd build make DESTDIR=$PKG install/strip cd .. +mkdir -p build_plugins +cd build_plugins + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DSYSCONF_INSTALL_DIR=/etc \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DAVIDEMUX_SOURCE_DIR=$(cd .. ; pwd) \ + -DAVIDEMUX_CORECONFIG_DIR=$(cd .. ; pwd)/build/config \ + -DAVIDEMUX_INSTALL_PREFIX=$(cd .. ; pwd)/build \ + ../plugins + make + make DESTDIR=$PKG install/strip +cd - + mkdir -p $PKG/usr/man/man1 cat man/avidemux.1 | gzip -9c > $PKG/usr/man/man1/avidemux.1.gz diff --git a/multimedia/avidemux/avidemux.info b/multimedia/avidemux/avidemux.info index 4ed98917e274..8622274c64b5 100644 --- a/multimedia/avidemux/avidemux.info +++ b/multimedia/avidemux/avidemux.info @@ -3,8 +3,8 @@ VERSION="2.5.2" HOMEPAGE="http://avidemux.org" DOWNLOAD="http://downloads.sourceforge.net/avidemux/avidemux_2.5.2.tar.gz" DOWNLOAD_x86_64="" -MD5SUM="22467c9ea5476d94cbd505685b4c11e7" +MD5SUM="9027e1324c06e833e6c3c22298503cc7" MD5SUM_x86_64="" MAINTAINER="Niklas 'Nille' Åkerström" EMAIL="Nille.kungen[AT]gmail.com" -APPROVED="michiel" +APPROVED="" |