Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gnometesting.git;a=commitdiff;h=c62b6a9c69c7b7017f59298d4a512bfe85a4b42e

commit c62b6a9c69c7b7017f59298d4a512bfe85a4b42e
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Wed Jan 26 23:04:23 2011 +0100

audacious-plugins-2.4.2-2-x86_64
*rebuild with libnotify 0.7

diff --git a/source/xmultimedia-extra/audacious-plugins/FrugalBuild 
b/source/xmultimedia-extra/audacious-plugins/FrugalBuild
index ccd16c8..60f6284 100644
--- a/source/xmultimedia-extra/audacious-plugins/FrugalBuild
+++ b/source/xmultimedia-extra/audacious-plugins/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=audacious-plugins
pkgver=2.4.2
-pkgrel=1
+pkgrel=2
pkgdesc="Plugins for audacious."
url="http://audacious-media-player.org";
depends=('audacious>=2.4.2' 'flac>=1.1.4' 'libvorbis' 'unzip' 'lame' 'libmad' \
@@ -19,8 +19,9 @@ groups=('xmultimedia-extra')
archs=('i686' 'x86_64')
options=('scriptlet')
up2date="lynx -dump '$url/downloads' | grep -o '$pkgname-\(.*\).tgz' | tail -n1 
| sed 's|$pkgname-\(.*\).tgz|\1|'"
-source=(http://distfiles.atheme.org/$pkgname-$pkgver.tgz)
-sha1sums=('07a0c0ac65bc01aa936454da9550ad982e66b8f0')
+source=(http://distfiles.atheme.org/$pkgname-$pkgver.tgz libnotify07.diff)
+sha1sums=('07a0c0ac65bc01aa936454da9550ad982e66b8f0' \
+          '2ebeb4373b9ef48620799e86aafb5a904b8869a3')

subpkgs=( "audacious-plugin-jack" "audacious-plugin-neon"             \
"audacious-plugin-wavpack" "audacious-plugin-sidplay"       \
@@ -47,7 +48,7 @@ subdepends=( "jack" "neon>=0.28.3" "wavpack>=4.40.0" 
"libsidplay libsidplay2" \
"libmtp" "libmms" "pulseaudio libcap>=2.19" "sdl" "adplug>=2.1"  \
"libcdio>=0.80-2" "libsndfile" "libcue>=1.4.0" "libbs2b"         \
"libprojectm gtkglext" "ffmpeg libraw1394" "fluidsynth"
-             "libnotify" )
+             "libnotify>=0.7" )

for i in $(seq 0 $(echo ${#subpkgs[@]} - 1 | bc)); do
subrodepends[$i]="$pkgname=$pkgver"
@@ -66,6 +67,8 @@ fi

build()
{
+       Fcd
+       Fpatchall
if [ "$CARCH" == "i686" ]; then
opts="--disable-sse2"
fi
diff --git a/source/xmultimedia-extra/audacious-plugins/libnotify07.diff 
b/source/xmultimedia-extra/audacious-plugins/libnotify07.diff
new file mode 100644
index 0000000..1a92ddb
--- /dev/null
+++ b/source/xmultimedia-extra/audacious-plugins/libnotify07.diff
@@ -0,0 +1,12 @@
+diff -Nur audacious-plugins-fedora-2.4.2-orig/src/notify/libnotify-aosd_osd.c 
audacious-plugins-fedora-2.4.2/src/notify/libnotify-aosd_osd.c
+--- audacious-plugins-fedora-2.4.2-orig/src/notify/libnotify-aosd_osd.c        
2010-12-08 00:14:55.000000000 +0100
++++ audacious-plugins-fedora-2.4.2/src/notify/libnotify-aosd_osd.c     
2010-12-09 19:37:35.037726989 +0100
+@@ -55,7 +55,7 @@
+       GError *error = NULL;
+
+       if(notification == NULL) {
+-              notification = notify_notification_new(title, message, pb == 
NULL ? icon : NULL, NULL);
++              notification = notify_notification_new(title, message, pb == 
NULL ? icon : NULL);
+               g_signal_connect(notification, "closed", 
G_CALLBACK(osd_closed_handler), NULL);
+               AUDDBG("new osd created! (notification=%p)\n", notification);
+       } else {
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to