wok annotate ario/receipt @ rev 24763

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