[arch-commits] Commit in libgpod/trunk (3 files)
Jan de Groot
jgc at archlinux.org
Tue Mar 3 08:48:19 UTC 2015
Date: Tuesday, March 3, 2015 @ 09:48:18
Author: jgc
Revision: 232449
upgpkg: libgpod 0.8.3-4
Added:
libgpod/trunk/libgpod-0.8.2-pkgconfig_overlinking.patch
libgpod/trunk/libgpod-fixswig.patch
Modified:
libgpod/trunk/PKGBUILD
-------------------------------------------+
PKGBUILD | 16 +++++++++++++---
libgpod-0.8.2-pkgconfig_overlinking.patch | 11 +++++++++++
libgpod-fixswig.patch | 14 ++++++++++++++
3 files changed, 38 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-03 08:41:40 UTC (rev 232448)
+++ PKGBUILD 2015-03-03 08:48:18 UTC (rev 232449)
@@ -4,7 +4,7 @@
pkgname=libgpod
pkgver=0.8.3
-pkgrel=3
+pkgrel=4
pkgdesc="A shared library to access the contents of an iPod"
arch=(i686 x86_64)
license=('LGPL')
@@ -13,10 +13,20 @@
optdepends=('gtk-sharp-2: Mono bindings'
'python2-gobject2: python bindings')
url="http://www.gtkpod.org/libgpod/"
-source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2)
+source=(http://downloads.sourceforge.net/sourceforge/gtkpod/${pkgname}-${pkgver}.tar.bz2
+ libgpod-0.8.2-pkgconfig_overlinking.patch
+ libgpod-fixswig.patch)
options=('!emptydirs')
-md5sums=('f8a0b7a34e768e33a708e8dd172bd6f8')
+md5sums=('f8a0b7a34e768e33a708e8dd172bd6f8'
+ '234237b643e42a6e9dd3f5000f4cd26e'
+ 'fb399cf847f21f3e315c01e14c79e815')
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../libgpod-0.8.2-pkgconfig_overlinking.patch
+ patch -Np1 -i ../libgpod-fixswig.patch
+}
+
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --with-udev-dir=/usr/lib/udev \
Added: libgpod-0.8.2-pkgconfig_overlinking.patch
===================================================================
--- libgpod-0.8.2-pkgconfig_overlinking.patch (rev 0)
+++ libgpod-0.8.2-pkgconfig_overlinking.patch 2015-03-03 08:48:18 UTC (rev 232449)
@@ -0,0 +1,11 @@
+diff -up libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking libgpod-0.8.2/libgpod-1.0.pc.in
+--- libgpod-0.8.2/libgpod-1.0.pc.in.pkgconfig_overlinking 2011-04-15 03:37:34.000000000 -0500
++++ libgpod-0.8.2/libgpod-1.0.pc.in 2012-08-10 13:53:00.294631805 -0500
+@@ -6,6 +6,6 @@ includedir=@includedir@
+ Name: libgpod
+ Description: A library to manipulate songs and playlists stored on an ipod
+ Version: @VERSION@
+-Requires: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@
++Requires.private: glib-2.0 >= 2.8.0 gobject-2.0 @GDKPIXBUF_REQ@ @LIBIMOBILEDEVICE_REQ@
+ Libs: -L${libdir} -lgpod
+ Cflags: -I${includedir}/gpod-1.0
Added: libgpod-fixswig.patch
===================================================================
--- libgpod-fixswig.patch (rev 0)
+++ libgpod-fixswig.patch 2015-03-03 08:48:18 UTC (rev 232449)
@@ -0,0 +1,14 @@
+--- libgpod-0.8.3/bindings/python/gpod.i.in 2015-02-12 08:43:11.058975384 +0100
++++ libgpod-0.8.3/bindings/python/gpod.i.in.orig 2015-02-12 08:44:08.185561253 +0100
+@@ -298,9 +298,11 @@ PyObject* sw_get_photo(GList *list, gint
+ %include "gpod_doc.i"
+ %include "@top_builddir@/config.h"
+
++/*
+ # be nicer to decode these utf8 strings into Unicode objects in the C
+ # layer. Here we are leaving it to the Python side, and just giving
+ # them utf8 encoded Strings.
++*/
+ typedef char gchar;
+
+ %typemap(in) time_t {
More information about the arch-commits
mailing list