summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-06-22 00:52:09 +0300
committerMart Raudsepp <leio@gentoo.org>2019-06-22 00:54:30 +0300
commit9d42088f2ef49248955eb86afd88dd45ecb8511b (patch)
tree5cc0257fc962148c6bb2784a49bba9d64c5285bc /x11-wm
parentgnome-base/gnome-applets: add 3.32.0 for GNOME Flashback session (diff)
downloadgentoo-9d42088f2ef49248955eb86afd88dd45ecb8511b.tar.gz
gentoo-9d42088f2ef49248955eb86afd88dd45ecb8511b.tar.bz2
gentoo-9d42088f2ef49248955eb86afd88dd45ecb8511b.zip
x11-wm/metacity: add 3.32.0 for GNOME Flashback session
Bug: https://bugs.gentoo.org/680326 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/metacity/Manifest1
-rw-r--r--x11-wm/metacity/metacity-3.32.0.ebuild52
-rw-r--r--x11-wm/metacity/metadata.xml12
3 files changed, 65 insertions, 0 deletions
diff --git a/x11-wm/metacity/Manifest b/x11-wm/metacity/Manifest
new file mode 100644
index 000000000000..fc14f9aea695
--- /dev/null
+++ b/x11-wm/metacity/Manifest
@@ -0,0 +1 @@
+DIST metacity-3.32.0.tar.xz 2055388 BLAKE2B c8ed41e44b0a4890129fe7e79e2dcd486c986541c6b19b8873264f2c179b98c17095f19fbd93290ad253571d0c9ae5f5367df1fe1ba2ac68685139680a2e3afd SHA512 2260411b9ab07fcd1aee8152d700f1e2aa7f1f0753cae6dab82a55cac2cac186a5c9f42377a311a6f90a53ba8ba200d9f5d73a770abc76b558896cd58c30abde
diff --git a/x11-wm/metacity/metacity-3.32.0.ebuild b/x11-wm/metacity/metacity-3.32.0.ebuild
new file mode 100644
index 000000000000..1522fd20cf9a
--- /dev/null
+++ b/x11-wm/metacity/metacity-3.32.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnome2
+
+DESCRIPTION="GNOME Flashback window manager"
+HOMEPAGE="https://gitlab.gnome.org/GNOME/metacity/"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+libcanberra vulkan xinerama"
+KEYWORDS="~amd64"
+
+# TODO: libgtop could be optional, but no knob
+RDEPEND="
+ >=dev-libs/glib-2.44.0:2
+ >=x11-libs/gtk+-3.22.0:3[X]
+ >=x11-libs/pango-1.2.0[X]
+ >=x11-libs/libXcomposite-0.3
+ >=gnome-base/gsettings-desktop-schemas-3.3.0
+ x11-libs/libXfixes
+ x11-libs/libXrender
+ x11-libs/libXdamage
+ libcanberra? ( media-libs/libcanberra[gtk3] )
+ >=x11-libs/startup-notification-0.7
+ x11-libs/libXcursor
+ gnome-base/libgtop:2=
+ x11-libs/libX11
+ xinerama? ( x11-libs/libXinerama )
+ x11-libs/libXrandr
+ x11-libs/libXext
+ x11-libs/libICE
+ x11-libs/libSM
+ gnome-extra/zenity
+ vulkan? ( media-libs/vulkan-loader )
+"
+DEPEND="${RDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.4
+ x11-base/xorg-proto
+ virtual/pkgconfig
+" # autoconf-archive for eautoreconf
+
+src_configure() {
+ gnome2_src_configure \
+ --disable-static \
+ $(use_enable libcanberra canberra) \
+ $(use_enable xinerama) \
+ $(use_enable vulkan)
+}
diff --git a/x11-wm/metacity/metadata.xml b/x11-wm/metacity/metadata.xml
new file mode 100644
index 000000000000..0777242d8432
--- /dev/null
+++ b/x11-wm/metacity/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+<use>
+ <flag name="libcanberra">Enable sound event support using <pkg>media-libs/libcanberra</pkg></flag>
+ <flag name="vulkan">Enable Vulkan based compositor support via META_COMPOSITOR=vulkan environment variable</flag>
+</use>
+</pkgmetadata>