wok-current view quodlibet/receipt @ rev 25024
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 20:10:17 2022 +0000 (2022-05-18) |
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 }