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

guvcview: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 14:24:44 2019 +0200 (2019-08-10)
parents 9cb6a23202c2
children f7dd6559d610
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="https://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 }