wok view avidemux/receipt @ rev 14920
Up: firefox-langpack-pt_BR (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:24:03 2013 +0000 (2013-08-06) |
parents | eea1dec0dd05 |
children | 380ffe05937a |
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 WEB_SITE="http://fixounet.free.fr/$PACKAGE"
9 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
11 TAGS="video movie editor avi mpeg mp4"
13 DEPENDS="libsdl alsa-lib libsdl-gfx libxml2 xorg-libXv gtk+ cairo libQtGui"
14 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \
15 gettext pkg-config zlib-dev bzip2 patch libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp ||
22 sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \
23 avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp
24 mkdir built
25 cd built
26 cmake -DCMAKE_INSTALL_PREFIX=/usr ../
27 sed -i 's/\(find .*\) | xargs ln -sft/- ln -sf $(\1)/' \
28 avidemux/CMakeFiles/ffmpeg.dir/build.make
29 make -j 1 && make -j1 DESTDIR=$DESTDIR install
31 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
32 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
33 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/share/ADM_scripts $fs/usr/share
44 }