summaryrefslogtreecommitdiffstats
path: root/extra/avidemux/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-07-10 22:34:22 +0200
committersibel <lesibel at free dot fr>2010-07-10 22:34:22 +0200
commit0c29fe3f037f4efd648e6f81a2616035e07ffe56 (patch)
tree6320f9bdfdbf1aa79f486faeee2a1e6587bfd653 /extra/avidemux/Pkgfile
parent021e0b8fc9700fcff39f608b1edadfdc58ec1d4c (diff)
parent808f2673ec3058e02d186974aa4fe6c1a1f2da35 (diff)
downloadnutyx-extra-0c29fe3f037f4efd648e6f81a2616035e07ffe56.tar.gz
nutyx-extra-0c29fe3f037f4efd648e6f81a2616035e07ffe56.tar.bz2
nutyx-extra-0c29fe3f037f4efd648e6f81a2616035e07ffe56.tar.xz
nutyx-extra-0c29fe3f037f4efd648e6f81a2616035e07ffe56.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'extra/avidemux/Pkgfile')
-rw-r--r--extra/avidemux/Pkgfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/extra/avidemux/Pkgfile b/extra/avidemux/Pkgfile
new file mode 100644
index 000000000..a52a0a7bc
--- /dev/null
+++ b/extra/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.3
+release=1
+source=(http://download.berlios.de/avidemux/avidemux_$version.tar.gz 2.5.3_field_asm_fix.diff)
+
+build()
+{
+ cd ${name}_${version}
+ patch -Np1 -i ../2.5.3_field_asm_fix.diff
+ 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
+
+}