wok-next view avidemux/receipt @ rev 20727
python-gevent-psycopg2: fix error "urllib2.HTTPError: HTTP Error 403: SSL is required"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 28 15:32:33 2018 +0300 (2018-05-28) |
parents | c0521c689857 |
children | d5aab818505e |
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/$PACKAGE"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="video movie editor avi mpeg mp4"
14 DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis qt5-base \
15 opencore-amr lame faac faad2 libsamplerate xvidcore x264"
16 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \
17 gettext xorg-libXv-dev libxml2-dev libvorbis-dev lame-dev xvidcore-dev \
18 opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \
19 libxslt-dev libvpx-dev bash qt5-dev xorg-dev zlib-dev mesa-dev sqlite3-dev \
20 glu-dev fribidi-dev "
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash
26 sed -ri 's|(Name=).*|\1avidemux (Qt)|' avidemux2.desktop
27 sed -ri 's|(Exec=).*|\1avidemux3_qt5|' avidemux2.desktop
28 sed 's/pkg_check_modules(PULSEAUDIOSIMPLE libpulse-simple)//' -i cmake/admCheckAudioDeviceLibs.cmake
29 sed 's|$EXTRA_CMAKE_DEFS|& -DVAPOURSYNTH=false -DFAAD=false -DFRIBIDI=false |' -i bootStrap.bash
30 bash bootStrap.bash --with-core --with-cli --with-plugins 2>/dev/null
31 for i in Cli Core PluginsCLI PluginsCommon Qt5 PluginsQt5; do
32 ( make -C build${i} DESTDIR="$DESTDIR" install 2>/dev/null) | \
33 egrep -v 'No package|ld returned 1 exit status'
34 done
35 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
36 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
37 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications
39 cook_pick_manpages $src/man/avidemux.1
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 }