x11-themes/vertex-theme: initial ebuild

Gentoo-bug: 550732

Package-Manager: portage-2.3.1
This commit is contained in:
Gilles Dartiguelongue
2016-10-09 00:55:35 +02:00
parent 6885efef1f
commit d0dcfd284a
4 changed files with 79 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST vertex-theme-20160329.tar.gz 3770162 SHA256 c075c9fc059a5b2e30e65242a000083b5f8621a5cdfebb7ac61c31e33c6cbe85 SHA512 bd63e9c5e6eadb7ea9a8a96c1131e3d55a2a715a399a7b5035fec1f6c2b89ee534e46b6e38ec0272d4cbcb05839b40d4a3fa0cabd4b8276a18c6fb059afe1c7d WHIRLPOOL fb62a45dd043363057f24cfe90691c5bbba5edbf16d9c8eabd56c519bdf9bfe884d9baa814cc5981687ad25e22c2d9f7b7fb2dd0a375499630744ca5a75baf3b

View File

@@ -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

View File

@@ -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>

View File

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