diff --git a/x11-themes/vertex-theme/Manifest b/x11-themes/vertex-theme/Manifest new file mode 100644 index 0000000..f55deca --- /dev/null +++ b/x11-themes/vertex-theme/Manifest @@ -0,0 +1,3 @@ +AUX configure-gtk3.patch 432 SHA256 709c83ddb94fb29ac7aba2068e1dc0b2256865309cce344113c93bd81a8108fa SHA512 18b49d972b7980aae5c38feb2dcdbd3e1e1c979342f2df542a968726dc995921ec1a8f4b1f4b4da9f6f5c9573f0ce723d1284f9a46fcbcaad35c7a33731fdc07 WHIRLPOOL abe69f2cb22899f23356484f2137f02a7e3d41a57007cdfa4c7ab10f9ea048676710cde2d06d473feb7024b53e2197e4bd51774a6d5d78fda1087d5b4ecfde86 +DIST vertex-theme-20160329.tar.gz 3770162 SHA256 c075c9fc059a5b2e30e65242a000083b5f8621a5cdfebb7ac61c31e33c6cbe85 SHA512 bd63e9c5e6eadb7ea9a8a96c1131e3d55a2a715a399a7b5035fec1f6c2b89ee534e46b6e38ec0272d4cbcb05839b40d4a3fa0cabd4b8276a18c6fb059afe1c7d WHIRLPOOL fb62a45dd043363057f24cfe90691c5bbba5edbf16d9c8eabd56c519bdf9bfe884d9baa814cc5981687ad25e22c2d9f7b7fb2dd0a375499630744ca5a75baf3b +EBUILD vertex-theme-20160329.ebuild 1217 SHA256 184dfada802cc08d55742ef2b041911b3b68e7ea601ed4fc1319977db148eb97 SHA512 c54bf1d18f05518de023760cd8c52eb4c7f02ea892640e5c4cd7a552c00a1d7552f6808e79aa06931758cec5ec39e3f9b4d87637f534eb673aeaadb62559cd6a WHIRLPOOL faec6fb92e8dfe2dd0190a64f53e400e1ea2057a91c491a1d545fa43f4252e5de8d05c314ed42afc6b50053a4087cb6dba8fca358c09a84c06fdf5e27d7fe91e diff --git a/x11-themes/vertex-theme/files/configure-gtk3.patch b/x11-themes/vertex-theme/files/configure-gtk3.patch new file mode 100644 index 0000000..3f1a57f --- /dev/null +++ b/x11-themes/vertex-theme/files/configure-gtk3.patch @@ -0,0 +1,11 @@ +--- vertex-theme/configure.ac.orig 2016-10-07 18:04:58.983884972 -0700 ++++ vertex-theme/configure.ac 2016-10-07 18:05:32.210976678 -0700 +@@ -22,7 +22,7 @@ + VERTEX_ENABLE([UNITY], [unity], [Unity], [disable]) + VERTEX_ENABLE([XFWM], [xfwm], [XFWM], [disable]) + +-VERTEX_GNOME ++AS_IF([test "x$ENABLE_GNOME_SHELL$ENABLE_GTK3" != xnono], [VERTEX_GNOME]) + + AC_CONFIG_FILES([ + common/Makefile 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 0000000..1257f8a --- /dev/null +++ b/x11-themes/vertex-theme/vertex-theme-20160329.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools + +DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" +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 +gtk2 +gtk3 mate xfce" + +# Supports various GTK+3 versions and uses pkg-config to determine which +# set of files to install. Updates will break it but only this fix will +# help. https://github.com/horst3180/arc-theme/pull/436 +DEPEND="gtk3? ( >=x11-libs/gtk+-3.14:3 + virtual/pkgconfig )" + +# gnome-themes-standard is only needed by GTK+2 for the Adwaita +# engine. This engine is built into GTK+3. +RDEPEND="gtk2? ( x11-themes/gnome-themes-standard + x11-themes/gtk-engines-murrine )" + +PATCHES=( + "${FILESDIR}"/configure-gtk3.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --disable-unity \ + $(use_enable cinnamon) \ + $(use_enable gtk2) \ + $(use_enable gtk3) \ + $(use_enable gnome-shell) \ + $(use_enable mate metacity) \ + $(use_enable xfce xfwm) +}