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

commit ca8cc9c223f589ce1c72ac4a0c4c124ad6674bea
Author: kikadf <[email protected]>
Date:   Sat Feb 21 12:31:07 2015 +0100

gejengel-0.1.4-12-x86_64

* fix build

diff --git a/source/xmultimedia-extra/gejengel/FrugalBuild 
b/source/xmultimedia-extra/gejengel/FrugalBuild
index adbd4a0..7b0c1cd 100644
--- a/source/xmultimedia-extra/gejengel/FrugalBuild
+++ b/source/xmultimedia-extra/gejengel/FrugalBuild
@@ -7,23 +7,25 @@ options+=('asneeded')

pkgname=gejengel
pkgver=0.1.4
-pkgrel=11
+pkgrel=12
pkgdesc="An audio player which focuses on performance and simplicity"
-depends=('ffmpeg>=2.5.1' 'alsa-lib' 'sqlite3' 'taglib' 'lastfmlib' \
+depends=('ffmpeg>=2.5.4' 'alsa-lib' 'sqlite3' 'taglib' 'lastfmlib' \
'imagemagick>=6.8.9' 'libuuid' 'libtool' 'flac' 'libmad' 'libxdg-basedir' \
-        'gtkmm2' 'libpulse>=5.0-4')
+        'gtkmm2' 'libpulse>=6.0')
makedepends=('intltool')
options=('scriptlet')
groups=('xmultimedia-extra')
archs=('i686' 'x86_64')
Finclude googlecode
-source=(${source[@]} ffmpeg-2.5.x.patch)
+source=(${source[@]} ffmpeg-2.5.x.patch libnotify.patch)
sha1sums=('c45b0d0b09592f21f9be7a8a1f8c13b4a1ebe9da' \
-          'd01e6a1fc0282217c735395fe330bb52a255fbcf')
+          'd01e6a1fc0282217c735395fe330bb52a255fbcf' \
+          'cbb4e8d8e9cb28a00b478bdcab180e52532c834d')
unset MAKEFLAGS

build()
{
+       export LDFLAGS="$LDFLAGS -lwrap"
Fcd
echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >> 
src/AudioDecoder/ffmpegdecoder.h || Fdie
Fbuild
diff --git a/source/xmultimedia-extra/gejengel/libnotify.patch 
b/source/xmultimedia-extra/gejengel/libnotify.patch
new file mode 100644
index 0000000..8026d89
--- /dev/null
+++ b/source/xmultimedia-extra/gejengel/libnotify.patch
@@ -0,0 +1,26 @@
+--- src/Plugins/notificationplugin.cpp
++++ src/Plugins/notificationplugin.cpp
+@@ -33,6 +33,10 @@
+ #include "ui/sharedfunctions.h"
+ #include "MusicLibrary/album.h"
+
++#ifndef NOTIFY_CHECK_VERSION
++#define NOTIFY_CHECK_VERSION(x,y,z) 0
++#endif
++
+ using namespace std;
+ using namespace Gtk;
+
+@@ -85,7 +89,12 @@
+         }
+     }
+
++#if NOTIFY_CHECK_VERSION (0, 7, 0)
++    m_pNotification = notify_notification_new("dummy", "", NULL);
++#else
+     m_pNotification = notify_notification_new("dummy", "", NULL, NULL);
++#endif
++
+     notify_notification_set_timeout (m_pNotification, NOTIFY_EXPIRES_DEFAULT);
+     notify_notification_set_urgency (m_pNotification, NOTIFY_URGENCY_NORMAL);
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to