- add patch: nemo-2.0.1-view-no-return.patch, fix OBS gcc checks

- add patch: nemo-2.0.1-GTK_STOCK.patch, GTK_STOCK_* deprecated

OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=21
This commit is contained in:
2013-10-22 07:11:49 +00:00
committed by Git OBS Bridge
parent 3b79dee61d
commit ec439f816c
3 changed files with 30 additions and 1 deletions

View File

@@ -31,6 +31,8 @@ Source: %{name}-%{version}.tar.gz
Patch0: nemo-2.0.1-g_list_copy_deep.patch
# PATCH-FIX-UPSTREAM marguerite@opensuse.org fix OBS gcc checks
Patch1: nemo-2.0.1-view-no-return.patch
# PATCH-FIX-UPSTREAM marguerite@opensuse.org GTK_STOCK_* is deprecated
Patch2: nemo-2.0.1-GTK_STOCK.patch
BuildRequires: fdupes
BuildRequires: gnome-common
BuildRequires: gtk-doc
@@ -55,7 +57,10 @@ BuildRequires: pkgconfig(polkit-agent-1)
%if 0%{?gnome_common_ver} == 6
BuildRequires: pkgconfig(tracker-sparql-0.14)
%endif
%if 0%{?gnome_common_ver} == 7 || 0%{?gnome_common_ver} == 10
%if 0%{?gnome_common_ver} == 7
BuildRequires: pkgconfig(tracker-sparql-0.16)
%endif
%if 0%{?gnome_common_ver} == 10
BuildRequires: pkgconfig(tracker-sparql-0.16)
%endif
BuildRequires: pkgconfig(x11)
@@ -100,6 +105,9 @@ This package provides the GObject Introspection bindings for Nemo.
%setup -q
%patch0 -p1
%patch1 -p1
%if 0%{?gnome_common_ver} == 10
%patch2 -p1
%endif
%build
NOCONFIGURE=1 ./autogen.sh