wok-next annotate quodlibet/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents c022997c7a57
children d5aab818505e
rev   line source
jozee@2678 1 # SliTaz package receipt.
jozee@2678 2
jozee@2678 3 PACKAGE="quodlibet"
jozee@2678 4 VERSION="2.0"
jozee@2678 5 CATEGORY="multimedia"
jozee@2678 6 SHORT_DESC="An audio player written in pygtk"
jozee@2678 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19821 9 SUGGESTED="gst0-plugins-bad gst0-ffmpeg"
jozee@2678 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20909 11 WEB_SITE="https://quodlibet.readthedocs.io/en/latest/"
al@20909 12 WGET_URL="$WEB_SITE/files/$TARBALL" # FIXME
jozee@4971 13 TAGS="multimedia audio sound music player python"
jozee@2678 14
al@20919 15 DEPENDS="python-dbus gst0-python gst0-plugins-base gst0-plugins-good \
al@20932 16 gst0-plugins-ugly mutagen python-pygtk gstreamer0"
al@20919 17 BUILD_DEPENDS="python-dbus-dev gst0-python-dev gst0-plugins-base-dev \
al@20932 18 gst0-plugins-good gstreamer0-dev gst0-plugins-ugly python-pygtk-dev intltool \
al@21017 19 gettext gtk2-dev python-dev file"
pascal@11879 20
jozee@2678 21 # Rules to configure and make the package.
jozee@2678 22 compile_rules()
jozee@2678 23 {
al@18086 24 ./setup.py build
pascal@15000 25 ./setup.py install --prefix=$DESTDIR/usr
jozee@2678 26 }
jozee@2678 27
jozee@2678 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2678 29 genpkg_rules()
jozee@2678 30 {
jozee@2678 31 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
pascal@15000 32 cp -a $install/usr/bin $fs/usr
pascal@15000 33 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2678 34 cp -a stuff/*.png $fs/usr/share/pixmaps/
jozee@2678 35 }