Accepting request 1130308 from GNOME:Factory

- Drop BuildRequires on pkgconfig(cairo)/pkgconfig(cairo-gobject),
  cairo is only needed for some tests. (forwarded request 1129820 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/1130308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gobject-introspection?expand=0&rev=108
This commit is contained in:
Dominique Leuenberger 2023-12-02 16:12:03 +00:00 committed by Git OBS Bridge
commit 9b1d32dcbb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 29 13:15:29 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Drop BuildRequires on pkgconfig(cairo)/pkgconfig(cairo-gobject),
cairo is only needed for some tests.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 16 12:19:42 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com> Sat Sep 16 12:19:42 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -43,8 +43,6 @@ BuildRequires: python3-Mako
BuildRequires: python3-Markdown BuildRequires: python3-Markdown
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-xml BuildRequires: python3-xml
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.75.0 BuildRequires: pkgconfig(glib-2.0) >= 2.75.0
@ -103,8 +101,9 @@ a uniform, machine readable format.
%autosetup -p1 %autosetup -p1
%build %build
# cairo is only needed for some tests, don't enable it
%meson \ %meson \
-Dcairo=enabled \ -Dcairo=disabled \
-Ddoctool=enabled \ -Ddoctool=enabled \
-Dgtk_doc=true \ -Dgtk_doc=true \
-Dpython='%{_bindir}/python3' \ -Dpython='%{_bindir}/python3' \