wok-current view consonance/receipt @ rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents 2353629d6cdb
children 544e47246b33
line source
1 # SliTaz package receipt.
3 PACKAGE="consonance"
4 VERSION="0.5"
5 CATEGORY="multimedia"
6 TAGS="player audio music mp3 ogg"
7 SHORT_DESC="A lightwight music manager."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="GPL3"
10 WEB_SITE="http://sites.google.com/site/consonancemanager/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
15 DEPENDS="curl dbus-glib flac gcc83-lib-base libao libcddb libcdio-paranoia
16 libmad libmodplug libnotify libsndfile libvorbis sqlite taglib xcb-util"
17 BUILD_DEPENDS="alsa-lib-dev curl-dev dbus-glib-dev flac-dev gcc83 gtk+-dev
18 libao-dev libcddb-dev libcdio-dev libcdio-paranoia-dev libidn-dev
19 libmad-dev libmodplug-dev libnotify-dev libogg-dev libsndfile-dev
20 libvorbis-dev sqlite-dev taglib-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|cdio/cdda|cdio/paranoia/cdda|' \
26 src/cdda.h
27 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&/' \
28 src/statusicon.c
30 export LDFLAGS="$LDFLAGS -lstdc++"
32 ./configure \
33 --prefix=/usr \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
44 mkdir -p $fs/usr/share/pixmaps
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/share/$PACKAGE $fs/usr/share
48 cp -a $install/usr/share/$PACKAGE/data/consonance.png \
49 $fs/usr/share/pixmaps
50 }