wok view phonon/receipt @ rev 25057

linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:05:30 2022 +0000 (2022-06-06)
parents b569b85b0fb9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="phonon"
4 VERSION="4.10.2"
5 CATEGORY="development"
6 SHORT_DESC="KDE multimedia framework."
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://github.com/KDE/phonon"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
15 BUILD_DEPENDS="automoc4 cmake qmake Qt4-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 compile_rules()
25 {
26 mkdir build
27 cd build
28 cmake .. \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DCMAKE_SKIP_RPATH=ON \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
34 -DCMAKE_INSTALL_LIBDIR=lib &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/lib* $fs/usr/lib
43 }