wok-6.x view avidemux/receipt @ rev 21896
updated seamonkey (2.46 -> 2.49.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 17:09:38 2019 +0100 (2019-10-03) |
parents | 7f39549720b8 |
children | 9af0e03b8ad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="avidemux"
4 VERSION="2.5.6"
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="http://download.berlios.de/$PACKAGE/$TARBALL"
12 TAGS="video movie editor avi mpeg mp4"
14 DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis gtk+ \
15 opencore-amr lame faac faad2 libsamplerate xvidcore x264"
16 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \
17 gettext pkg-config 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 gtk+-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp ||
25 # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \
26 # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp
27 mkdir built
28 cd built
29 cmake -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DCMAKE_SKIP_RPATH=ON \
32 -DGTK=1 \
33 -DQT4=0 \
34 .. &&
35 make -j 1 && make -j1 DESTDIR=$DESTDIR install
37 cd $src/built/lib
38 find ../avidemux -name '*.so*' | xargs ln -sft .
39 cd $src/plugins
40 mkdir build ; cd build
41 cmake -D CMAKE_INSTALL_PREFIX=/usr \
42 -D AVIDEMUX_SOURCE_DIR="${src}" \
43 -D AVIDEMUX_CORECONFIG_DIR="${src}/built/config" \
44 -D AVIDEMUX_INSTALL_PREFIX="${src}/built" \
45 -D CMAKE_BUILD_TYPE=Release \
46 -DCMAKE_SKIP_RPATH=ON \
47 .. &&
48 make -j 1 && make -j1 DESTDIR=$DESTDIR install
50 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications
51 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png
52 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications
53 rm -rf $src/built $src/plugins/build
55 cook_pick_manpages $src/man/avidemux.1
56 }
58 # Rules to gen a SliTaz package suitable for Tazpkg.
59 genpkg_rules()
60 {
61 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications
62 cp -a $install/usr/bin $fs/usr
63 cp -a $install/usr/lib $fs/usr
64 cp -a $install/usr/share/ADM_scripts $fs/usr/share
65 }