summaryrefslogtreecommitdiffstats
path: root/extra/avidemux/Pkgfile
diff options
context:
space:
mode:
authorlesibel <lesibel@free.fr>2009-11-14 11:37:46 +0100
committerlesibel <lesibel@free.fr>2009-11-14 11:37:46 +0100
commit25f4e3fa030cb3c518395045d20f669bddab1893 (patch)
tree784bb9ba5fd4a8cde1abeaa63e024961fb9ed955 /extra/avidemux/Pkgfile
parentb441d15c46a6784ff0e031400e74d115aadf9ac0 (diff)
downloadnutyx-extra-25f4e3fa030cb3c518395045d20f669bddab1893.tar.gz
nutyx-extra-25f4e3fa030cb3c518395045d20f669bddab1893.tar.bz2
nutyx-extra-25f4e3fa030cb3c518395045d20f669bddab1893.tar.xz
nutyx-extra-25f4e3fa030cb3c518395045d20f669bddab1893.zip
Maj de avidemux#2.5.1-2 ajout des plugins
Diffstat (limited to 'extra/avidemux/Pkgfile')
-rw-r--r--extra/avidemux/Pkgfile21
1 files changed, 19 insertions, 2 deletions
diff --git a/extra/avidemux/Pkgfile b/extra/avidemux/Pkgfile
index 2b7b93c21..0d8e4aa12 100644
--- a/extra/avidemux/Pkgfile
+++ b/extra/avidemux/Pkgfile
@@ -6,7 +6,7 @@
name=avidemux
version=2.5.1
-release=1
+release=2
source=(http://download.berlios.de/avidemux/avidemux_$version.tar.gz avidemux-2.5-i18n.patch)
build()
@@ -18,7 +18,24 @@ 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
+}