From: Gilles Dartiguelongue Date: Sat, 8 Oct 2016 22:55:35 +0000 (+0200) Subject: x11-themes/vertex-theme: initial ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d0dcfd284ad3cdd8d8ff66f22e5223824260901d;p=gentoo.git x11-themes/vertex-theme: initial ebuild Gentoo-bug: 550732 Package-Manager: portage-2.3.1 --- diff --git a/x11-themes/vertex-theme/Manifest b/x11-themes/vertex-theme/Manifest new file mode 100644 index 000000000000..58b77e405b75 --- /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 000000000000..3e0a97d614b8 --- /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 000000000000..635b15b9ca0d --- /dev/null +++ b/x11-themes/vertex-theme/metadata.xml @@ -0,0 +1,17 @@ + + + + + gnome@gentoo.org + Gentoo GNOME desktop + + + horst3180/vertex-theme + + + Install theme for gnome-extra/cinnamon + Install Metacity theme for mate-base/mate + Install theme for gnome-base/gnome-shell + Install theme for xfce-base/xfwm4 + + 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 000000000000..15977002bb32 --- /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) +}