From: Jakub Bogusz Date: Sun, 13 Sep 2020 06:28:41 +0000 (+0200) Subject: - added libplist patch (adjust pkgconfig name for libplist 2.2.0+); release 7 X-Git-Tag: auto/th/libgpod-0.8.3-7 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=4da71a16167238f9928dbd5bc785bfe106eb9673;p=packages%2Flibgpod.git - added libplist patch (adjust pkgconfig name for libplist 2.2.0+); release 7 --- 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 ]) + 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 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}