wok annotate consonance/receipt @ rev 25175
updated python-cryptography (2.7 -> 2.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:39:11 2022 +0100 (2022-07-01) |
parents | ad9008f821da |
children | 73f36875e5a7 |
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" |
pascal@25118 | 13 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
jozee@2662 | 14 |
Hans-G?nter@23007 | 15 DEPENDS="curl dbus-glib flac gcc83-lib-base libao libcddb libcdio-paranoia |
Hans-G?nter@23007 | 16 libmad libmodplug libnotify libsndfile libvorbis sqlite taglib xcb-util" |
Hans-G?nter@23008 | 17 BUILD_DEPENDS="alsa-lib-dev curl-dev dbus-glib-dev flac-dev gcc83 gtk+-dev |
Hans-G?nter@23008 | 18 libao-dev libcddb-dev libcdio-dev libcdio-paranoia-dev libidn-dev |
Hans-G?nter@23008 | 19 libmad-dev libmodplug-dev libnotify-dev libogg-dev libsndfile-dev |
Hans-G?nter@23008 | 20 libvorbis-dev sqlite-dev taglib-dev" |
slaxemulator@10297 | 21 |
pascal@24540 | 22 # What is the latest version available today? |
pascal@24540 | 23 current_version() |
pascal@24540 | 24 { |
pascal@24626 | 25 wget -O - https://raw.githubusercontent.com/patradebasish1987/Consonance/master/ChangeLog 2>/dev/null | sed 's|v||;q' |
pascal@24540 | 26 } |
pascal@24540 | 27 |
jozee@2662 | 28 # Rules to configure and make the package. |
jozee@2662 | 29 compile_rules() |
jozee@2662 | 30 { |
Hans-G?nter@23006 | 31 sed -i 's|cdio/cdda|cdio/paranoia/cdda|' \ |
Hans-G?nter@23006 | 32 src/cdda.h |
Hans-G?nter@23006 | 33 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&/' \ |
Hans-G?nter@23006 | 34 src/statusicon.c |
Hans-G?nter@23006 | 35 |
Hans-G?nter@23006 | 36 export LDFLAGS="$LDFLAGS -lstdc++" |
Hans-G?nter@21189 | 37 |
Hans-G?nter@21189 | 38 ./configure \ |
Hans-G?nter@21189 | 39 --prefix=/usr \ |
Hans-G?nter@21189 | 40 $CONFIGURE_ARGS && |
Hans-G?nter@21189 | 41 make -j 1 && |
slaxemulator@10297 | 42 make DESTDIR=$DESTDIR install |
jozee@2662 | 43 } |
jozee@2662 | 44 |
jozee@2662 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2662 | 46 genpkg_rules() |
jozee@2662 | 47 { |
Hans-G?nter@21189 | 48 mkdir -p $fs/usr/lib |
Hans-G?nter@21189 | 49 mkdir -p $fs/usr/share |
Hans-G?nter@21189 | 50 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@21189 | 51 |
Hans-G?nter@21189 | 52 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21189 | 53 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
Hans-G?nter@21189 | 54 cp -a $install/usr/share/$PACKAGE/data/consonance.png \ |
Hans-G?nter@23006 | 55 $fs/usr/share/pixmaps |
jozee@2662 | 56 } |