Accepting request 542936 from home:hillwood:branches:M17N
- Enable emoji support for openSUSE. - Use %fdupes in python3-ibus. - Enable emoji support for openSUSE. - Use %fdupes in python3-ibus. OBS-URL: https://build.opensuse.org/request/show/542936 OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=175
This commit is contained in:
20
ibus.spec
20
ibus.spec
@@ -22,9 +22,11 @@
|
||||
%if 0%{?is_opensuse}
|
||||
%define with_wayland 1
|
||||
%define with_kde 1
|
||||
%define with_emoji 1
|
||||
%else
|
||||
%define with_wayland 0
|
||||
%define with_kde 0
|
||||
%define with_emoji 0
|
||||
%endif
|
||||
|
||||
Name: ibus
|
||||
@@ -118,6 +120,11 @@ BuildRequires: pkgconfig(vapigen)
|
||||
%if %{with_wayland}
|
||||
BuildRequires: pkgconfig(wayland-client) >= 1.2.0
|
||||
%endif
|
||||
%if %{with_emoji}
|
||||
BuildRequires: nodejs-emojione
|
||||
BuildRequires: unicode-emoji
|
||||
BuildRequires: pkgconfig(cldr-emoji-annotation)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(xkbcommon)
|
||||
# copy_deep method is supported since 0.31.1
|
||||
BuildRequires: vala >= 0.31.1
|
||||
@@ -286,9 +293,13 @@ intltoolize -f
|
||||
%configure --disable-static \
|
||||
--enable-gtk3 \
|
||||
--enable-vala \
|
||||
%if %{with_emoji}
|
||||
--enable-emoji-dict \
|
||||
%else
|
||||
--disable-emoji-dict \
|
||||
%endif
|
||||
%if %{with_python3}
|
||||
--with-python=python3 \
|
||||
--with-python=python3 \
|
||||
%endif
|
||||
--enable-python-library \
|
||||
--enable-introspection \
|
||||
@@ -418,12 +429,15 @@ dconf update
|
||||
%ghost %{_sysconfdir}/dconf/db/ibus
|
||||
%dir %{_sysconfdir}/dconf/db/ibus.d
|
||||
# This file is not a config file. Users may not modify it.
|
||||
%{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings
|
||||
%{_sysconfdir}/dconf/profile/ibus
|
||||
%config %{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings
|
||||
%config %{_sysconfdir}/dconf/profile/ibus
|
||||
%{_sysconfdir}/xdg/autostart/ibus-autostart.desktop
|
||||
%{_mandir}/man1/ibus.1.gz
|
||||
%{_mandir}/man1/ibus-daemon.1.gz
|
||||
%{_mandir}/man1/ibus-setup.1.gz
|
||||
%if %{with_emoji}
|
||||
%{_mandir}/man7/ibus-emoji.7.gz
|
||||
%endif
|
||||
|
||||
%files lang -f ibus10.lang
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user