public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/vertex-theme/files/, x11-themes/vertex-theme/
Date: Sat,  8 Oct 2016 22:58:25 +0000 (UTC)	[thread overview]
Message-ID: <1475967485.d0dcfd284ad3cdd8d8ff66f22e5223824260901d.eva@gentoo> (raw)

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)
+}


                 reply	other threads:[~2016-10-08 22:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475967485.d0dcfd284ad3cdd8d8ff66f22e5223824260901d.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox