wok-next rev 20001
Up qps, avidemux
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:11:14 2017 +0200 (2017-10-20) |
parents | f31065ec4855 |
children | fa183ed54df9 |
files | avidemux/receipt qps/receipt |
line diff
1.1 --- a/avidemux/receipt Fri Oct 20 21:57:15 2017 +0200 1.2 +++ b/avidemux/receipt Fri Oct 20 23:11:14 2017 +0200 1.3 @@ -1,56 +1,36 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="avidemux" 1.7 -VERSION="2.5.6" 1.8 +VERSION="2.7.0" 1.9 CATEGORY="multimedia" 1.10 SHORT_DESC="free video editor" 1.11 MAINTAINER="allan316@gmail.com" 1.12 LICENSE="GPL2" 1.13 WEB_SITE="http://fixounet.free.fr/$PACKAGE" 1.14 TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.15 -WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" 1.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.17 TAGS="video movie editor avi mpeg mp4" 1.18 1.19 -DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis gtk+ \ 1.20 +DEPENDS="alsa-lib libxml2 xorg-libXv cairo libxslt libvpx libvorbis qt5-base \ 1.21 opencore-amr lame faac faad2 libsamplerate xvidcore x264" 1.22 BUILD_DEPENDS="tar coreutils-file-special coreutils-file-format cmake yasm \ 1.23 gettext pkg-config xorg-libXv-dev libxml2-dev libvorbis-dev lame-dev xvidcore-dev \ 1.24 opencore-amr-dev x264-dev faac-dev faad2-dev libsamplerate-dev alsa-lib-dev \ 1.25 -libxslt-dev libvpx-dev gtk+-dev" 1.26 +libxslt-dev libvpx-dev bash qt5-dev xorg-dev zlib-dev mesa17-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 { 1.31 - # grep -q ADM_CPU_X86_64 avidemux/ADM*/src/ADM_vidField[sA]*.cpp || 1.32 - # sed -i 's/ADM_CPU_X86/ADM_CPU_X86_64/' \ 1.33 - # avidemux/ADM_coreImage/src/ADM_vidField[sA]*.cpp 1.34 - mkdir built 1.35 - cd built 1.36 - cmake -DCMAKE_INSTALL_PREFIX=/usr \ 1.37 - -DCMAKE_BUILD_TYPE=Release \ 1.38 - -DCMAKE_SKIP_RPATH=ON \ 1.39 - -DGTK=1 \ 1.40 - -DQT4=0 \ 1.41 - .. && 1.42 - make -j 1 && make -j1 DESTDIR=$DESTDIR install 1.43 - 1.44 - cd $src/built/lib 1.45 - find ../avidemux -name '*.so*' | xargs ln -sft . 1.46 - cd $src/plugins 1.47 - mkdir build ; cd build 1.48 - cmake -D CMAKE_INSTALL_PREFIX=/usr \ 1.49 - -D AVIDEMUX_SOURCE_DIR="${src}" \ 1.50 - -D AVIDEMUX_CORECONFIG_DIR="${src}/built/config" \ 1.51 - -D AVIDEMUX_INSTALL_PREFIX="${src}/built" \ 1.52 - -D CMAKE_BUILD_TYPE=Release \ 1.53 - -DCMAKE_SKIP_RPATH=ON \ 1.54 - .. && 1.55 - make -j 1 && make -j1 DESTDIR=$DESTDIR install 1.56 - 1.57 + sed -i 's|../avidemux/qt4|../avidemux/qt4 -DLRELEASE_EXECUTABLE=/usr/bin/lrelease-qt5|' bootStrap.bash 1.58 + sed -ri 's|(Name=).*|\1avidemux (Qt)|' avidemux2.desktop 1.59 + sed -ri 's|(Exec=).*|\1avidemux3_qt5|' avidemux2.desktop 1.60 + bash bootStrap.bash --with-core --with-cli --with-plugins 1.61 + for i in Cli Core PluginsCLI PluginsCommon Qt5 PluginsQt5; do 1.62 + make -C build${i} DESTDIR="$DESTDIR" install 1.63 + done 1.64 mkdir -p $DESTDIR/usr/share/pixmaps $DESTDIR/usr/share/applications 1.65 cp $src/avidemux_icon.png $DESTDIR/usr/share/pixmaps/avidemux.png 1.66 cp $src/avidemux2.desktop $DESTDIR/usr/share/applications 1.67 - rm -rf $src/built $src/plugins/build 1.68 1.69 cook_pick_manpages $src/man/avidemux.1 1.70 }
2.1 --- a/qps/receipt Fri Oct 20 21:57:15 2017 +0200 2.2 +++ b/qps/receipt Fri Oct 20 23:11:14 2017 +0200 2.3 @@ -11,7 +11,7 @@ 2.4 WGET_URL="${WEB_SITE}/releases/download/$VERSION/$TARBALL" 2.5 2.6 DEPENDS="qt5-base qt5-x11extras" 2.7 -BUILD_DEPENDS="qt5-dev xorg-dev zlib-dev" 2.8 +BUILD_DEPENDS="qt5-dev xorg-dev zlib-dev cmake mesa17-dev" 2.9 2.10 # Rules to configure and make the package. 2.11 compile_rules()