wok view consonance/receipt @ rev 21191

consonance: patch for libcdio-paranoia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 03 18:28:33 2019 +0200 (15 months ago)
parents bcfa309da72d
children 620b61500865
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="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \
16 curl libmodplug libcdio-paranoia libcddb xcb-util"
17 BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \
18 libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
19 libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
20 libcdio-paranoia-dev alsa-lib-dev libogg-dev gtk+-dev"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|cdio/cdda|cdio/paranoia/cdda|' src/cdda.h
26 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
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 mkdir -p $fs/usr/share
40 mkdir -p $fs/usr/share/pixmaps
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/$PACKAGE $fs/usr/share
44 cp -a $install/usr/share/$PACKAGE/data/consonance.png \
45 $fs/usr/share/pixmaps
46 }