wok view phonon-backend-gstreamer/receipt @ rev 25298
updated scrot (0.8-12 -> 1.7)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 07:03:07 2022 +0100 (2022-07-20) |
parents | b569b85b0fb9 |
children |
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="https://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 }