wok-next view phonon/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 9e6ab147f6a3
children d5aab818505e
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="http://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="phonon-dev"
17 compile_rules() {
18 mkdir build; cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DCMAKE_BUILD_TYPE=Release \
22 -DCMAKE_SKIP_RPATH=ON \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
25 -DCMAKE_INSTALL_LIBDIR=lib \
26 .. &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 phonon)
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/lib* $fs/usr/lib
36 DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
37 ;;
38 *-dev)
39 cp -a $install/* $fs
40 rm -f $fs/usr/lib/lib*
41 ;;
42 esac
43 }