wok-6.x annotate phonon-backend-gstreamer/receipt @ rev 22678
cookutils: do not break build env !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 18 16:22:42 2020 +0100 (2020-01-18) |
parents | 6135577f4d08 |
children | b569b85b0fb9 |
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" |
pascal@22428 | 10 WEB_SITE="https://github.com/KDE/phonon/" |
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 } |