wok-current rev 17015

Add `phonon` that supports pulseadio
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Wed Aug 13 08:43:05 2014 +0200 (2014-08-13)
parents fef53f183a89
children e6eab2a29e8b
files phonon/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/phonon/receipt	Wed Aug 13 08:43:05 2014 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="phonon"
     1.7 +VERSION="4.7.2"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="kde libphonon"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="LGPL2.1"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="http://phonon.kde.org/"
    1.14 +WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS="cmake qmake automoc4 pulseaudio-dev Qt4-dev"
    1.18 +
    1.19 +compile_rules()
    1.20 +{
    1.21 +		mkdir build; cd build
    1.22 +	cmake \
    1.23 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.24 +		-DCMAKE_BUILD_TYPE=Release \
    1.25 +		-DCMAKE_SKIP_RPATH=ON \
    1.26 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.27 +		-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
    1.28 +		-DCMAKE_INSTALL_LIBDIR=lib \
    1.29 +		.. &&
    1.30 +	make &&
    1.31 +	make DESTDIR=$DESTDIR install
    1.32 +}
    1.33 +
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	cp -a $install/* $fs
    1.37 +}