[packages/libgpod] - added libplist patch (adjust pkgconfig name for libplist 2.2.0+); release 7
qboosh
qboosh at pld-linux.org
Sun Sep 13 08:25:56 CEST 2020
commit 4da71a16167238f9928dbd5bc785bfe106eb9673
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 13 08:28:41 2020 +0200
- added libplist patch (adjust pkgconfig name for libplist 2.2.0+); release 7
libgpod-libplist.patch | 11 +++++++++++
libgpod.spec | 8 +++++---
2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/libgpod.spec b/libgpod.spec
index 367a0d5..6c70a8b 100644
--- a/libgpod.spec
+++ b/libgpod.spec
@@ -18,7 +18,7 @@ Summary: Shared library to access the contents of an iPod
Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do zawartości iPodów
Name: libgpod
Version: 0.8.3
-Release: 6
+Release: 7
License: GPL v2
Group: Libraries
Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2
@@ -28,6 +28,7 @@ Patch0: %{name}-gcc43.patch
Patch1: %{name}-monodir.patch
Patch2: mono4.patch
Patch3: %{name}-swig.patch
+Patch4: %{name}-libplist.patch
URL: http://www.gtkpod.org/libgpod/
BuildRequires: autoconf >= 2.65
BuildRequires: automake
@@ -38,7 +39,7 @@ BuildRequires: glib2-devel >= 1:2.16.0
BuildRequires: gtk-doc >= 1.0
BuildRequires: intltool >= 0.35
BuildRequires: libimobiledevice-devel >= 1.1.5
-BuildRequires: libplist-devel >= 1.0.0
+BuildRequires: libplist-devel >= 2.2.0
BuildRequires: libsmbios-devel
BuildRequires: libtool >= 2:2
BuildRequires: libusb-devel >= 1.0
@@ -65,7 +66,7 @@ BuildRequires: swig-python >= 1.3.24
%endif
Requires: glib2 >= 1:2.16.0
Requires: libimobiledevice >= 1.1.5
-Requires: libplist >= 1.0.0
+Requires: libplist >= 2.2.0
Suggests: udev-libgpod = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -189,6 +190,7 @@ Pliki programistyczne biblioteki C#/.NET libgpod-sharp.
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__gtkdocize}
diff --git a/libgpod-libplist.patch b/libgpod-libplist.patch
new file mode 100644
index 0000000..7a9154a
--- /dev/null
+++ b/libgpod-libplist.patch
@@ -0,0 +1,11 @@
+--- libgpod-0.8.3/configure.ac.orig 2013-07-10 13:42:04.000000000 +0200
++++ libgpod-0.8.3/configure.ac 2020-09-13 08:23:44.134903313 +0200
+@@ -42,7 +42,7 @@
+ AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
+ dnl sqlite3 is needed for newer ipod models (nano5g), and libplist is needed
+ dnl by libgpod sqlite code
+-PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist >= 1.0 gmodule-2.0)
++PKG_CHECK_MODULES(LIBGPOD, glib-2.0 >= 2.16.0 gobject-2.0 sqlite3 libplist-2.0 >= 2.2.0 gmodule-2.0)
+
+ dnl ***************************************************
+ dnl The following functions are only available starting
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libgpod.git/commitdiff/4da71a16167238f9928dbd5bc785bfe106eb9673
More information about the pld-cvs-commit
mailing list