wok-next view phonon/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="phonon"
4 VERSION="4.7.2"
5 CATEGORY="libs"
6 SHORT_DESC="KDE libphonon"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://phonon.kde.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_SKIP_RPATH=ON \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
26 -DCMAKE_INSTALL_LIBDIR=lib \
27 .. &&
28 make &&
29 make DESTDIR=$install install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 phonon)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/lib* $fs/usr/lib
37 DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
38 ;;
39 *-dev)
40 cp -a $install/* $fs
41 rm -f $fs/usr/lib/lib*
42 ;;
43 esac
44 }