wok annotate consonance/receipt @ rev 18414

Add pyhn
author Paul Issott <paul@slitaz.org>
date Sun Sep 20 16:19:24 2015 +0100 (2015-09-20)
parents 223b265f40fd
children bcfa309da72d
rev   line source
jozee@2662 1 # SliTaz package receipt.
jozee@2662 2
jozee@2662 3 PACKAGE="consonance"
jozee@2662 4 VERSION="0.5"
jozee@2662 5 CATEGORY="multimedia"
jozee@2662 6 SHORT_DESC="A lightwight music manager"
jozee@2662 7 MAINTAINER="jozee@slitaz.org"
pascal@15202 8 LICENSE="GPL3"
jozee@2662 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2662 10 WEB_SITE="http://sites.google.com/site/consonancemanager/"
jozee@2662 11 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
jozee@4933 12 TAGS="player audio music mp3 ogg"
jozee@2662 13
slaxemulator@10297 14 DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \
slaxemulator@10297 15 curl libmodplug libcdio libcddb xcb-util"
slaxemulator@10297 16 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \
slaxemulator@10297 17 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
slaxemulator@10297 18 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
pascal@12608 19 alsa-lib-dev libogg-dev gtk+-dev"
slaxemulator@10297 20
jozee@2662 21 # Rules to configure and make the package.
jozee@2662 22 compile_rules()
jozee@2662 23 {
pascal@17623 24 sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' src/statusicon.c
slaxemulator@10297 25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pascal@2845 26 make &&
slaxemulator@10297 27 make DESTDIR=$DESTDIR install
jozee@2662 28
jozee@2662 29 }
jozee@2662 30
jozee@2662 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2662 32 genpkg_rules()
jozee@2662 33 {
jozee@2662 34 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
pascal@15202 35 cp -a $install/usr/bin $fs/usr
pascal@15202 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15202 37 cp -a $install/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps
jozee@2662 38 }