1 |
commit: a37f1f417bfb522bbfd76ee42f8364000af56a5f |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 19 22:17:52 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 19 22:17:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37f1f41 |
7 |
|
8 |
x11-themes/arc-theme: Version bump to 20200819 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/733664 |
11 |
Package-Manager: Portage-3.0.3, Repoman-2.3.23 |
12 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
13 |
|
14 |
x11-themes/arc-theme/Manifest | 2 + |
15 |
x11-themes/arc-theme/arc-theme-20200819.ebuild | 97 ++++++++++++++++++++++++++ |
16 |
2 files changed, 99 insertions(+) |
17 |
|
18 |
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest |
19 |
index 079119201c9..9410f5f3d46 100644 |
20 |
--- a/x11-themes/arc-theme/Manifest |
21 |
+++ b/x11-themes/arc-theme/Manifest |
22 |
@@ -2,3 +2,5 @@ DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e |
23 |
DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9 |
24 |
DIST arc-theme-20200502-pngs.tar.xz 88116 BLAKE2B 18dfee1f51a0e1e272f73523617600490584d9044539717d8a4712083d6cb87751449818b38d503bbc0a8ef016690d606a7f23ba253eda48aecfbadc0cb1b483 SHA512 c25df3088c6edcd88799200e33005b56bf048dff606a06678c8cc7af6d0d84eb9237fcc76b16057bbee538ffa01ae7e983ab94dd184b140ec45d12a8d06d3a1f |
25 |
DIST arc-theme-20200502.tar.gz 1090296 BLAKE2B 10feeecee89007b6ae1aab2e7ad95f2f3513660e2d4dafccf659b0829047b0cb551b4d8e6923d409ededba2ec5ff9f6c93f0b2c3959e3a68d5e51ccbb76861d5 SHA512 95ebf8e434af1b5976ebef7489b9b5c51c919cd161cb6dc86056559f7b34c56a8d5580b74a30bf32dc1a32636f1c7633ab20ad204f6102d92509cf1e21032fcd |
26 |
+DIST arc-theme-20200819-pngs.tar.xz 85156 BLAKE2B bdfab7230d3e932b77f7dce9c7258c371fc708e0b3947fd39a718aa91f792501b8c64b38856da7673115b800e5ef2913f220ce6b909311b5d3fdbf171526d56c SHA512 d6709ad91cf8ee309606331550e43febbe200f24c07548bd3bcff646a6237bd5365d60abed8deb55317d6fb419a71627f3f9510bb117799f6fa3dd012ade992c |
27 |
+DIST arc-theme-20200819.tar.xz 238792 BLAKE2B 94f7b2f073518031c6b47f4b5b245a5c73205a859528346dde51fb1e51051617c57969d1ff2359563803360c0bc46fe368aff34a9cc606389fe6fa9e4f8d22ed SHA512 bedff15a195c21934a813ca600b88ced81c3db66b7c25ab75b7193998a89338a7888711abb213877210a62d2460300bc32d40402bdd1f6c4d8fa903999eb1b0e |
28 |
|
29 |
diff --git a/x11-themes/arc-theme/arc-theme-20200819.ebuild b/x11-themes/arc-theme/arc-theme-20200819.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..b3a90da75f7 |
32 |
--- /dev/null |
33 |
+++ b/x11-themes/arc-theme/arc-theme-20200819.ebuild |
34 |
@@ -0,0 +1,97 @@ |
35 |
+# Copyright 1999-2020 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+# USE="-* gtk2 gtk3 xfce" ebuild ${P}.ebuild clean compile |
41 |
+# cd ~portage/x11-themes/${P}/work |
42 |
+# make -j -C */common/gtk-3.0/3.18 |
43 |
+# find */common/{gtk-2.0,gtk-3.0/3.*,xfwm4} -name "*.png" ! -path "*/menubar-toolbar/*" | xargs tar Jcvf /usr/portage/distfiles/${P}-pngs.tar.xz --owner=root --group=root |
44 |
+ |
45 |
+inherit autotools |
46 |
+ |
47 |
+DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" |
48 |
+HOMEPAGE="https://github.com/jnsh/arc-theme" |
49 |
+SRC_URI="https://github.com/jnsh/${PN}/releases/download/${PV}/arc-theme-${PV}.tar.xz |
50 |
+ pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )" |
51 |
+LICENSE="GPL-3" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
54 |
+IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce" |
55 |
+ |
56 |
+SASSC_DEPEND=" |
57 |
+ dev-lang/sassc |
58 |
+" |
59 |
+ |
60 |
+SVG_DEPEND=" |
61 |
+ !pre-rendered? ( |
62 |
+ media-gfx/inkscape |
63 |
+ media-gfx/optipng |
64 |
+ ) |
65 |
+" |
66 |
+ |
67 |
+# Supports various GTK+3 versions and uses pkg-config to determine which |
68 |
+# set of files to install. Updates will break it but only this fix will |
69 |
+# help. See https://github.com/horst3180/arc-theme/pull/436. The same |
70 |
+# applies to GNOME Shell and Cinnamon but I don't know whether those are |
71 |
+# fixable. |
72 |
+BDEPEND=" |
73 |
+ cinnamon? ( |
74 |
+ ${SASSC_DEPEND} |
75 |
+ gnome-extra/cinnamon |
76 |
+ ) |
77 |
+ gnome-shell? ( |
78 |
+ ${SASSC_DEPEND} |
79 |
+ >=gnome-base/gnome-shell-3.18 |
80 |
+ ) |
81 |
+ gtk2? ( |
82 |
+ ${SVG_DEPEND} |
83 |
+ ) |
84 |
+ gtk3? ( |
85 |
+ ${SASSC_DEPEND} |
86 |
+ ${SVG_DEPEND} |
87 |
+ virtual/pkgconfig |
88 |
+ >=x11-libs/gtk+-3.18:3 |
89 |
+ ) |
90 |
+ xfce? ( |
91 |
+ ${SVG_DEPEND} |
92 |
+ ) |
93 |
+" |
94 |
+ |
95 |
+# gnome-themes-standard is only needed by GTK+2 for the Adwaita |
96 |
+# engine. This engine is built into GTK+3. |
97 |
+RDEPEND=" |
98 |
+ gtk2? ( |
99 |
+ x11-themes/gnome-themes-standard |
100 |
+ x11-themes/gtk-engines-murrine |
101 |
+ ) |
102 |
+" |
103 |
+ |
104 |
+src_prepare() { |
105 |
+ default |
106 |
+ eautoreconf |
107 |
+} |
108 |
+ |
109 |
+src_configure() { |
110 |
+ use pre-rendered && |
111 |
+ export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false |
112 |
+ |
113 |
+ econf \ |
114 |
+ --disable-plank \ |
115 |
+ --disable-unity \ |
116 |
+ $(use_enable cinnamon) \ |
117 |
+ $(use_enable gtk2) \ |
118 |
+ $(use_enable gtk3) \ |
119 |
+ $(use_enable gnome-shell) \ |
120 |
+ $(use_enable mate metacity) \ |
121 |
+ $(use_enable xfce xfwm) |
122 |
+} |
123 |
+ |
124 |
+src_compile() { |
125 |
+ # fontconfig issue? |
126 |
+ # https://bugs.gentoo.org/666418#c28 |
127 |
+ use pre-rendered || |
128 |
+ addpredict "${BROOT}"/usr/share/inkscape/fonts/.uuid.TMP-XXXXXX |
129 |
+ |
130 |
+ default |
131 |
+} |