wok-current annotate avidemux/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | 11b5e93cb5f2 |
children |
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" |
al@19275 | 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 |
pascal@24373 | 21 # What is the latest version available today? |
pascal@24373 | 22 current_version() |
pascal@24373 | 23 { |
pascal@24373 | 24 wget -O - http://avidemux.sourceforge.net/download.html 2>/dev/null | \ |
pascal@24373 | 25 sed '/tar.gz/!d;s|.*mux_||;s|.tar.*||;q' |
pascal@24373 | 26 } |
pascal@24373 | 27 |
allan316@3201 | 28 # Rules to configure and make the package. |
allan316@3201 | 29 compile_rules() |
allan316@3201 | 30 { |
psychomaniak@17445 | 31 # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || |
psychomaniak@17445 | 32 # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ |
psychomaniak@17445 | 33 # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp |
pascal@4303 | 34 mkdir built |
pascal@4303 | 35 cd built |
psychomaniak@17445 | 36 cmake -DCMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@17445 | 37 -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@17445 | 38 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@17445 | 39 -DGTK=1 \ |
psychomaniak@17445 | 40 -DQT4=0 \ |
psychomaniak@17445 | 41 .. && |
psychomaniak@17445 | 42 make -j 1 && make -j1 DESTDIR=$DESTDIR install |
psychomaniak@17445 | 43 |
psychomaniak@17445 | 44 cd $src/built/lib |
psychomaniak@17445 | 45 find ../avidemux -name '*.so*' | xargs ln -sft . |
psychomaniak@17445 | 46 cd $src/plugins |
psychomaniak@17445 | 47 mkdir build ; cd build |
psychomaniak@17445 | 48 cmake -D CMAKE_INSTALL_PREFIX=/usr \ |
psychomaniak@17445 | 49 -D AVIDEMUX_SOURCE_DIR="${src}" \ |
psychomaniak@17445 | 50 -D AVIDEMUX_CORECONFIG_DIR="${src}/built/config" \ |
psychomaniak@17445 | 51 -D AVIDEMUX_INSTALL_PREFIX="${src}/built" \ |
psychomaniak@17445 | 52 -D CMAKE_BUILD_TYPE=Release \ |
psychomaniak@17445 | 53 -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@17445 | 54 .. && |
slaxemulator@12867 | 55 make -j 1 && make -j1 DESTDIR=$DESTDIR install |
slaxemulator@8713 | 56 |
slaxemulator@8713 | 57 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications |
al@14789 | 58 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png |
al@14789 | 59 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications |
psychomaniak@17445 | 60 rm -rf $src/built $src/plugins/build |
al@19269 | 61 |
al@19275 | 62 cook_pick_manpages $src/man/avidemux.1 |
allan316@3201 | 63 } |
allan316@3201 | 64 |
allan316@3201 | 65 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3201 | 66 genpkg_rules() |
allan316@3201 | 67 { |
slaxemulator@5385 | 68 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications |
al@14789 | 69 cp -a $install/usr/bin $fs/usr |
psychomaniak@17445 | 70 cp -a $install/usr/lib $fs/usr |
al@14789 | 71 cp -a $install/usr/share/ADM_scripts $fs/usr/share |
allan316@3201 | 72 } |