wok-6.x view avidemux/receipt @ rev 16971
Up slitaz-configs-base (5.5.3): dbus-launch *-session
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Aug 04 21:47:29 2014 +0200 (2014-08-04) |
parents | a7b54d88ae54 |
children | f0abc67d78c1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="avidemux"
4 VERSION="2.5.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="free video editor"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://fixounet.free.fr/$PACKAGE"
10 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
12 TAGS="video movie editor avi mpeg mp4"
14 DEPENDS="libsdl alsa-lib libsdl-gfx libxml2 xorg-libXv gtk+ cairo libQtGui"
15 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \
16 gettext pkg-config zlib-dev bzip2 patch libxml2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp ||
23 sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \
24 avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp
25 mkdir built
26 cd built
27 cmake -DCMAKE_INSTALL_PREFIX=/usr ../
28 sed -i 's/\(find .*\) | xargs ln -sft/- ln -sf $(\1)/' \
29 avidemux/CMakeFiles/ffmpeg.dir/build.make
30 make -j 1 && make -j1 DESTDIR=$DESTDIR install
32 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
33 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
34 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/share/ADM_scripts $fs/usr/share
45 }