x11-themes/zuki-themes: Version bump to 4.0

Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
Matt Turner
2022-05-09 17:51:01 -04:00
parent d44581b8b2
commit a89a78c225
3 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST zuki-themes-3.32.2.tar.gz 915367 BLAKE2B bfb19a85628daae10043d62e5f63560dd16a01fe78e59dc7adf2443a3c6ee9400e60d63b4e08d326553e580232ad9d29968fb94bd4793a1094764725c3354cf1 SHA512 4c335a72d357c8a610f9a6aea8b82f3836d1d99f64324ecb30345f7487863b8839c28ee215c9c9efa2ba61b5c5f1945e3e03dd652e0d94c0d5dcf1bf0965e90b
DIST zuki-themes-4.0.tar.gz 585870 BLAKE2B d8a11c9193dc4b97cd05296d6cc08a75e3dab85b2b8330b14fb8e0bdbaf0ed188c38a7e872a92a161332ac288afd7178d9cee760f242aaa120286c4d72859f1f SHA512 0640613de612821035c9ebdbbe8c03f2c500e0ab80369b87be61483c2fe38b2a38b4909c3525daff0c41dad2ee5da060c3b4d7a6ccb7cbd27d7154a131f3aef6

View File

@@ -10,6 +10,7 @@
</upstream>
<use>
<flag name="gnome-shell">Install theme for <pkg>gnome-base/gnome-shell</pkg></flag>
<flag name="gtk2">Install GTK+2 theme</flag>
<flag name="mate">Install Metacity theme for <pkg>mate-base/mate</pkg></flag>
<flag name="xfce">Install theme for <pkg>xfce-base/xfwm4</pkg></flag>
</use>

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
DESCRIPTION="Zuki themes for GTK, gnome-shell and more"
HOMEPAGE="https://github.com/lassekongo83/zuki-themes"
SRC_URI="https://github.com/lassekongo83/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gnome-shell gtk2 xfce"
DEPEND=""
RDEPEND="
>=x11-themes/gnome-themes-standard-3.6
gtk2? ( >=x11-themes/gtk-engines-murrine-0.98.1.1 )
"
BDEPEND="dev-lang/sassc"
src_install() {
meson_src_install
if ! use gnome-shell; then
rm -r "${ED}"/usr/share/themes/Zuki-shell || die
fi
if ! use gtk2; then
rm -r "${ED}"/usr/share/themes/*/gtk-2.0 || die
fi
if ! use xfce; then
rm -r "${ED}"/usr/share/themes/*/xfwm4 || die
fi
}