1 |
commit: 8dfa67d3a528822acf8bd4c6bf75fcd22d84da8e |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 10 10:29:54 2020 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 10 10:31:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfa67d3 |
7 |
|
8 |
x11-themes/arc-theme: Bump to 20200502 snapshot, fixes Inkscape issue |
9 |
|
10 |
Upstream has changed yet again! The new repository may get merged back |
11 |
into the old but they haven't decided yet. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/700524 |
14 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
15 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
16 |
|
17 |
x11-themes/arc-theme/Manifest | 2 + |
18 |
x11-themes/arc-theme/arc-theme-20200502.ebuild | 100 +++++++++++++++++++++++++ |
19 |
x11-themes/arc-theme/metadata.xml | 2 +- |
20 |
3 files changed, 103 insertions(+), 1 deletion(-) |
21 |
|
22 |
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest |
23 |
index a52dc02a5ac..eeaa8e4d3bc 100644 |
24 |
--- a/x11-themes/arc-theme/Manifest |
25 |
+++ b/x11-themes/arc-theme/Manifest |
26 |
@@ -2,3 +2,5 @@ DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e |
27 |
DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9 |
28 |
DIST arc-theme-20190917-pngs.tar.xz 87664 BLAKE2B 8f4cd7cf4eaeef6e71113178776e35f81df1c7a86c5a4e1727ddac9e2c18f81ff51f0b8c2ca578c176fddb969fcbdef7135080c1a8851f56e1b1a33d8c2b86e6 SHA512 5ded6dd5f0c7067c8abefef8fae4620caf795f10b5fe46c30ab7b430379f3b3e2eb27ec85c752bb4a77288a640bcf6a5f4d60e19a97f96af1b31143014afde37 |
29 |
DIST arc-theme-20190917.tar.xz 308592 BLAKE2B 0ca3b6bb9c501891243755984799c404645a524fd5e65e6ed5d509d3c3b0b54d60a2219030b86d6e8a19a12106da832ff4a4fcd35ff1f02766b57d104e9e642b SHA512 da3e98e696160542fc77678193ff4fdeecc1cab7b4c1ec57e1bd850486a80547e1d688c9784f5ef422f097449f1105c071a3ff917c25a6a315fe970bedf10c6f |
30 |
+DIST arc-theme-20200502-pngs.tar.xz 88116 BLAKE2B 18dfee1f51a0e1e272f73523617600490584d9044539717d8a4712083d6cb87751449818b38d503bbc0a8ef016690d606a7f23ba253eda48aecfbadc0cb1b483 SHA512 c25df3088c6edcd88799200e33005b56bf048dff606a06678c8cc7af6d0d84eb9237fcc76b16057bbee538ffa01ae7e983ab94dd184b140ec45d12a8d06d3a1f |
31 |
+DIST arc-theme-20200502.tar.gz 1090296 BLAKE2B 10feeecee89007b6ae1aab2e7ad95f2f3513660e2d4dafccf659b0829047b0cb551b4d8e6923d409ededba2ec5ff9f6c93f0b2c3959e3a68d5e51ccbb76861d5 SHA512 95ebf8e434af1b5976ebef7489b9b5c51c919cd161cb6dc86056559f7b34c56a8d5580b74a30bf32dc1a32636f1c7633ab20ad204f6102d92509cf1e21032fcd |
32 |
|
33 |
diff --git a/x11-themes/arc-theme/arc-theme-20200502.ebuild b/x11-themes/arc-theme/arc-theme-20200502.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..1c0b07e8dd4 |
36 |
--- /dev/null |
37 |
+++ b/x11-themes/arc-theme/arc-theme-20200502.ebuild |
38 |
@@ -0,0 +1,100 @@ |
39 |
+# Copyright 1999-2020 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+COMMIT="958b9b554cde5a8be7280bdf4a908ebe833cbd81" |
45 |
+ |
46 |
+# USE="-* gtk2 gtk3 xfce" ebuild ${P}.ebuild clean compile |
47 |
+# cd ~portage/x11-themes/${P}/work |
48 |
+# make -j -C */common/gtk-3.0/3.18 |
49 |
+# 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 |
50 |
+ |
51 |
+inherit autotools |
52 |
+ |
53 |
+DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" |
54 |
+HOMEPAGE="https://github.com/jnsh/arc-theme" |
55 |
+SRC_URI="https://github.com/jnsh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz |
56 |
+ pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )" |
57 |
+LICENSE="GPL-3" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~amd64 ~arm ~ppc64 ~x86" |
60 |
+IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce" |
61 |
+ |
62 |
+SASSC_DEPEND=" |
63 |
+ dev-lang/sassc |
64 |
+" |
65 |
+ |
66 |
+SVG_DEPEND=" |
67 |
+ !pre-rendered? ( |
68 |
+ media-gfx/inkscape |
69 |
+ media-gfx/optipng |
70 |
+ ) |
71 |
+" |
72 |
+ |
73 |
+# Supports various GTK+3 versions and uses pkg-config to determine which |
74 |
+# set of files to install. Updates will break it but only this fix will |
75 |
+# help. See https://github.com/horst3180/arc-theme/pull/436. The same |
76 |
+# applies to GNOME Shell but I don't know whether that's fixable. |
77 |
+BDEPEND=" |
78 |
+ cinnamon? ( |
79 |
+ ${SASSC_DEPEND} |
80 |
+ ) |
81 |
+ gnome-shell? ( |
82 |
+ ${SASSC_DEPEND} |
83 |
+ >=gnome-base/gnome-shell-3.18 |
84 |
+ ) |
85 |
+ gtk2? ( |
86 |
+ ${SVG_DEPEND} |
87 |
+ ) |
88 |
+ gtk3? ( |
89 |
+ ${SASSC_DEPEND} |
90 |
+ ${SVG_DEPEND} |
91 |
+ virtual/pkgconfig |
92 |
+ >=x11-libs/gtk+-3.18:3 |
93 |
+ ) |
94 |
+ xfce? ( |
95 |
+ ${SVG_DEPEND} |
96 |
+ ) |
97 |
+" |
98 |
+ |
99 |
+# gnome-themes-standard is only needed by GTK+2 for the Adwaita |
100 |
+# engine. This engine is built into GTK+3. |
101 |
+RDEPEND=" |
102 |
+ gtk2? ( |
103 |
+ x11-themes/gnome-themes-standard |
104 |
+ x11-themes/gtk-engines-murrine |
105 |
+ ) |
106 |
+" |
107 |
+ |
108 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
109 |
+ |
110 |
+src_prepare() { |
111 |
+ default |
112 |
+ eautoreconf |
113 |
+} |
114 |
+ |
115 |
+src_configure() { |
116 |
+ use pre-rendered && |
117 |
+ export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false |
118 |
+ |
119 |
+ econf \ |
120 |
+ --disable-openbox \ |
121 |
+ --disable-plank \ |
122 |
+ --disable-unity \ |
123 |
+ $(use_enable cinnamon) \ |
124 |
+ $(use_enable gtk2) \ |
125 |
+ $(use_enable gtk3) \ |
126 |
+ $(use_enable gnome-shell) \ |
127 |
+ $(use_enable mate metacity) \ |
128 |
+ $(use_enable xfce xfwm) |
129 |
+} |
130 |
+ |
131 |
+src_compile() { |
132 |
+ # fontconfig issue? |
133 |
+ # https://bugs.gentoo.org/666418#c28 |
134 |
+ use pre-rendered || |
135 |
+ addpredict "${EPREFIX}"/usr/share/inkscape/fonts/.uuid.TMP-XXXXXX |
136 |
+ |
137 |
+ default |
138 |
+} |
139 |
|
140 |
diff --git a/x11-themes/arc-theme/metadata.xml b/x11-themes/arc-theme/metadata.xml |
141 |
index cec57cceb9c..7b1d8564373 100644 |
142 |
--- a/x11-themes/arc-theme/metadata.xml |
143 |
+++ b/x11-themes/arc-theme/metadata.xml |
144 |
@@ -6,7 +6,7 @@ |
145 |
<name>James Le Cuirot</name> |
146 |
</maintainer> |
147 |
<upstream> |
148 |
- <remote-id type="github">arc-design/arc-theme</remote-id> |
149 |
+ <remote-id type="github">jnsh/arc-theme</remote-id> |
150 |
</upstream> |
151 |
<use> |
152 |
<flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag> |