wok-current view quodlibet/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | b569b85b0fb9 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="quodlibet"
4 VERSION="2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="An audio player written in pygtk"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="gst-plugins-bad gst-ffmpeg"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/quodlibet/quodlibet"
12 WGET_URL="$WEB_SITE/releases/download/release-$VERSION.0/$TARBALL"
13 TAGS="multimedia audio sound music player python"
15 DEPENDS="dbus-python gst-python gst-plugins-base gst-plugins-good \
16 gst-plugins-ugly mutagen pygtk gstreamer"
17 BUILD_DEPENDS="dbus-python-dev gst-python-dev gst-plugins-base-dev \
18 gst-plugins-good-dev gstreamer-dev gst-plugins-ugly-dev pygtk-dev intltool \
19 gettext gtk+-dev python-dev file"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - $WEB_SITE/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./setup.py build
32 ./setup.py install --prefix=$DESTDIR/usr
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/python* $fs/usr/lib
41 cp -a stuff/*.png $fs/usr/share/pixmaps/
42 }