diff options
Diffstat (limited to 'multimedia/avidemux/avidemux.SlackBuild')
-rw-r--r-- | multimedia/avidemux/avidemux.SlackBuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/multimedia/avidemux/avidemux.SlackBuild b/multimedia/avidemux/avidemux.SlackBuild index 3794e37d57..c9856ac30b 100644 --- a/multimedia/avidemux/avidemux.SlackBuild +++ b/multimedia/avidemux/avidemux.SlackBuild @@ -26,7 +26,7 @@ # project will use in the future. No additional license terms added PRGNAM=avidemux -VERSION=${VERSION:-2.4.4} +VERSION=${VERSION:-2.5.2} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,16 +60,19 @@ chown -R root:root . chmod -R a-s,u+w,go+r-w . #Patch that installs i18n in the correct place even if we compile with qt4 support -zcat $CWD/avidemux-2.4.3-i18n.patch.gz | patch -p1 --verbose --backup --suffix=.orig +cat $CWD/avidemux-2.5.1-i18n.patch | patch -p1 --verbose --backup --suffix=.orig -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -cmake . \ - -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \ - -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" +mkdir build +cd build + + CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + cmake . \ + -DCMAKE_INSTALL_PREFIX:STRING="/usr" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL="TRUE" \ + -DLIB_SUFFIX:STRING="$LIBDIRSUFFIX" .. # Here are some valid options for cmake to build or not build against a dep # (for those who aren't very familiar with cmake) @@ -102,8 +105,9 @@ cmake . \ # gtk || -DNO_GTK:BOOL= # qt4 || -DNO_QT4:BOOL= -make -make DESTDIR=$PKG install/strip + 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 @@ -119,7 +123,7 @@ sed -i 's/GTK+/Qt/g' $PKG/usr/share/applications/avidemux2-qt.desktop sed -i 's/GTK/Qt/' $PKG/usr/share/applications/avidemux2-qt.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING History INSTALL README TODO \ +cp -a AUTHORS COPYING README TODO \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |