diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2016-10-09 00:55:35 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2016-10-09 00:58:05 +0200 |
commit | d0dcfd284ad3cdd8d8ff66f22e5223824260901d (patch) | |
tree | c902f209f00b1a30322006ab0d5e0640baea75b0 /x11-themes | |
parent | x11-themes/zukitwo-shell: add transition bump to x11-themes/zuki-themes (diff) | |
download | gentoo-d0dcfd284ad3cdd8d8ff66f22e5223824260901d.tar.gz gentoo-d0dcfd284ad3cdd8d8ff66f22e5223824260901d.tar.bz2 gentoo-d0dcfd284ad3cdd8d8ff66f22e5223824260901d.zip |
x11-themes/vertex-theme: initial ebuild
Gentoo-bug: 550732
Package-Manager: portage-2.3.1
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/vertex-theme/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/vertex-theme/files/configure-gtk3-version.patch | 13 | ||||
-rw-r--r-- | x11-themes/vertex-theme/metadata.xml | 17 | ||||
-rw-r--r-- | x11-themes/vertex-theme/vertex-theme-20160329.ebuild | 48 |
4 files changed, 79 insertions, 0 deletions
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 @@ +<?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 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) +} |