wok-next view avidemux/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="avidemux"
4 VERSION="2.7.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free video editor"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://fixounet.free.fr/avidemux/"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \
15 gettext-dev libxv-dev libxml2-dev libvorbis-dev lame-dev xvidcore-dev \
16 opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \
17 libxslt-dev libvpx-dev bash qt5-dev xorg-dev zlib-dev mesa-dev sqlite3-dev \
18 glu-dev fribidi-dev"
20 compile_rules() {
21 sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash
22 sed -ri 's|(Name=).*|\1avidemux (Qt)|' avidemux2.desktop
23 sed -ri 's|(Exec=).*|\1avidemux3_qt5|' avidemux2.desktop
24 sed 's/pkg_check_modules(PULSEAUDIOSIMPLE libpulse-simple)//' -i cmake/admCheckAudioDeviceLibs.cmake
25 sed 's|$EXTRA_CMAKE_DEFS|& -DVAPOURSYNTH=false -DFAAD=false -DFRIBIDI=false |' -i bootStrap.bash
26 bash bootStrap.bash --with-core --with-cli --with-plugins 2>/dev/null
27 for i in Cli Core PluginsCLI PluginsCommon Qt5 PluginsQt5; do
28 ( make -C build$i DESTDIR="$install" install 2>/dev/null) | \
29 egrep -v 'No package|ld returned 1 exit status'
30 done
31 mkdir -p $install/usr/share/pixmaps $install/usr/share/applications
32 cp $src/avidemux_icon.png $install/usr/share/pixmaps/avidemux.png
33 cp $src/avidemux2.desktop $install/usr/share/applications
35 cook_pick_manpages $src/man/avidemux.1
36 }
38 genpkg_rules() {
39 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 DEPENDS="alsa-lib libxml2 libxv libcairo libxslt libvpx libvorbis \
43 qt5-base opencore-amr lame faac faad2 libsamplerate xvidcore x264"
44 TAGS="video movie editor avi mpeg mp4"
45 }