diff options
Diffstat (limited to 'x11-themes/vertex-theme/vertex-theme-20170128.ebuild')
-rw-r--r-- | x11-themes/vertex-theme/vertex-theme-20170128.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-themes/vertex-theme/vertex-theme-20170128.ebuild b/x11-themes/vertex-theme/vertex-theme-20170128.ebuild new file mode 100644 index 000000000000..79e5c37c0cba --- /dev/null +++ b/x11-themes/vertex-theme/vertex-theme-20170128.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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) +} |