Created
July 6, 2018 09:43
-
-
Save lonsagisawa/0f095fa0221aafda8882dc851ef6c2e5 to your computer and use it in GitHub Desktop.
New upstream Arc GTK theme for Gentoo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 1999-2017 Gentoo Foundation | |
# Distributed under the terms of the GNU General Public License v2 | |
EAPI=6 | |
inherit autotools | |
DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" | |
HOMEPAGE="https://github.com/NicoHood/arc-theme" | |
SRC_URI="https://github.com/NicoHood/${PN}/releases/download/${PV}/${P}.tar.xz -> ${P}.tar.xz" | |
LICENSE="GPL-3" | |
SLOT="0" | |
KEYWORDS="~amd64 ~arm ~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="dev-lang/sassc | |
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 )" | |
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) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment