wok-next view qtav/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | c0521c689857 |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="qtav"
4 VERSION="1.12.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Multimedia playback framework based on Qt and FFmpeg"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1 GPL3"
9 WEB_SITE="http://www.qtav.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/wang-bin/QtAV/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="qt5-dev ffmpeg-dev openal-dev pulseaudio-dev xorg-libXv-dev \
15 libva-dev mesa-dev libsdl2-dev"
16 SPLIT="$PACKAGE-dev $PACKAGE-player $PACKAGE-qmlplayer $PACKAGE"
18 compile_rules() {
19 mkdir build
20 cd build
21 qmake \
22 PREFIX=/usr \
23 .. &&
24 make &&
25 make INSTALL_ROOT=$install install || return 1
26 }
28 genpkg_rules() {
29 COOKOPTS="!menus"
30 case $PACKAGE in
31 *-dev)
32 copy @dev *.prl *.prf qmldir
33 ;;
34 qtav-player)
35 copy Player Player.desktop
36 CAT="multimedia|QtAV multimedia player"
37 DEPENDS="qtav qt5-svg"
38 ;;
39 qtav-qmlplayer)
40 copy QMLPlayer QMLPlayer.desktop qml/ @rm
41 CAT="multimedia|QtAV QML multimedia player"
42 DEPENDS="qtav qt5-declarative"
43 ;;
44 qtav)
45 copy @std @rm
46 DEPENDS="ffmpeg libass libatomic libva mesa openal pulseaudio \
47 qt5-base xorg-libX11 xorg-libXext xorg-libXv"
48 ;;
49 esac
50 }