wok-current view phonon-backend-gstreamer/receipt @ rev 24922

updated mpfr and mpfr-dev (4.0.2 -> 4.1.0)
author Hans-G?nter Theisgen
date Mon Apr 11 07:23:35 2022 +0100 (2022-04-11)
parents f7dd6559d610
children bd7510903310
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://github.com/KDE/phonon"
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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - $WEB_SITE/tags 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
24 }
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \
30 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \
31 -DCMAKE_INSTALL_LIBDIR=lib \
32 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON .. &&
33 make && make DESTDIR=$DESTDIR install
34 }
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -fr $fs/usr/share/icons
39 mkdir -p $fs/usr/lib/qt/plugins
40 ln -s /usr/lib/kde4/plugins/phonon_backend $fs/usr/lib/qt/plugins/
41 }