wok-next diff 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 |
line diff
1.1 --- a/avidemux/receipt Wed Dec 10 22:58:56 2014 +0100 1.2 +++ b/avidemux/receipt Sun Feb 15 12:47:13 2015 +0000 1.3 @@ -11,29 +11,47 @@ 1.4 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.5 TAGS="video movie editor avi mpeg mp4" 1.6 1.7 -DEPENDS="libsdl alsa-lib libsdl-gfx libxml2 xorg-libXv gtk+ cairo libQtGui \ 1.8 -libxslt libvpx" 1.9 +DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis gtk+ \ 1.10 +opencore-amr lame faac faad2 libsamplerate xvidcore x264" 1.11 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \ 1.12 -gettext pkg-config zlib-dev bzip2 patch libxml2-dev Qt4-dev qmake \ 1.13 +gettext pkg-config xorg-libXv-dev libxml2-dev libvorbis-dev lame-dev xvidcore-dev \ 1.14 +opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \ 1.15 libxslt-dev libvpx-dev gtk+-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 - grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || 1.22 - sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ 1.23 - avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp 1.24 + # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || 1.25 + # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ 1.26 + # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp 1.27 mkdir built 1.28 cd built 1.29 - cmake -DCMAKE_INSTALL_PREFIX=/usr ../ 1.30 - sed -i 's/\(find .*\) | xargs ln -sft/- ln -sf $(\1)/' \ 1.31 - avidemux/CMakeFiles/ffmpeg.dir/build.make 1.32 + cmake -DCMAKE_INSTALL_PREFIX=/usr \ 1.33 + -DCMAKE_BUILD_TYPE=Release \ 1.34 + -DCMAKE_SKIP_RPATH=ON \ 1.35 + -DGTK=1 \ 1.36 + -DQT4=0 \ 1.37 + .. && 1.38 + make -j 1 && make -j1 DESTDIR=$DESTDIR install 1.39 + 1.40 + cd $src/built/lib 1.41 + find ../avidemux -name '*.so*' | xargs ln -sft . 1.42 + cd $src/plugins 1.43 + mkdir build ; cd build 1.44 + cmake -D CMAKE_INSTALL_PREFIX=/usr \ 1.45 + -D AVIDEMUX_SOURCE_DIR="${src}" \ 1.46 + -D AVIDEMUX_CORECONFIG_DIR="${src}/built/config" \ 1.47 + -D AVIDEMUX_INSTALL_PREFIX="${src}/built" \ 1.48 + -D CMAKE_BUILD_TYPE=Release \ 1.49 + -DCMAKE_SKIP_RPATH=ON \ 1.50 + .. && 1.51 make -j 1 && make -j1 DESTDIR=$DESTDIR install 1.52 1.53 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications 1.54 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png 1.55 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications 1.56 + rm -rf $src/built $src/plugins/build 1.57 } 1.58 1.59 # Rules to gen a SliTaz package suitable for Tazpkg. 1.60 @@ -41,7 +59,7 @@ 1.61 { 1.62 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/share/applications 1.63 cp -a $install/usr/bin $fs/usr 1.64 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.65 + cp -a $install/usr/lib $fs/usr 1.66 cp -a $install/usr/share/ADM_scripts $fs/usr/share 1.67 1.68 }