wok-current view avidemux/receipt @ rev 13581

Autofs: copy content to proper paths
author Claudinei Pereira <claudinei@slitaz.org>
date Tue Nov 06 01:33:15 2012 -0200 (2012-11-06)
parents 71f2fec8fdc4
children a7b54d88ae54
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 TARBALL="${PACKAGE}_${VERSION}.tar.gz"
9 WEB_SITE="http://fixounet.free.fr/$PACKAGE"
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 -a $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
33 cp -a $src/avidemux2.desktop $DESTDIR/usr/share/applications/avidemux2.desktop
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 $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
42 cp -a $_pkg/usr/share/ADM_scripts $fs/usr/share
44 }