wok diff phonon-vlc/receipt @ rev 18261

Up tazpkg(827): fix "ghost" packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Aug 05 03:51:17 2015 +0300 (2015-08-05)
parents
children 6135577f4d08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/phonon-vlc/receipt	Wed Aug 05 03:51:17 2015 +0300
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="phonon-vlc"
     1.7 +VERSION="0.8.2"
     1.8 +CATEGORY="libs"
     1.9 +SHORT_DESC="VLC backend for libphonon"
    1.10 +MAINTAINER="psychomaniak@xakep.ru"
    1.11 +LICENSE="LGPL2.1"
    1.12 +SOURCE="phonon-backend-vlc"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.xz"
    1.14 +WEB_SITE="http://phonon.kde.org/"
    1.15 +WGET_URL="http://download.kde.org/stable/phonon/$SOURCE/$VERSION/src/$TARBALL"
    1.16 +
    1.17 +DEPENDS="libQtCore libQtDBus libQtGui libQtXml phonon libvlc"
    1.18 +BUILD_DEPENDS="phonon cmake qmake automoc4 Qt4-dev libvlc-dev phonon-dev"
    1.19 +
    1.20 +compile_rules()
    1.21 +{
    1.22 +		mkdir build; cd build
    1.23 +	cmake \
    1.24 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.25 +		-DCMAKE_BUILD_TYPE=Release \
    1.26 +		-DCMAKE_SKIP_RPATH=ON \
    1.27 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.28 +		-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
    1.29 +		-DCMAKE_INSTALL_LIBDIR=lib \
    1.30 +		.. &&
    1.31 +	make &&
    1.32 +	make DESTDIR=$DESTDIR install
    1.33 +}
    1.34 +
    1.35 +genpkg_rules()
    1.36 +{
    1.37 +	cp -a $install/* $fs
    1.38 +	rm -rf $fs/usr/share
    1.39 +}