wok diff phonon-backend-gstreamer/receipt @ rev 20009

Add: description.txt and links revision.
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 03 05:22:36 2017 -0300 (2017-08-03)
parents
children 6135577f4d08
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/phonon-backend-gstreamer/receipt	Thu Aug 03 05:22:36 2017 -0300
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="phonon-backend-gstreamer"
     1.7 +VERSION="4.7.2"
     1.8 +CATEGORY="multimedia"
     1.9 +LICENSE="LGPL2.1"
    1.10 +SHORT_DESC="gstreamer lib for phonon"
    1.11 +MAINTAINER="psychomaniak@xakep.ru"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="http://phonon.kde.org/"
    1.14 +WGET_URL="http://download.kde.org/stable/phonon/$PACKAGE/$VERSION/src/$TARBALL"
    1.15 +
    1.16 +DEPENDS="phonon gst-plugins-base gst-plugins-good gst-ffmpeg"
    1.17 +BUILD_DEPENDS="phonon phonon-dev cmake qmake automoc4 Qt4-dev \
    1.18 +gst-plugins-base gst-plugins-base-dev"
    1.19 +
    1.20 +PROVIDE="qt4-phonon"
    1.21 +
    1.22 +compile_rules()
    1.23 +{
    1.24 +	mkdir build; cd build
    1.25 +	cmake	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
    1.26 +		-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
    1.27 +		-DCMAKE_INSTALL_LIBDIR=lib \
    1.28 +		-DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON .. &&
    1.29 +	make && make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/* $fs
    1.34 +	rm -fr $fs/usr/share/icons
    1.35 +	mkdir -p $fs/usr/lib/qt/plugins
    1.36 +	ln -s /usr/lib/kde4/plugins/phonon_backend $fs/usr/lib/qt/plugins/
    1.37 +}