wok view phonon-backend-gstreamer/receipt @ rev 20667

cookutils: patch to avoid parallel execution of pkgdb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 19 14:18:09 2019 +0200 (2019-01-19)
parents
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="phonon-backend-gstreamer"
4 VERSION="4.7.2"
5 CATEGORY="multimedia"
6 LICENSE="LGPL2.1"
7 SHORT_DESC="gstreamer lib for phonon"
8 MAINTAINER="psychomaniak@xakep.ru"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://phonon.kde.org/"
11 WGET_URL="http://download.kde.org/stable/phonon/$PACKAGE/$VERSION/src/$TARBALL"
13 DEPENDS="phonon gst-plugins-base gst-plugins-good gst-ffmpeg"
14 BUILD_DEPENDS="phonon phonon-dev cmake qmake automoc4 Qt4-dev \
15 gst-plugins-base gst-plugins-base-dev"
17 PROVIDE="qt4-phonon"
19 compile_rules()
20 {
21 mkdir build; cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON .. &&
26 make && make DESTDIR=$DESTDIR install
27 }
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 rm -fr $fs/usr/share/icons
32 mkdir -p $fs/usr/lib/qt/plugins
33 ln -s /usr/lib/kde4/plugins/phonon_backend $fs/usr/lib/qt/plugins/
34 }