wok-next rev 20237
Add Qt5 applications: notes, qtav, miam-player
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 06 15:59:23 2017 +0200 (2017-11-06) |
parents | dc5d2db24887 |
children | c7f398777b0b |
files | miam-player/receipt notes/receipt qtav/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/miam-player/receipt Mon Nov 06 15:59:23 2017 +0200 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="miam-player" 1.7 +VERSION="0.8.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Open source music player" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="https://github.com/MBach/Miam-Player" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/MBach/Miam-Player/archive/v$VERSION.tar.gz" 1.16 + 1.17 +BUILD_DEPENDS="qt5-dev xorg-libX11-dev mesa17-dev taglib-dev qtav-dev \ 1.18 +libsdl2-dev" 1.19 + 1.20 +compile_rules() { 1.21 + mkdir build 1.22 + cd build 1.23 + qmake \ 1.24 + PREFIX=/usr \ 1.25 + .. && 1.26 + make && 1.27 + make INSTALL_ROOT=$install install || return 1 1.28 + 1.29 + sed -i '/Actions=/d; /TryExec=/d; /Path=/d' \ 1.30 + $install/usr/share/applications/miam-player.desktop 1.31 +} 1.32 + 1.33 +genpkg_rules() { 1.34 + copy @std icons/ # the only 64 icon 1.35 + DEPENDS="libatomic mesa17 qt5-base qt5-multimedia qt5-x11extras qtav taglib" 1.36 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/notes/receipt Mon Nov 06 15:59:23 2017 +0200 2.3 @@ -0,0 +1,35 @@ 2.4 +# SliTaz package receipt v2. 2.5 + 2.6 +PACKAGE="notes" 2.7 +VERSION="1.0.0" 2.8 +CATEGORY="text" 2.9 +SHORT_DESC="Note taking application, write down your thoughts" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +LICENSE="MPL2" 2.12 +WEB_SITE="http://www.get-notes.com/" 2.13 + 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 +WGET_URL="https://github.com/nuttyartist/notes/archive/v$VERSION.tar.gz" 2.16 + 2.17 +BUILD_DEPENDS="qt5-dev xorg-libxcb-dev xorg-libX11-dev mesa17-dev" 2.18 + 2.19 +compile_rules() { 2.20 + mkdir build 2.21 + cd build 2.22 + qmake \ 2.23 + PREFIX=/usr \ 2.24 + ../src && 2.25 + make && 2.26 + make INSTALL_ROOT=$install install || return 1 2.27 + 2.28 + install -Dm0644 $src/packaging/linux/common/notes.desktop \ 2.29 + $install/usr/share/applications/notes.desktop 2.30 + mkdir -p $install/usr/share/icons/hicolor 2.31 + cp -r $src/packaging/linux/common/icons/* $install/usr/share/icons/hicolor 2.32 +} 2.33 + 2.34 +genpkg_rules() { 2.35 + copy @std 2.36 + cook_copy_icons # only 16 and 48; svg is too huge 2.37 + DEPENDS="libatomic mesa17 qt5-base xorg-libX11" 2.38 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/qtav/receipt Mon Nov 06 15:59:23 2017 +0200 3.3 @@ -0,0 +1,50 @@ 3.4 +# SliTaz package receipt v2. 3.5 + 3.6 +PACKAGE="qtav" 3.7 +VERSION="1.12.0" 3.8 +CATEGORY="multimedia" 3.9 +SHORT_DESC="Multimedia playback framework based on Qt and FFmpeg" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +LICENSE="LGPL2.1 GPL3" 3.12 +WEB_SITE="http://www.qtav.org/" 3.13 + 3.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.15 +WGET_URL="https://github.com/wang-bin/QtAV/archive/v$VERSION.tar.gz" 3.16 + 3.17 +BUILD_DEPENDS="qt5-dev ffmpeg-dev openal-dev pulseaudio-dev xorg-libXv-dev \ 3.18 +libva-dev mesa17-dev libsdl2-dev" 3.19 +SPLIT="qtav-dev qtav-player qtav-qmlplayer qtav" 3.20 + 3.21 +compile_rules() { 3.22 + mkdir build 3.23 + cd build 3.24 + qmake \ 3.25 + PREFIX=/usr \ 3.26 + .. && 3.27 + make && 3.28 + make INSTALL_ROOT=$install install || return 1 3.29 +} 3.30 + 3.31 +genpkg_rules() { 3.32 + COOKOPTS="!menus" 3.33 + case $PACKAGE in 3.34 + *-dev) 3.35 + copy @dev *.prl *.prf qmldir 3.36 + ;; 3.37 + qtav-player) 3.38 + copy Player Player.desktop 3.39 + CAT="multimedia|QtAV multimedia player" 3.40 + DEPENDS="qtav qt5-svg" 3.41 + ;; 3.42 + qtav-qmlplayer) 3.43 + copy QMLPlayer QMLPlayer.desktop qml/ @rm 3.44 + CAT="multimedia|QtAV QML multimedia player" 3.45 + DEPENDS="qtav qt5-declarative" 3.46 + ;; 3.47 + qtav) 3.48 + copy @std @rm 3.49 + DEPENDS="ffmpeg libass libatomic libva mesa17 openal pulseaudio \ 3.50 + qt5-base xorg-libX11 xorg-libXext xorg-libXv" 3.51 + ;; 3.52 + esac 3.53 +}