wok view phonon-vlc/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="phonon-vlc"
4 VERSION="0.8.2"
5 CATEGORY="libs"
6 SHORT_DESC="VLC backend for libphonon"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="LGPL2.1"
9 SOURCE="phonon-backend-vlc"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="http://phonon.kde.org/"
12 WGET_URL="http://download.kde.org/stable/phonon/$SOURCE/$VERSION/src/$TARBALL"
14 DEPENDS="libQtCore libQtDBus libQtGui libQtXml phonon libvlc"
15 BUILD_DEPENDS="phonon cmake qmake automoc4 Qt4-dev libvlc-dev phonon-dev"
17 compile_rules()
18 {
19 mkdir build; 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=$DESTDIR install
30 }
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share
36 }