SHA256
1
0
forked from pool/ibus

Accepting request 498209 from home:ftake:branches:M17N

Add is_opensuse switch for Wayland.
python-gobject-devel came back again to Tumbleweed. So no change in spec file

OBS-URL: https://build.opensuse.org/request/show/498209
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=162
This commit is contained in:
2017-05-25 21:53:38 +00:00
committed by Git OBS Bridge
parent 655095f7d3
commit 6098dc3e6a
4 changed files with 28 additions and 15 deletions

View File

@@ -17,20 +17,16 @@
%define gtk_binary_version %(pkg-config --variable=gtk_binary_version gtk+-2.0)
%if 0%{?suse_version} == 1315
%define with_python3 0
%else
# temporary disable, 'coz ibus is not python3 ready
%define with_python3 0
%endif
%if 0%{?suse_version} > 1315
%if 0%{?is_opensuse}
%define with_wayland 1
%else
%define with_wayland 0
%endif
Name: ibus
Version: 1.5.14
Version: 1.5.16
Release: 0
Summary: Intelligent Input Bus for Linux OS
License: LGPL-2.1+
@@ -76,7 +72,7 @@ BuildRequires: dconf-devel >= 0.7.5
BuildRequires: fdupes
BuildRequires: gconf2-devel
BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 2.26.0
BuildRequires: glib2-devel >= 2.34.0
BuildRequires: gobject-introspection-devel >= 0.9.6
BuildRequires: gtk-doc >= 1.9
BuildRequires: gtk2-devel
@@ -109,11 +105,8 @@ BuildRequires: pkgconfig(wayland-client) >= 1.2.0
%endif
# BuildRequires: nodejs-emojione
BuildRequires: pkgconfig(xkbcommon)
# It seems that old vala compiler cannot build with an incompatible
# return type error among two overriding functions with
# "GLib.Variant?" type
# 13.1 support should be dropped after the cause is confirmed
BuildRequires: vala >= 0.26.0
# copy_deep method is supported since 0.31.1
BuildRequires: vala >= 0.31.1
Requires: dbus-1-python
Requires: dconf
Requires: iso-codes