wok-next annotate quodlibet/receipt @ rev 17890

Up xfw (1.40)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:19:45 2015 +0200 (2015-04-02)
parents d21c0c760517
children 7390f8de9846
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"
pascal@17482 9 SUGGESTED="gst-plugins-bad gst-ffmpeg"
jozee@2678 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2678 11 WEB_SITE="http://quodlibet.googlecode.com/"
jozee@2678 12 WGET_URL="$WEB_SITE/files/$TARBALL"
jozee@4971 13 TAGS="multimedia audio sound music player python"
jozee@2678 14
pascal@11879 15 DEPENDS="dbus-python gst-python gst-plugins-base gst-plugins-good \
pascal@11879 16 gst-plugins-ugly mutagen pygtk gstreamer"
pascal@11879 17 BUILD_DEPENDS="dbus-python-dev gst-python-dev gst-plugins-base-dev \
pascal@11879 18 gst-plugins-good-dev gstreamer-dev gst-plugins-ugly-dev pygtk-dev intltool \
pascal@15263 19 gettext gtk+-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 {
jozee@2678 24 cd $src
jozee@2678 25 ./setup.py build
pascal@15000 26 ./setup.py install --prefix=$DESTDIR/usr
jozee@2678 27
jozee@2678 28 }
jozee@2678 29
jozee@2678 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2678 31 genpkg_rules()
jozee@2678 32 {
jozee@2678 33 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
pascal@15000 34 cp -a $install/usr/bin $fs/usr
pascal@15000 35 cp -a $install/usr/lib/python* $fs/usr/lib
jozee@2678 36 cp -a stuff/*.png $fs/usr/share/pixmaps/
jozee@2678 37
jozee@2678 38 }