wok rev 23006

consonance: inserted LDFLAGS
author Hans-G?nter Theisgen
date Tue Mar 03 06:48:05 2020 +0100 (2020-03-03)
parents c9ce7c118b71
children 2353629d6cdb
files consonance/receipt
line diff
     1.1 --- a/consonance/receipt	Mon Mar 02 18:45:06 2020 +0100
     1.2 +++ b/consonance/receipt	Tue Mar 03 06:48:05 2020 +0100
     1.3 @@ -12,18 +12,22 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="http://cloud.github.com/downloads/sujith/consonance/$TARBALL"
     1.6  
     1.7 -DEPENDS="libao taglib libmad sqlite dbus-glib libnotify flac libsndfile libvorbis \
     1.8 -	curl libmodplug libcdio-paranoia libcddb xcb-util"
     1.9 -BUILD_DEPENDS="libao-dev taglib taglib-dev libmad-dev sqlite-dev dbus-glib-dev \
    1.10 -	libnotify-dev flac-dev libsndfile-dev libvorbis-dev curl-dev libmodplug-dev \
    1.11 -	libcdio-dev libcddb-dev libidn-dev libidn libao libsndfile libmodplug libcdio \
    1.12 -	libcdio-paranoia-dev alsa-lib-dev libogg-dev gtk+-dev"
    1.13 +DEPENDS="curl dbus-glib flac libao libcddb libcdio-paranoia libmad libmodplug 
    1.14 +	libnotify libsndfile libvorbis sqlite taglib xcb-util"
    1.15 +BUILD_DEPENDS="alsa-lib-dev curl-dev dbus-glib-dev flac-dev gtk+-dev libao-dev 
    1.16 +	libcddb-dev libcdio-dev libcdio-paranoia-dev libidn-dev libmad-dev 
    1.17 +	libmodplug-dev libnotify-dev libogg-dev libsndfile-dev libvorbis-dev 
    1.18 +	sqlite-dev taglib-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	sed -i 's|cdio/cdda|cdio/paranoia/cdda|' src/cdda.h
    1.24 -	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
    1.25 +	sed -i 's|cdio/cdda|cdio/paranoia/cdda|' \
    1.26 +		src/cdda.h
    1.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&/' \
    1.28 +		src/statusicon.c
    1.29 +
    1.30 +	export	LDFLAGS="$LDFLAGS -lstdc++"
    1.31  
    1.32  	./configure		\
    1.33  		--prefix=/usr	\
    1.34 @@ -42,5 +46,5 @@
    1.35  	cp -a $install/usr/bin			$fs/usr
    1.36  	cp -a $install/usr/share/$PACKAGE	$fs/usr/share
    1.37  	cp -a $install/usr/share/$PACKAGE/data/consonance.png \
    1.38 -		$fs/usr/share/pixmaps
    1.39 +						$fs/usr/share/pixmaps
    1.40  }