public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-themes/vertex-theme/files/, x11-themes/vertex-theme/
@ 2016-10-08 22:58 Gilles Dartiguelongue
  0 siblings, 0 replies; only message in thread
From: Gilles Dartiguelongue @ 2016-10-08 22:58 UTC (permalink / raw
  To: gentoo-commits

commit:     d0dcfd284ad3cdd8d8ff66f22e5223824260901d
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  8 22:55:35 2016 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 22:58:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0dcfd28

x11-themes/vertex-theme: initial ebuild

Gentoo-bug: 550732

Package-Manager: portage-2.3.1

 x11-themes/vertex-theme/Manifest                   |  1 +
 .../files/configure-gtk3-version.patch             | 13 ++++++
 x11-themes/vertex-theme/metadata.xml               | 17 ++++++++
 .../vertex-theme/vertex-theme-20160329.ebuild      | 48 ++++++++++++++++++++++
 4 files changed, 79 insertions(+)

diff --git a/x11-themes/vertex-theme/Manifest b/x11-themes/vertex-theme/Manifest
new file mode 100644
index 00000000..58b77e4
--- /dev/null
+++ b/x11-themes/vertex-theme/Manifest
@@ -0,0 +1 @@
+DIST vertex-theme-20160329.tar.gz 3770162 SHA256 c075c9fc059a5b2e30e65242a000083b5f8621a5cdfebb7ac61c31e33c6cbe85 SHA512 bd63e9c5e6eadb7ea9a8a96c1131e3d55a2a715a399a7b5035fec1f6c2b89ee534e46b6e38ec0272d4cbcb05839b40d4a3fa0cabd4b8276a18c6fb059afe1c7d WHIRLPOOL fb62a45dd043363057f24cfe90691c5bbba5edbf16d9c8eabd56c519bdf9bfe884d9baa814cc5981687ad25e22c2d9f7b7fb2dd0a375499630744ca5a75baf3b

diff --git a/x11-themes/vertex-theme/files/configure-gtk3-version.patch b/x11-themes/vertex-theme/files/configure-gtk3-version.patch
new file mode 100644
index 00000000..3e0a97d
--- /dev/null
+++ b/x11-themes/vertex-theme/files/configure-gtk3-version.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac	2016-10-09 00:24:41.507447888 +0200
++++ b/configure.ac	2016-10-09 00:29:22.550927024 +0200
+@@ -22,7 +22,9 @@
+ VERTEX_ENABLE([UNITY],       [unity],       [Unity],        [disable])
+ VERTEX_ENABLE([XFWM],        [xfwm],        [XFWM],         [disable])
+ 
+-VERTEX_GNOME
++AC_ARG_WITH(gnome, AS_HELP_STRING([--with-gnome]),
++            [GNOME_VERSION=$withval], [GNOME_VERSION=3.20])
++AC_SUBST([GNOME_VERSION])
+ 
+ AC_CONFIG_FILES([
+     common/Makefile

diff --git a/x11-themes/vertex-theme/metadata.xml b/x11-themes/vertex-theme/metadata.xml
new file mode 100644
index 00000000..635b15b
--- /dev/null
+++ b/x11-themes/vertex-theme/metadata.xml
@@ -0,0 +1,17 @@
+<?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>
+	<upstream>
+		<remote-id type="github">horst3180/vertex-theme</remote-id>
+	</upstream>
+	<use>
+		<flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag>
+		<flag name="mate">Install Metacity theme for <pkg>mate-base/mate</pkg></flag>
+		<flag name="gnome-shell">Install theme for <pkg>gnome-base/gnome-shell</pkg></flag>
+		<flag name="xfce">Install theme for <pkg>xfce-base/xfwm4</pkg></flag>
+	</use>
+</pkgmetadata>

diff --git a/x11-themes/vertex-theme/vertex-theme-20160329.ebuild b/x11-themes/vertex-theme/vertex-theme-20160329.ebuild
new file mode 100644
index 00000000..1597700
--- /dev/null
+++ b/x11-themes/vertex-theme/vertex-theme-20160329.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Vertex theme for GTK+ based desktops"
+HOMEPAGE="https://github.com/horst3180/vertex-theme"
+SRC_URI="https://github.com/horst3180/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cinnamon gnome-shell mate xfce"
+
+RDEPEND="
+	x11-themes/gnome-themes-standard
+	x11-themes/gtk-engines-murrine
+	cinnamon? ( >=x11-libs/gtk+-3.20:3 )
+	gnome-shell? ( >=x11-libs/gtk+-3.20:3 )
+"
+DEPEND="
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	# Do not let configure try to figure out gtk+:3 version installed
+	# See also https://github.com/horst3180/arc-theme/issues/436 and 484
+	"${FILESDIR}"/configure-gtk3-version.patch
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		--disable-unity \
+		--enable-gtk2 \
+		--enable-gtk3 \
+		--with-gnome=3.20 \
+		$(use_enable cinnamon) \
+		$(use_enable gnome-shell) \
+		$(use_enable mate metacity) \
+		$(use_enable xfce xfwm)
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-08 22:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-08 22:58 [gentoo-commits] repo/gentoo:master commit in: x11-themes/vertex-theme/files/, x11-themes/vertex-theme/ Gilles Dartiguelongue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox