wok-current annotate avidemux/receipt @ rev 15268
libxml2, libxslt: remove wrong error trigger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 11:39:47 2013 +0000 (2013-09-25) |
parents | a7b54d88ae54 |
children | f0abc67d78c1 |
rev | line source |
---|---|
allan316@3201 | 1 # SliTaz package receipt. |
allan316@3201 | 2 |
allan316@3201 | 3 PACKAGE="avidemux" |
slaxemulator@12867 | 4 VERSION="2.5.6" |
allan316@3201 | 5 CATEGORY="multimedia" |
allan316@3201 | 6 SHORT_DESC="free video editor" |
allan316@3201 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
al@14789 | 9 WEB_SITE="http://fixounet.free.fr/$PACKAGE" |
slaxemulator@12867 | 10 TARBALL="${PACKAGE}_${VERSION}.tar.gz" |
allan316@3201 | 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
jozee@3564 | 12 TAGS="video movie editor avi mpeg mp4" |
allan316@3201 | 13 |
slaxemulator@12867 | 14 DEPENDS="libsdl alsa-lib libsdl-gfx libxml2 xorg-libXv gtk+ cairo libQtGui" |
slaxemulator@12867 | 15 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \ |
pascal@12872 | 16 gettext pkg-config zlib-dev bzip2 patch libxml2-dev" |
slaxemulator@12867 | 17 |
allan316@3201 | 18 # Rules to configure and make the package. |
allan316@3201 | 19 compile_rules() |
allan316@3201 | 20 { |
allan316@3201 | 21 cd $src |
slaxemulator@8713 | 22 grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || |
pascal@5607 | 23 sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ |
slaxemulator@8713 | 24 avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp |
pascal@4303 | 25 mkdir built |
pascal@4303 | 26 cd built |
slaxemulator@8713 | 27 cmake -DCMAKE_INSTALL_PREFIX=/usr ../ |
pascal@6656 | 28 sed -i 's/\(find .*\) | xargs ln -sft/- ln -sf $(\1)/' \ |
pascal@5443 | 29 avidemux/CMakeFiles/ffmpeg.dir/build.make |
slaxemulator@12867 | 30 make -j 1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@8713 | 31 |
slaxemulator@8713 | 32 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications |
al@14789 | 33 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png |
al@14789 | 34 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications |
allan316@3201 | 35 } |
allan316@3201 | 36 |
allan316@3201 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3201 | 38 genpkg_rules() |
allan316@3201 | 39 { |
slaxemulator@5385 | 40 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications |
al@14789 | 41 cp -a $install/usr/bin $fs/usr |
al@14789 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14789 | 43 cp -a $install/usr/share/ADM_scripts $fs/usr/share |
slaxemulator@8713 | 44 |
allan316@3201 | 45 } |