wok-next annotate avidemux/receipt @ rev 17662
Up: gettext 0.19.4
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Feb 15 12:47:13 2015 +0000 (2015-02-15) |
parents | 1f94f879d67c |
children | 7f39549720b8 |
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 |
psychomaniak@17445 | 14 DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis gtk+ \ |
psychomaniak@17445 | 15 opencore-amr lame faac faad2 libsamplerate xvidcore x264" |
slaxemulator@12867 | 16 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \ |
psychomaniak@17445 | 17 gettext pkg-config xorg-libXv-dev libxml2-dev libvorbis-dev lame-dev xvidcore-dev \ |
psychomaniak@17445 | 18 opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \ |
psychomaniak@17443 | 19 libxslt-dev libvpx-dev gtk+-dev" |
slaxemulator@12867 | 20 |
allan316@3201 | 21 # Rules to configure and make the package. |
allan316@3201 | 22 compile_rules() |
allan316@3201 | 23 { |
allan316@3201 | 24 cd $src |
psychomaniak@17445 | 25 # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || |
psychomaniak@17445 | 26 # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ |
psychomaniak@17445 | 27 # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp |
pascal@4303 | 28 mkdir built |
pascal@4303 | 29 cd built |
psychomaniak@17445 | 30 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@17445 | 31 -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@17445 | 32 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@17445 | 33 -DGTK=1 \ |
psychomaniak@17445 | 34 -DQT4=0 \ |
psychomaniak@17445 | 35 .. && |
psychomaniak@17445 | 36 make -j 1 && make -j1 DESTDIR=$DESTDIR install |
psychomaniak@17445 | 37 |
psychomaniak@17445 | 38 cd $src/built/lib |
psychomaniak@17445 | 39 find ../avidemux -name '*.so*' | xargs ln -sft . |
psychomaniak@17445 | 40 cd $src/plugins |
psychomaniak@17445 | 41 mkdir build ; cd build |
psychomaniak@17445 | 42 cmake -D CMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@17445 | 43 -D AVIDEMUX_SOURCE_DIR="${src}" \ |
psychomaniak@17445 | 44 -D AVIDEMUX_CORECONFIG_DIR="${src}/built/config" \ |
psychomaniak@17445 | 45 -D AVIDEMUX_INSTALL_PREFIX="${src}/built" \ |
psychomaniak@17445 | 46 -D CMAKE_BUILD_TYPE=Release \ |
psychomaniak@17445 | 47 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@17445 | 48 .. && |
slaxemulator@12867 | 49 make -j 1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@8713 | 50 |
slaxemulator@8713 | 51 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications |
al@14789 | 52 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png |
al@14789 | 53 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications |
psychomaniak@17445 | 54 rm -rf $src/built $src/plugins/build |
allan316@3201 | 55 } |
allan316@3201 | 56 |
allan316@3201 | 57 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3201 | 58 genpkg_rules() |
allan316@3201 | 59 { |
slaxemulator@5385 | 60 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications |
al@14789 | 61 cp -a $install/usr/bin $fs/usr |
psychomaniak@17445 | 62 cp -a $install/usr/lib $fs/usr |
al@14789 | 63 cp -a $install/usr/share/ADM_scripts $fs/usr/share |
slaxemulator@8713 | 64 |
allan316@3201 | 65 } |