Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/
Date: Sat, 02 Nov 2019 11:51:00
Message-Id: 1572695438.390c169f15584a52facdbfa78a2e91f17b8c2397.chewi@gentoo
1 commit: 390c169f15584a52facdbfa78a2e91f17b8c2397
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 2 11:29:57 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 11:50:38 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390c169f
7
8 x11-themes/arc-theme: Version bump to 20190917
9
10 Bug: https://bugs.gentoo.org/699092
11 Package-Manager: Portage-2.3.78, Repoman-2.3.17
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-20190917.ebuild | 87 ++++++++++++++++++++++++++
16 x11-themes/arc-theme/metadata.xml | 2 +-
17 3 files changed, 90 insertions(+), 1 deletion(-)
18
19 diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest
20 index c23a91d5bf6..a52dc02a5ac 100644
21 --- a/x11-themes/arc-theme/Manifest
22 +++ b/x11-themes/arc-theme/Manifest
23 @@ -1,2 +1,4 @@
24 DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e74e110b4e075eb53fc0d34b5e84eeed345a9b32e948e673b445d15e74b4c27991408139861b2d80124c8d97e417ecb3fb3 SHA512 0421530b99ebbe286e111477a056e17e7aa23a63e8c7d63443c4ffcdcb053f191a05fd16e54d9fa4efa9d1c870ff500ffb0c519d6604d6d7294cc1da711de5ba
25 DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9
26 +DIST arc-theme-20190917-pngs.tar.xz 87664 BLAKE2B 8f4cd7cf4eaeef6e71113178776e35f81df1c7a86c5a4e1727ddac9e2c18f81ff51f0b8c2ca578c176fddb969fcbdef7135080c1a8851f56e1b1a33d8c2b86e6 SHA512 5ded6dd5f0c7067c8abefef8fae4620caf795f10b5fe46c30ab7b430379f3b3e2eb27ec85c752bb4a77288a640bcf6a5f4d60e19a97f96af1b31143014afde37
27 +DIST arc-theme-20190917.tar.xz 308592 BLAKE2B 0ca3b6bb9c501891243755984799c404645a524fd5e65e6ed5d509d3c3b0b54d60a2219030b86d6e8a19a12106da832ff4a4fcd35ff1f02766b57d104e9e642b SHA512 da3e98e696160542fc77678193ff4fdeecc1cab7b4c1ec57e1bd850486a80547e1d688c9784f5ef422f097449f1105c071a3ff917c25a6a315fe970bedf10c6f
28
29 diff --git a/x11-themes/arc-theme/arc-theme-20190917.ebuild b/x11-themes/arc-theme/arc-theme-20190917.ebuild
30 new file mode 100644
31 index 00000000000..99e91d87192
32 --- /dev/null
33 +++ b/x11-themes/arc-theme/arc-theme-20190917.ebuild
34 @@ -0,0 +1,87 @@
35 +# Copyright 1999-2019 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 ${P}/common/gtk-3.0/3.18
43 +# find ${P}/common/{gtk-2.0,gtk-3.0/3.*,xfwm4} -name "*.png" ! -path "*/menubar-toolbar/*" | xargs tar Jcvf /usr/portage/distfiles/${P}-pngs.tar.xz
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/arc-design/arc-theme"
49 +SRC_URI="https://github.com/arc-design/${PN}/releases/download/${PV}/${P}.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 ~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 but I don't know whether that's fixable.
71 +BDEPEND="
72 + cinnamon? (
73 + ${SASSC_DEPEND}
74 + )
75 + gnome-shell? (
76 + ${SASSC_DEPEND}
77 + >=gnome-base/gnome-shell-3.18
78 + )
79 + gtk2? (
80 + ${SVG_DEPEND}
81 + )
82 + gtk3? (
83 + ${SASSC_DEPEND}
84 + ${SVG_DEPEND}
85 + virtual/pkgconfig
86 + >=x11-libs/gtk+-3.18:3
87 + )
88 + xfce? (
89 + ${SVG_DEPEND}
90 + )
91 +"
92 +
93 +# gnome-themes-standard is only needed by GTK+2 for the Adwaita
94 +# engine. This engine is built into GTK+3.
95 +RDEPEND="
96 + gtk2? (
97 + x11-themes/gnome-themes-standard
98 + x11-themes/gtk-engines-murrine
99 + )
100 +"
101 +
102 +src_prepare() {
103 + default
104 + eautoreconf
105 +}
106 +
107 +src_configure() {
108 + use pre-rendered &&
109 + export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false
110 +
111 + econf \
112 + --disable-openbox \
113 + --disable-plank \
114 + --disable-unity \
115 + $(use_enable cinnamon) \
116 + $(use_enable gtk2) \
117 + $(use_enable gtk3) \
118 + $(use_enable gnome-shell) \
119 + $(use_enable mate metacity) \
120 + $(use_enable xfce xfwm)
121 +}
122
123 diff --git a/x11-themes/arc-theme/metadata.xml b/x11-themes/arc-theme/metadata.xml
124 index ac2d1920579..cec57cceb9c 100644
125 --- a/x11-themes/arc-theme/metadata.xml
126 +++ b/x11-themes/arc-theme/metadata.xml
127 @@ -6,7 +6,7 @@
128 <name>James Le Cuirot</name>
129 </maintainer>
130 <upstream>
131 - <remote-id type="github">horst3180/arc-theme</remote-id>
132 + <remote-id type="github">arc-design/arc-theme</remote-id>
133 </upstream>
134 <use>
135 <flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag>