1 |
commit: a89a78c22555f08ea08502800447bbfb6c80573c |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 21:51:01 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 22:08:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a89a78c2 |
7 |
|
8 |
x11-themes/zuki-themes: Version bump to 4.0 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-themes/zuki-themes/Manifest | 1 + |
13 |
x11-themes/zuki-themes/metadata.xml | 1 + |
14 |
x11-themes/zuki-themes/zuki-themes-4.0.ebuild | 38 +++++++++++++++++++++++++++ |
15 |
3 files changed, 40 insertions(+) |
16 |
|
17 |
diff --git a/x11-themes/zuki-themes/Manifest b/x11-themes/zuki-themes/Manifest |
18 |
index 701fcd609a50..2ec36112c546 100644 |
19 |
--- a/x11-themes/zuki-themes/Manifest |
20 |
+++ b/x11-themes/zuki-themes/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST zuki-themes-3.32.2.tar.gz 915367 BLAKE2B bfb19a85628daae10043d62e5f63560dd16a01fe78e59dc7adf2443a3c6ee9400e60d63b4e08d326553e580232ad9d29968fb94bd4793a1094764725c3354cf1 SHA512 4c335a72d357c8a610f9a6aea8b82f3836d1d99f64324ecb30345f7487863b8839c28ee215c9c9efa2ba61b5c5f1945e3e03dd652e0d94c0d5dcf1bf0965e90b |
23 |
+DIST zuki-themes-4.0.tar.gz 585870 BLAKE2B d8a11c9193dc4b97cd05296d6cc08a75e3dab85b2b8330b14fb8e0bdbaf0ed188c38a7e872a92a161332ac288afd7178d9cee760f242aaa120286c4d72859f1f SHA512 0640613de612821035c9ebdbbe8c03f2c500e0ab80369b87be61483c2fe38b2a38b4909c3525daff0c41dad2ee5da060c3b4d7a6ccb7cbd27d7154a131f3aef6 |
24 |
|
25 |
diff --git a/x11-themes/zuki-themes/metadata.xml b/x11-themes/zuki-themes/metadata.xml |
26 |
index cdf1f06fd137..94c104e1926a 100644 |
27 |
--- a/x11-themes/zuki-themes/metadata.xml |
28 |
+++ b/x11-themes/zuki-themes/metadata.xml |
29 |
@@ -10,6 +10,7 @@ |
30 |
</upstream> |
31 |
<use> |
32 |
<flag name="gnome-shell">Install theme for <pkg>gnome-base/gnome-shell</pkg></flag> |
33 |
+ <flag name="gtk2">Install GTK+2 theme</flag> |
34 |
<flag name="mate">Install Metacity theme for <pkg>mate-base/mate</pkg></flag> |
35 |
<flag name="xfce">Install theme for <pkg>xfce-base/xfwm4</pkg></flag> |
36 |
</use> |
37 |
|
38 |
diff --git a/x11-themes/zuki-themes/zuki-themes-4.0.ebuild b/x11-themes/zuki-themes/zuki-themes-4.0.ebuild |
39 |
new file mode 100644 |
40 |
index 000000000000..452d268f083e |
41 |
--- /dev/null |
42 |
+++ b/x11-themes/zuki-themes/zuki-themes-4.0.ebuild |
43 |
@@ -0,0 +1,38 @@ |
44 |
+# Copyright 1999-2022 Gentoo Authors |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=8 |
48 |
+ |
49 |
+inherit meson |
50 |
+ |
51 |
+DESCRIPTION="Zuki themes for GTK, gnome-shell and more" |
52 |
+HOMEPAGE="https://github.com/lassekongo83/zuki-themes" |
53 |
+SRC_URI="https://github.com/lassekongo83/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
54 |
+ |
55 |
+LICENSE="GPL-3" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~x86" |
58 |
+IUSE="gnome-shell gtk2 xfce" |
59 |
+ |
60 |
+DEPEND="" |
61 |
+RDEPEND=" |
62 |
+ >=x11-themes/gnome-themes-standard-3.6 |
63 |
+ gtk2? ( >=x11-themes/gtk-engines-murrine-0.98.1.1 ) |
64 |
+" |
65 |
+BDEPEND="dev-lang/sassc" |
66 |
+ |
67 |
+src_install() { |
68 |
+ meson_src_install |
69 |
+ |
70 |
+ if ! use gnome-shell; then |
71 |
+ rm -r "${ED}"/usr/share/themes/Zuki-shell || die |
72 |
+ fi |
73 |
+ |
74 |
+ if ! use gtk2; then |
75 |
+ rm -r "${ED}"/usr/share/themes/*/gtk-2.0 || die |
76 |
+ fi |
77 |
+ |
78 |
+ if ! use xfce; then |
79 |
+ rm -r "${ED}"/usr/share/themes/*/xfwm4 || die |
80 |
+ fi |
81 |
+} |