summaryrefslogtreecommitdiff
path: root/multimedia/avidemux/avidemux.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2010-05-19 01:53:52 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-05-19 01:53:52 -0400
commit49e6340cd8b5eafa0621caca6c962fecba7f5a39 (patch)
treee008790b89c2f8158c93b305cb297c0a2b03c36b /multimedia/avidemux/avidemux.SlackBuild
parent2154de06106de52c506a134cab53f3cfe8ce57e6 (diff)
downloadslackbuilds-49e6340cd8b5eafa0621caca6c962fecba7f5a39.tar.gz
multimedia/avidemux: Updated for version 2.5.2.
Diffstat (limited to 'multimedia/avidemux/avidemux.SlackBuild')
-rw-r--r--multimedia/avidemux/avidemux.SlackBuild30
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