wok-6.x view phonon-vlc/receipt @ rev 24448

firefox-official*: disable update by policy
author Hans-G?nter Theisgen
date Tue Feb 15 10:43:08 2022 +0100 (2022-02-15)
parents 5ea0ce1cecc0
children
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*}/tags 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 }