From a5b65c81168c90928784a1e92cda84ed5d6b9eb3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Sep 2019 19:33:39 +0100 Subject: gentoo resync : 25.09.2019 --- .../gnome-desktop/gnome-desktop-3.32.2.ebuild | 79 ++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 gnome-base/gnome-desktop/gnome-desktop-3.32.2.ebuild (limited to 'gnome-base/gnome-desktop/gnome-desktop-3.32.2.ebuild') diff --git a/gnome-base/gnome-desktop/gnome-desktop-3.32.2.ebuild b/gnome-base/gnome-desktop/gnome-desktop-3.32.2.ebuild new file mode 100644 index 000000000000..c33b430ccf5a --- /dev/null +++ b/gnome-base/gnome-desktop/gnome-desktop-3.32.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit gnome.org gnome2-utils meson virtualx xdg + +DESCRIPTION="Library with common API for various GNOME modules" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-desktop/" +SRC_URI+=" https://dev.gentoo.org/~leio/distfiles/${P}-patchset.tar.xz" + +LICENSE="GPL-2+ LGPL-2+ FDL-1.1+" +SLOT="3/17" # subslot = libgnome-desktop-3 soname version +IUSE="debug gtk-doc +introspection seccomp udev" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris" + +# cairo[X] needed for gnome-bg +COMMON_DEPEND=" + >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?] + >=x11-libs/gtk+-3.3.6:3[X,introspection?] + >=dev-libs/glib-2.53.0:2 + >=gnome-base/gsettings-desktop-schemas-3.27.0[introspection?] + x11-misc/xkeyboard-config + app-text/iso-codes + x11-libs/libX11 + udev? ( + sys-apps/hwids + virtual/libudev:= ) + seccomp? ( sys-libs/libseccomp ) + + x11-libs/cairo:=[X] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +DEPEND="${COMMON_DEPEND} + media-libs/fontconfig +" +RDEPEND="${COMMON_DEPEND} + seccomp? ( sys-apps/bubblewrap ) +" +BDEPEND=" + app-text/docbook-xml-dtd:4.1.2 + dev-util/gdbus-codegen + gtk-doc? ( >=dev-util/gtk-doc-1.14 ) + dev-util/itstool + >=sys-devel/gettext-0.19.8 + x11-base/xorg-proto + virtual/pkgconfig +" +# Includes X11/Xatom.h in libgnome-desktop/gnome-bg.c which comes from xorg-proto + +PATCHES=( + # Translation updates and nvidia builtin display detection fix from origin/gnome-3-32 + "${WORKDIR}"/patches/ + "${FILESDIR}"/${PV}-optional-introspection.patch # add introspection meson option + "${FILESDIR}"/${PV}-fix-tests-without-locale.patch # fix tests when he_IL.utf8 or other tested locales not present +) + +src_prepare() { + # Don't build manual test programs that will never get run + sed -i -e "/'test-.*'/d" libgnome-desktop/meson.build || die + xdg_src_prepare +} + +src_configure() { + local emesonargs=( + -Dgnome_distributor=Gentoo + -Ddate_in_gnome_version=true + -Ddesktop_docs=true + $(meson_use debug debug_tools) + $(meson_use introspection) + $(meson_feature udev) + $(meson_use gtk-doc gtk_doc) + -Dinstalled_tests=false + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} -- cgit v1.2.3