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