wok view ario/receipt @ rev 24701

updated keyutils and keyutils-dev (1.6.1 -> 1.6.3)
author Hans-G?nter Theisgen
date Mon Mar 14 07:58:24 2022 +0100 (2022-03-14)
parents d37d15244372
children b0069c845544
line source
1 # SliTaz package receipt.
3 PACKAGE="ario"
4 VERSION="1.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK client for MPD"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
11 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
12 TAGS="music audio player mp3 ogg"
14 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
15 libunique libtasn1"
16 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \
17 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev \
18 libgnutls"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/ario-player/files/ario-player/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/ario-player/||;s|/.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd $src
32 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h
33 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c
34 ./configure \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 --disable-dbus \
39 --disable-notify \
40 --disable-mpdidle \
41 --disable-audioscrobbler \
42 --disable-avahi \
43 $CONFIGURE_ARGS &&
44 make -j1 && make -j1 DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share/locale/
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/lib $fs/usr
54 cp -a $install/usr/share/applications $fs/usr/share
55 cp -a $install/usr/share/icons $fs/usr/share
56 cp -a $install/usr/share/ario $fs/usr/share
57 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
59 # Cleanup
60 rm -f $fs/usr/lib/ario/plugins/*.?a
61 }