diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-09-20 20:52:00 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-09-20 20:56:59 +0100 |
commit | 5274fa3943a272e4ff85c6bcb372ff3746445a48 (patch) | |
tree | 8bef1ab4132b3164755ac2b1eafd199b2879ba6c /x11-themes/arc-theme | |
parent | app-forensics/quickfuzz: update snapshot and live ebuild. all patches are ups... (diff) | |
download | gentoo-5274fa3943a272e4ff85c6bcb372ff3746445a48.tar.gz gentoo-5274fa3943a272e4ff85c6bcb372ff3746445a48.tar.bz2 gentoo-5274fa3943a272e4ff85c6bcb372ff3746445a48.zip |
x11-themes/arc-theme: New package, fixes bug #585566
Package-Manager: portage-2.3.1
Diffstat (limited to 'x11-themes/arc-theme')
-rw-r--r-- | x11-themes/arc-theme/Manifest | 1 | ||||
-rw-r--r-- | x11-themes/arc-theme/arc-theme-20160605.ebuild | 46 | ||||
-rw-r--r-- | x11-themes/arc-theme/files/configure-gtk3.patch | 26 | ||||
-rw-r--r-- | x11-themes/arc-theme/metadata.xml | 19 |
4 files changed, 92 insertions, 0 deletions
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest new file mode 100644 index 000000000000..8b0aa35a170e --- /dev/null +++ b/x11-themes/arc-theme/Manifest @@ -0,0 +1 @@ +DIST arc-theme-20160605.tar.gz 1413807 SHA256 c61fad735e53d46db6416f0e067c3fd0c97330dc4b74a0b9b012a9d6c300026b SHA512 e8905d4c5bf3a2881243db12ce23972180edf95873eb1533cbeb0a582f8f684fdcbaa7df9b314354d0cb83d5e462e45ce07561dfac706b4fceaa5d350b2357e9 WHIRLPOOL d739793a29d725b83a8de169727602ee3bb223b612eaf351966f9060d0128aec58d716e472b2f3a6dc087b390f6f22184cecf46cb5f05cdcbfc3bcfa168720c3 diff --git a/x11-themes/arc-theme/arc-theme-20160605.ebuild b/x11-themes/arc-theme/arc-theme-20160605.ebuild new file mode 100644 index 000000000000..f987c65b33c9 --- /dev/null +++ b/x11-themes/arc-theme/arc-theme-20160605.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/arc-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) +} diff --git a/x11-themes/arc-theme/files/configure-gtk3.patch b/x11-themes/arc-theme/files/configure-gtk3.patch new file mode 100644 index 000000000000..23e69c7bd2dc --- /dev/null +++ b/x11-themes/arc-theme/files/configure-gtk3.patch @@ -0,0 +1,26 @@ +From f416c04a979a6616bb5471c5982555bcac5bf346 Mon Sep 17 00:00:00 2001 +From: James Le Cuirot <chewi@gentoo.org> +Date: Tue, 20 Sep 2016 13:29:44 +0100 +Subject: [PATCH] Don't require GTK+3 at configure time when it's not needed + +It's not needed when --disable-gtk3 --disable-gnome-shell is given. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index b27f5cd..dc8098b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -24,7 +24,7 @@ ARC_ENABLE([UNITY], [unity], [Unity], [disable]) + ARC_ENABLE([XFWM], [xfwm], [XFWM], [disable]) + ARC_ENABLE([TRANSPARENCY], [transparency], [transparency], [disable]) + +-ARC_GNOME ++AS_IF([test "x$ENABLE_GNOME_SHELL$ENABLE_GTK3" != xnono], [ARC_GNOME]) + + AC_CONFIG_FILES([ + common/Makefile +-- +2.10.0 + diff --git a/x11-themes/arc-theme/metadata.xml b/x11-themes/arc-theme/metadata.xml new file mode 100644 index 000000000000..33dd600d4218 --- /dev/null +++ b/x11-themes/arc-theme/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chewi@gentoo.org</email> + <name>James Le Cuirot</name> + </maintainer> + <upstream> + <remote-id type="github">horst3180/arc-theme</remote-id> + </upstream> + <use> + <flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag> + <flag name="gtk2">Install GTK+2 theme</flag> + <flag name="gtk3">Install GTK+3 theme</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> |