wok annotate consonance/receipt @ rev 21189

consonance: added to dependencies
author Hans-G?nter Theisgen
date Wed Apr 03 15:57:39 2019 +0100 (2019-04-03)
parents bfee6be043f8
children a5dec5e18569
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"
Hans-G?nter@21189 6 TAGS="player audio music mp3 ogg"
Hans-G?nter@21189 7 SHORT_DESC="A lightwight music manager."
jozee@2662 8 MAINTAINER="jozee@slitaz.org"
pascal@15202 9 LICENSE="GPL3"
Hans-G?nter@21189 10 WEB_SITE="http://sites.google.com/site/consonancemanager/"
Hans-G?nter@21189 11
jozee@2662 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@2662 13 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
jozee@2662 14
slaxemulator@10297 15 DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \
Hans-G?nter@21189 16 curl libmodplug libcdio-paranoia libcddb xcb-util"
slaxemulator@10297 17 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \
Hans-G?nter@21189 18 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
Hans-G?nter@21189 19 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
Hans-G?nter@21189 20 libcdio-paranoia-dev alsa-lib-dev libogg-dev gtk+-dev"
slaxemulator@10297 21
jozee@2662 22 # Rules to configure and make the package.
jozee@2662 23 compile_rules()
jozee@2662 24 {
pascal@17623 25 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
Hans-G?nter@21189 26
Hans-G?nter@21189 27 ./configure \
Hans-G?nter@21189 28 --prefix=/usr \
Hans-G?nter@21189 29 $CONFIGURE_ARGS &&
Hans-G?nter@21189 30 make -j 1 &&
slaxemulator@10297 31 make DESTDIR=$DESTDIR install
jozee@2662 32 }
jozee@2662 33
jozee@2662 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2662 35 genpkg_rules()
jozee@2662 36 {
Hans-G?nter@21189 37 mkdir -p $fs/usr/lib
Hans-G?nter@21189 38 mkdir -p $fs/usr/share
Hans-G?nter@21189 39 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21189 40
Hans-G?nter@21189 41 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21189 42 cp -a $install/usr/share/$PACKAGE $fs/usr/share
Hans-G?nter@21189 43 cp -a $install/usr/share/$PACKAGE/data/consonance.png \
Hans-G?nter@21189 44 $fs/usr/share/pixmaps
jozee@2662 45 }