From d8f507e3f741f21205ebec4e7aba023ceb5553c14f5cf04539edf4fa4e981d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 20 Aug 2019 01:33:28 +0000 Subject: [PATCH] Accepting request 724647 from home:iznogood:branches:multimedia:libs Loose the unneeded gtk3 and friends build dependency OBS-URL: https://build.opensuse.org/request/show/724647 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer-plugins-base?expand=0&rev=138 --- gstreamer-plugins-base.changes | 14 ++++++++++++++ gstreamer-plugins-base.spec | 20 +++++++++++--------- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/gstreamer-plugins-base.changes b/gstreamer-plugins-base.changes index 7e43e95..26d82a4 100644 --- a/gstreamer-plugins-base.changes +++ b/gstreamer-plugins-base.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Aug 19 20:47:06 UTC 2019 - Bjørn Lie + +- Drop pkgconfig(gdk-pixbuf-2.0), pkgconfig(gtk+-3.0) and + pkgconfig(gtk+-x11-3.0) BuildRequires and pass --disable-examples + to configure (we already do in meson conditional): Only needed to + build the examples. +- Add explicit pkgconfig(wayland-protocols) BuildRequires: + Previously pulled in by gtk3 dependency. +- Add explicit conditional pkgconfig(cairo) BuildRequires for + openSUSE versions older than current Tumbleweed, workaround bug + in pangocairo dependencies in those releases. Also previously + pulled in by gtk3 dependency. + ------------------------------------------------------------------- Wed Jul 24 12:40:14 UTC 2019 - Martin Liška diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec index 5988961..31b12a0 100644 --- a/gstreamer-plugins-base.spec +++ b/gstreamer-plugins-base.spec @@ -58,10 +58,12 @@ BuildRequires: python3-xml BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) >= 0.9.1 +%if 0%{?suse_version} < 1550 +BuildRequires: pkgconfig(cairo) +%endif BuildRequires: pkgconfig(egl) BuildRequires: pkgconfig(freetype2) >= 2.0.9 BuildRequires: pkgconfig(gbm) -BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-unix-2.0) >= 2.40 BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glesv1_cm) @@ -69,8 +71,6 @@ BuildRequires: pkgconfig(glesv2) BuildRequires: pkgconfig(glib-2.0) >= 2.40 BuildRequires: pkgconfig(gmodule-no-export-2.0) BuildRequires: pkgconfig(gstreamer-1.0) >= %{version} -BuildRequires: pkgconfig(gtk+-3.0) >= 3.10 -BuildRequires: pkgconfig(gtk+-x11-3.0) >= 3.0.0 BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libdrm) >= 2.4.55 @@ -86,6 +86,7 @@ BuildRequires: pkgconfig(vorbis) >= 1.0 BuildRequires: pkgconfig(vorbisenc) >= 1.0 BuildRequires: pkgconfig(wayland-client) >= 1.0 BuildRequires: pkgconfig(wayland-cursor) >= 1.0 +BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xext) @@ -488,13 +489,14 @@ export PYTHON=%{_bindir}/python3 %{meson_build} %else %configure\ - --with-package-name='openSUSE GStreamer-plugins-base package'\ - --with-package-origin='http://download.opensuse.org'\ - --disable-static\ - --enable-gtk-doc\ - --enable-introspection\ + --with-package-name='openSUSE GStreamer-plugins-base package' \ + --with-package-origin='http://download.opensuse.org' \ + --disable-static \ + --enable-gtk-doc \ + --enable-introspection \ + --disable-examples \ %if 0%{?is_opensuse} - --enable-orc\ + --enable-orc \ %endif %{nil} %make_build