wok-current annotate consonance/receipt @ rev 22794
recompiled gtkspell packages
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 27 09:43:00 2020 +0100 (2020-01-27) |
parents | bcfa309da72d |
children | 620b61500865 |
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@21191 | 25 sed -i 's|cdio/cdda|cdio/paranoia/cdda|' src/cdda.h |
pascal@17623 | 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 |
Hans-G?nter@21189 | 27 |
Hans-G?nter@21189 | 28 ./configure \ |
Hans-G?nter@21189 | 29 --prefix=/usr \ |
Hans-G?nter@21189 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@21189 | 31 make -j 1 && |
slaxemulator@10297 | 32 make DESTDIR=$DESTDIR install |
jozee@2662 | 33 } |
jozee@2662 | 34 |
jozee@2662 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2662 | 36 genpkg_rules() |
jozee@2662 | 37 { |
Hans-G?nter@21189 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21189 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@21189 | 40 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21189 | 41 |
Hans-G?nter@21189 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21189 | 43 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@21189 | 44 cp -a $install/usr/share/$PACKAGE/data/consonance.png \ |
Hans-G?nter@21189 | 45 $fs/usr/share/pixmaps |
jozee@2662 | 46 } |