aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSobhan Mohammadpour <sobhan@gentoo.org>2019-09-14 17:00:05 -0400
committerSobhan Mohammadpour <sobhan@gentoo.org>2019-09-14 17:00:05 -0400
commit8e70712c5f69e4270a77c83c0d0ba8a92af93615 (patch)
tree06f8a13a6c841899a14527be8e076a7bce5304fe
parentgnome-base/nautilus: add 3.34.0 (diff)
downloadgnome-8e70712c5f69e4270a77c83c0d0ba8a92af93615.tar.gz
gnome-8e70712c5f69e4270a77c83c0d0ba8a92af93615.tar.bz2
gnome-8e70712c5f69e4270a77c83c0d0ba8a92af93615.zip
gnome-base/gnome-desktop: add 3.34
Package-Manager: Portage-2.3.76, Repoman-2.3.17
-rw-r--r--gnome-base/gnome-desktop/Manifest1
-rw-r--r--gnome-base/gnome-desktop/files/3.34.0-make-seccomp-optional.patch39
-rw-r--r--gnome-base/gnome-desktop/gnome-desktop-3.34.0.ebuild62
-rw-r--r--gnome-base/gnome-desktop/metadata.xml8
4 files changed, 110 insertions, 0 deletions
diff --git a/gnome-base/gnome-desktop/Manifest b/gnome-base/gnome-desktop/Manifest
new file mode 100644
index 00000000..56a7d389
--- /dev/null
+++ b/gnome-base/gnome-desktop/Manifest
@@ -0,0 +1 @@
+DIST gnome-desktop-3.34.0.tar.xz 712500 BLAKE2B 913f4447b8353878993513b0e20425c5dd66b4e0857ed454936b5df6c4b6ae314419e4bdc7e7bedc204a56a7d0d2c53ad953567340716a4e2e899ef06433aaea SHA512 b98e5001e4177c5965307cbf8c3ed799aab95efecbfc68c8558234269fd9513064fb386e3eaea0161716f0aa4eb4fac8837ee78e6746235a6617159112c5aecb
diff --git a/gnome-base/gnome-desktop/files/3.34.0-make-seccomp-optional.patch b/gnome-base/gnome-desktop/files/3.34.0-make-seccomp-optional.patch
new file mode 100644
index 00000000..9112e36c
--- /dev/null
+++ b/gnome-base/gnome-desktop/files/3.34.0-make-seccomp-optional.patch
@@ -0,0 +1,39 @@
+From ecaf36f478d160618c1b9a23ed1c17f09a716c6f Mon Sep 17 00:00:00 2001
+From: Sobhan Mohammadpour <sobhan@gentoo.org>
+Date: Sat, 14 Sep 2019 16:21:18 -0400
+Subject: [PATCH] make seccomp optional
+
+---
+ meson.build | 2 +-
+ meson_options.txt | 5 +++++
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 6781ca7..9361f26 100644
+--- a/meson.build
++++ b/meson.build
+@@ -57,7 +57,7 @@ host_os = host_machine.system()
+ host_cpu = host_machine.cpu()
+ supported_os = ['linux']
+ unsupported_cpus = ['alpha', 'ia64', 'm68k', 'sh4', 'sparc', 'sparc64']
+-if supported_os.contains(host_os) and not unsupported_cpus.contains(host_cpu)
++if supported_os.contains(host_os) and not unsupported_cpus.contains(host_cpu) and get_option('seccomp')
+ seccomp_dep = dependency('libseccomp')
+ else
+ seccomp_dep = dependency('', required: false)
+diff --git a/meson_options.txt b/meson_options.txt
+index e3402a1..a7e7f2e 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -28,3 +28,8 @@ option('gtk_doc',
+ option('installed_tests',
+ type: 'boolean', value: false, description: 'Enable installed tests'
+ )
++
++option('seccomp',
++ type: 'boolean', value: true,
++ description: 'add seccomp support'
++)
+--
+2.23.0
+
diff --git a/gnome-base/gnome-desktop/gnome-desktop-3.34.0.ebuild b/gnome-base/gnome-desktop/gnome-desktop-3.34.0.ebuild
new file mode 100644
index 00000000..259eb8f2
--- /dev/null
+++ b/gnome-base/gnome-desktop/gnome-desktop-3.34.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+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/"
+
+LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
+SLOT="3/17" # subslot = libgnome-desktop-3 soname version
+IUSE="debug doc +introspection gtk-doc 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="
+ app-text/iso-codes
+ >=dev-libs/glib-2.53.0:2
+ >=x11-libs/gdk-pixbuf-2.36.5:2[introspection?]
+ >=x11-libs/gtk+-3.3.6:3[X,introspection?]
+ x11-libs/cairo:=[X]
+ x11-libs/libX11
+ x11-misc/xkeyboard-config
+ >=gnome-base/gsettings-desktop-schemas-3.27.0
+ introspection? ( >=dev-libs/gobject-introspection-0.9.7:= )
+ seccomp? ( sys-libs/libseccomp )
+ udev? (
+ sys-apps/hwids
+ virtual/libudev:= )
+"
+RDEPEND="${COMMON_DEPEND}
+ !<gnome-base/gnome-desktop-2.32.1-r1:2[doc]
+ seccomp? ( sys-apps/bubblewrap )
+"
+DEPEND="${COMMON_DEPEND}
+ app-text/docbook-xml-dtd:4.1.2
+ dev-util/gdbus-codegen
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ x11-base/xorg-proto
+ virtual/pkgconfig
+ media-libs/fontconfig
+ app-text/yelp-tools
+"
+PATCHES=(
+ "${FILESDIR}/${PV}-make-seccomp-optional.patch"
+)
+src_configure() {
+ local emesonargs=(
+ -Dgnome_distributor=Gentoo
+ $(meson_use debug debug_tools)
+ -Dudev=$(usex udev enabled disabled)
+ $(meson_use gtk-doc gtk_doc)
+ $(meson_use doc desktop_docs)
+ $(meson_use seccomp)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}
diff --git a/gnome-base/gnome-desktop/metadata.xml b/gnome-base/gnome-desktop/metadata.xml
new file mode 100644
index 00000000..996e7cac
--- /dev/null
+++ b/gnome-base/gnome-desktop/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+</pkgmetadata>