wok-6.x view phonon-vlc/receipt @ rev 24193
updated perl-datetime (1.52 -> 1.55)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:48:34 2021 +0100 (2021-12-31) |
parents | f7dd6559d610 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="phonon-vlc"
4 VERSION="0.10.2"
5 CATEGORY="libs"
6 SHORT_DESC="VLC backend for libphonon"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/phonon/"
11 #SOURCE="phonon-backend-vlc"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/KDE/$PACKAGE/archive/v$VERSION.tar.gz"
15 DEPENDS="libQtCore libQtDBus libQtGui libQtXml libvlc phonon"
16 BUILD_DEPENDS="automoc4 cmake libvlc-dev phonon phonon-dev qmake Qt4-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 compile_rules()
25 {
26 mkdir build
27 cd build
28 cmake .. \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DCMAKE_SKIP_RPATH=ON \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DCMAKE_INSTALL_LIBDIR=lib &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 rm -rf $fs/usr/share
42 }