patch to build against newer tracker, rebuild for tracker bump

This commit is contained in:
Adam Williamson 2013-12-27 18:37:51 -08:00
parent 9f0b5169b1
commit 45034a3562
2 changed files with 24 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- grilo-plugins-0.2.9/configure.ac 2013-08-25 14:20:34.000000000 -0700
+++ grilo-plugins-0.2.9/configure.ac.new 2013-12-27 18:01:21.297513044 -0800
@@ -144,7 +144,7 @@
HAVE_GMIME=no)])
# Search available Tracker version
trackerpkg="tracker-sparql-0.10"
-m4_foreach([VERSION], [[0.10], [0.11], [0.12], [0.14], [0.15], [0.16]],
+m4_foreach([VERSION], [[0.10], [0.11], [0.12], [0.14], [0.15], [0.16], [0.17], [0.18]],
[PKG_CHECK_EXISTS([tracker-sparql-VERSION >= 0.10.5],
[ trackerpkg="tracker-sparql-VERSION" ])
])

View File

@ -3,13 +3,16 @@
Name: grilo-plugins
Version: 0.2.9
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Plugins for the Grilo framework
Group: Applications/Multimedia
License: LGPLv2+
Url: https://live.gnome.org/Grilo
Source0: http://ftp.gnome.org/pub/GNOME/sources/grilo-plugins/%{release_version}/grilo-plugins-%{version}.tar.xz
# Trivial patch to support newer tracker, equivalent commits in
# git.gnome are dd5b447bf20 and 5145299309
Patch0: grilo-plugins-0.2.9-tracker_version.patch
BuildRequires: grilo-devel >= 0.2.6
BuildRequires: glib2-devel >= 2.26.0
@ -26,6 +29,8 @@ BuildRequires: tracker-devel >= 0.9.0
BuildRequires: gmime-devel
BuildRequires: libdmapsharing-devel
BuildRequires: json-glib-devel
# Needed when running autoreconf for patch0, drop if not autoreconfing
BuildRequires: gnome-common
Requires: grilo >= 0.2.6
Requires: gupnp >= 0.13.0
@ -54,9 +59,12 @@ This package contains plugins to get information from theses sources:
%prep
%setup -q
%patch0 -p1
%build
# needed for patch0
autoreconf -i
%configure \
--disable-static \
--disable-fakemetadata \
@ -100,6 +108,9 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/*
%{_libdir}/grilo-%{release_version}/*.xml
%changelog
* Thu Dec 19 2013 Adam Williamson <awilliam@redhat.com> - 0.2.9-3
- patch to build against newer tracker, rebuild for tracker bump
* Thu Sep 19 2013 Kalev Lember <kalevlember@gmail.com> - 0.2.9-2
- Rebuilt for totem-pl-parser soname bump