aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/ario/ario.SlackBuild6
-rw-r--r--audio/ario/ario.info6
-rw-r--r--audio/ario/glib-single-include.patch39
3 files changed, 47 insertions, 4 deletions
diff --git a/audio/ario/ario.SlackBuild b/audio/ario/ario.SlackBuild
index a63b2fe60a76..41b7589996d3 100644
--- a/audio/ario/ario.SlackBuild
+++ b/audio/ario/ario.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ario
-VERSION=1.5
+VERSION=1.5.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,10 @@ find . \
# Check for Avahi
if $(pkg-config --exists avahi-core); then AVAHI="enable" ; else AVAHI="disable" ; fi
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/audio/ario/ario.info b/audio/ario/ario.info
index 815cee02ebc6..7f117279b035 100644
--- a/audio/ario/ario.info
+++ b/audio/ario/ario.info
@@ -1,8 +1,8 @@
PRGNAM="ario"
-VERSION="1.5"
+VERSION="1.5.1"
HOMEPAGE="http://ario-player.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/ario-player/ario-1.5.tar.gz"
-MD5SUM="5dac6cc8b8f12b0acc132d5ff7fc779f"
+DOWNLOAD="http://downloads.sourceforge.net/ario-player/ario-1.5.1.tar.gz"
+MD5SUM="9b4072c0fe2aa72fb8103faac4dd3d69"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmpdclient libunique"
diff --git a/audio/ario/glib-single-include.patch b/audio/ario/glib-single-include.patch
new file mode 100644
index 000000000000..d6b385daf320
--- /dev/null
+++ b/audio/ario/glib-single-include.patch
@@ -0,0 +1,39 @@
+Index: ario-1.5.1/src/ario-profiles.h
+===================================================================
+--- ario-1.5.1.orig/src/ario-profiles.h
++++ ario-1.5.1/src/ario-profiles.h
+@@ -20,7 +20,7 @@
+ #ifndef __ARIO_PROFILES_H
+ #define __ARIO_PROFILES_H
+
+-#include <glib/gslist.h>
++#include <glib.h>
+ #include "servers/ario-server.h"
+
+ G_BEGIN_DECLS
+Index: ario-1.5.1/src/ario-util.h
+===================================================================
+--- ario-1.5.1.orig/src/ario-util.h
++++ ario-1.5.1/src/ario-util.h
+@@ -18,7 +18,7 @@
+ */
+
+ #include "servers/ario-server.h"
+-#include "glib/gslist.h"
++#include <glib.h>
+ #include "gdk/gdkpixbuf.h"
+
+ /* Number of covers used to generate the drag & drop image */
+Index: ario-1.5.1/src/plugins/ario-plugin-info.c
+===================================================================
+--- ario-1.5.1.orig/src/plugins/ario-plugin-info.c
++++ ario-1.5.1/src/plugins/ario-plugin-info.c
+@@ -27,7 +27,7 @@
+
+ #include <string.h>
+ #include <glib/gi18n.h>
+-#include <glib/gkeyfile.h>
++#include <glib.h>
+
+ #include "plugins/ario-plugin-info-priv.h"
+ #include "ario-debug.h"