wok annotate phonon/receipt @ rev 20985

Add libgit2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 06 19:24:05 2019 +0100 (2019-03-06)
parents 9e6ab147f6a3
children e2cce68f63bb
rev   line source
psychomaniak@17015 1 # SliTaz package receipt.
psychomaniak@17015 2
psychomaniak@17015 3 PACKAGE="phonon"
psychomaniak@17015 4 VERSION="4.7.2"
psychomaniak@17015 5 CATEGORY="libs"
psychomaniak@17015 6 SHORT_DESC="kde libphonon"
psychomaniak@17015 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17015 8 LICENSE="LGPL2.1"
psychomaniak@17015 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20679 10 WEB_SITE="https://phonon.kde.org/"
psychomaniak@17015 11 WGET_URL="http://download.kde.org/stable/$PACKAGE/$VERSION/$TARBALL"
psychomaniak@17015 12
psychomaniak@18167 13 DEPENDS="libQtCore libQtDBus libQtGui libQtXml"
psychomaniak@18167 14 BUILD_DEPENDS="cmake qmake automoc4 Qt4-dev"
psychomaniak@17015 15
psychomaniak@17015 16 compile_rules()
psychomaniak@17015 17 {
psychomaniak@17015 18 mkdir build; cd build
psychomaniak@17015 19 cmake \
psychomaniak@17015 20 -DCMAKE_INSTALL_PREFIX=/usr \
psychomaniak@17015 21 -DCMAKE_BUILD_TYPE=Release \
psychomaniak@17015 22 -DCMAKE_SKIP_RPATH=ON \
psychomaniak@17015 23 -DCMAKE_INSTALL_PREFIX=/usr \
psychomaniak@17015 24 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON \
psychomaniak@17015 25 -DCMAKE_INSTALL_LIBDIR=lib \
psychomaniak@17015 26 .. &&
psychomaniak@17015 27 make &&
psychomaniak@17015 28 make DESTDIR=$DESTDIR install
psychomaniak@17015 29 }
psychomaniak@17015 30
psychomaniak@17015 31 genpkg_rules()
psychomaniak@17015 32 {
psychomaniak@18167 33 mkdir -p $fs/usr/lib
psychomaniak@18167 34 cp -a $install/usr/lib/lib* $fs/usr/lib
psychomaniak@17015 35 }