wok-next annotate qtav/receipt @ rev 21117
exo: split "libpkg - pkg - pkg-dev", update in dependent packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 14 00:27:10 2019 +0200 (2019-01-14) |
parents | 5669e8b3be70 |
children |
rev | line source |
---|---|
al@20237 | 1 # SliTaz package receipt v2. |
al@20237 | 2 |
al@20237 | 3 PACKAGE="qtav" |
al@20237 | 4 VERSION="1.12.0" |
al@20237 | 5 CATEGORY="multimedia" |
al@20237 | 6 SHORT_DESC="Multimedia playback framework based on Qt and FFmpeg" |
al@20237 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20237 | 8 LICENSE="LGPL2.1 GPL3" |
al@20237 | 9 WEB_SITE="http://www.qtav.org/" |
al@20237 | 10 |
al@20237 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20237 | 12 WGET_URL="https://github.com/wang-bin/QtAV/archive/v$VERSION.tar.gz" |
al@20237 | 13 |
al@21078 | 14 BUILD_DEPENDS="qt5-dev ffmpeg-dev openal-dev pulseaudio-dev libxv-dev \ |
al@21087 | 15 libva-dev mesa-dev sdl2-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev $PACKAGE-player $PACKAGE-qmlplayer $PACKAGE" |
al@20237 | 17 |
al@20237 | 18 compile_rules() { |
al@20237 | 19 mkdir build |
al@20237 | 20 cd build |
al@20237 | 21 qmake \ |
al@20237 | 22 PREFIX=/usr \ |
al@20237 | 23 .. && |
al@20237 | 24 make && |
al@20237 | 25 make INSTALL_ROOT=$install install || return 1 |
al@20237 | 26 } |
al@20237 | 27 |
al@20237 | 28 genpkg_rules() { |
al@20237 | 29 COOKOPTS="!menus" |
al@20237 | 30 case $PACKAGE in |
al@20237 | 31 *-dev) |
al@20237 | 32 copy @dev *.prl *.prf qmldir |
al@20237 | 33 ;; |
al@20237 | 34 qtav-player) |
al@20237 | 35 copy Player Player.desktop |
al@20237 | 36 CAT="multimedia|QtAV multimedia player" |
al@20237 | 37 DEPENDS="qtav qt5-svg" |
al@20237 | 38 ;; |
al@20237 | 39 qtav-qmlplayer) |
al@20237 | 40 copy QMLPlayer QMLPlayer.desktop qml/ @rm |
al@20237 | 41 CAT="multimedia|QtAV QML multimedia player" |
al@20237 | 42 DEPENDS="qtav qt5-declarative" |
al@20237 | 43 ;; |
al@20237 | 44 qtav) |
al@20237 | 45 copy @std @rm |
al@20502 | 46 DEPENDS="ffmpeg libass libatomic libva mesa openal pulseaudio \ |
al@21078 | 47 qt5-base libx11 libxext libxv" |
al@20237 | 48 ;; |
al@20237 | 49 esac |
al@20237 | 50 } |