wok-next view consonance/receipt @ rev 20212

Up consonance (0.5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 18:41:56 2017 +0100 (2017-11-04)
parents 2809ecb8c754
children 7eb047d2b438
line source
1 # SliTaz package receipt.
3 PACKAGE="consonance"
4 VERSION="0.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A lightwight music manager"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sites.google.com/site/consonancemanager/"
11 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
12 TAGS="player audio music mp3 ogg"
14 DEPENDS="libao taglib libmad sqlite3 dbus-glib libnotify flac libsndfile libvorbis \
15 curl libmodplug libcdio libcddb xcb-util"
16 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite3-dev dbus-glib-dev \
17 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
18 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
19 alsa-lib-dev libogg-dev gtk+-dev libcdio-paranoia-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|cdio/cdda.h|cdio/paranoia/cdda.h|' src/cdda.h
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
26 ./configure --prefix=/usr $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share $fs/usr/share/pixmaps
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/$PACKAGE $fs/usr/share
38 cp -a $install/usr/share/$PACKAGE/data/consonance.png $fs/usr/share/pixmaps
39 }