summaryrefslogtreecommitdiffstats
path: root/test/avidemux/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-05-03 22:29:06 +0200
committertnut <thierryn1 at hispeed dot ch>2010-05-03 22:29:06 +0200
commit0a7d4d3281280fcad93483e479ce585c52f00631 (patch)
tree7b8fce2a59ca8d41e41cd7d942a48dafd47fa7f9 /test/avidemux/Pkgfile
parent0f1f4c72af832acb6763699a84395bf3a650cb7c (diff)
downloadnutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.gz
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.bz2
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.tar.xz
nutyx-extra-0a7d4d3281280fcad93483e479ce585c52f00631.zip
avidemux dans test
Diffstat (limited to 'test/avidemux/Pkgfile')
-rw-r--r--test/avidemux/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/test/avidemux/Pkgfile b/test/avidemux/Pkgfile
new file mode 100644
index 000000000..a1df30775
--- /dev/null
+++ b/test/avidemux/Pkgfile
@@ -0,0 +1,41 @@
+# Description: Editeur Video
+# URL: http://fixounet.free.fr/avidemux/
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: gtk, qt, faac, lame, libvorbis, xorg-libxv, libxml2, sdl, cmake, x264, xvid, avahi
+
+name=avidemux
+version=2.5.2
+release=2
+source=(http://download.berlios.de/avidemux/avidemux_$version.tar.gz avidemux-2.5-i18n.patch)
+
+build()
+{
+ cd ${name}_${version}
+ patch -p1 < ../avidemux-2.5-i18n.patch
+ mkdir build
+ cd build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release -D NO_GTK=0 -D NO_QT4=0 ..
+ make
+ make DESTDIR=$PKG install
+
+ mkdir -p lib
+ cd lib
+ find ../avidemux -name '*.so*' | xargs ln -sft . || return 1
+ cd ../../plugins
+ mkdir build
+ cd build
+ cmake -D CMAKE_INSTALL_PREFIX=/usr -D AVIDEMUX_SOURCE_DIR=$SRC/avidemux_$version \
+ -D AVIDEMUX_CORECONFIG_DIR=$SRC/avidemux_$version/build/config \
+ -D AVIDEMUX_INSTALL_PREFIX=$SRC/avidemux_$version/build -D CMAKE_BUILD_TYPE=Release ..
+ make
+ make DESTDIR=$PKG install
+
+ ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_xvid.so $PKG/usr/lib/libADM_vidEnc_xvid.so
+ ln -s /usr/lib/ADM_plugins/videoEncoder/libADM_vidEnc_x264.so $PKG/usr/lib/libADM_vidEnc_x264.so
+
+ install -D -m644 ../../avidemux_icon.png $PKG/usr/share/pixmaps/avidemux.png
+ install -D -m644 ../../avidemux2.desktop $PKG/usr/share/applications/avidemux.desktop
+# install -D -m644 ../../man/avidemux.1 $PKG/usr/share/man/man1/avidemux.1
+
+}