wok annotate phonon-backend-gstreamer/receipt @ rev 19622
Up busybox (1.26.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 11 10:36:15 2017 +0100 (2017-01-11) |
parents | |
children | 6135577f4d08 |
rev | line source |
---|---|
psychomaniak@19568 | 1 # SliTaz package receipt. |
psychomaniak@19568 | 2 |
psychomaniak@19568 | 3 PACKAGE="phonon-backend-gstreamer" |
psychomaniak@19568 | 4 VERSION="4.7.2" |
psychomaniak@19568 | 5 CATEGORY="multimedia" |
psychomaniak@19568 | 6 LICENSE="LGPL2.1" |
psychomaniak@19568 | 7 SHORT_DESC="gstreamer lib for phonon" |
psychomaniak@19568 | 8 MAINTAINER="psychomaniak@xakep.ru" |
psychomaniak@19568 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
psychomaniak@19568 | 10 WEB_SITE="http://phonon.kde.org/" |
psychomaniak@19568 | 11 WGET_URL="http://download.kde.org/stable/phonon/$PACKAGE/$VERSION/src/$TARBALL" |
psychomaniak@19568 | 12 |
psychomaniak@19568 | 13 DEPENDS="phonon gst-plugins-base gst-plugins-good gst-ffmpeg" |
psychomaniak@19568 | 14 BUILD_DEPENDS="phonon phonon-dev cmake qmake automoc4 Qt4-dev \ |
psychomaniak@19568 | 15 gst-plugins-base gst-plugins-base-dev" |
psychomaniak@19568 | 16 |
psychomaniak@19568 | 17 PROVIDE="qt4-phonon" |
psychomaniak@19568 | 18 |
psychomaniak@19568 | 19 compile_rules() |
psychomaniak@19568 | 20 { |
psychomaniak@19568 | 21 mkdir build; cd build |
psychomaniak@19568 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release \ |
psychomaniak@19568 | 23 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=ON \ |
psychomaniak@19568 | 24 -DCMAKE_INSTALL_LIBDIR=lib \ |
psychomaniak@19568 | 25 -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=ON .. && |
psychomaniak@19568 | 26 make && make DESTDIR=$DESTDIR install |
psychomaniak@19568 | 27 } |
psychomaniak@19568 | 28 genpkg_rules() |
psychomaniak@19568 | 29 { |
psychomaniak@19568 | 30 cp -a $install/* $fs |
psychomaniak@19568 | 31 rm -fr $fs/usr/share/icons |
psychomaniak@19568 | 32 mkdir -p $fs/usr/lib/qt/plugins |
psychomaniak@19568 | 33 ln -s /usr/lib/kde4/plugins/phonon_backend $fs/usr/lib/qt/plugins/ |
psychomaniak@19568 | 34 } |