wok-next view qtav/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
parents | 5669e8b3be70 |
children |
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 libxv-dev \
15 libva-dev mesa-dev sdl2-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 libx11 libxext libxv"
48 ;;
49 esac
50 }