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: Fri, 28 Jun 2019 20:21:17
Message-Id: 1561753103.d6a86f168cc2e772715156befe0ad029f4d3c2bc.chewi@gentoo
1 commit: d6a86f168cc2e772715156befe0ad029f4d3c2bc
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 28 20:18:23 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 28 20:18:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a86f16
7
8 x11-themes/arc-theme: Version bump to 20190330
9
10 Package-Manager: Portage-2.3.67, Repoman-2.3.13
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 x11-themes/arc-theme/Manifest | 2 +
14 x11-themes/arc-theme/arc-theme-20190330.ebuild | 85 ++++++++++++++++++++++++++
15 2 files changed, 87 insertions(+)
16
17 diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest
18 index 73fced10671..ca6b6b87738 100644
19 --- a/x11-themes/arc-theme/Manifest
20 +++ b/x11-themes/arc-theme/Manifest
21 @@ -1,2 +1,4 @@
22 DIST arc-theme-20181022-pngs.tar.xz 88512 BLAKE2B 2ed193249e12d8726c0fd0e40b2d64e9f61c625f646b180a0c2fb420efcebf120e4b84059940173c71905d679e8cee3f8dde544c251c36a59524172a0400f0e9 SHA512 d5392515ac53e9b3b40bf4a94b242a06ddedffbe540bf651e0a08ab29092d68a65b55d2b9fe7821d3fb89650b01e05491c2ea357b6bcf9f0c1e181dea42e527e
23 DIST arc-theme-20181022.tar.xz 226736 BLAKE2B e60fcd6507a18386a27cfce27ebc55cf318556cf16ed89eea13cc8cbbd202ceda689d7cc2e8153f3834591713bd7b7db9e4358c50c3223480fbe86cbbc6ebe31 SHA512 0562a91740a08d799fb12749c8c3a1baccbfa0ed68b2fd4ced1965a929df395e83bf1ee336c5ed61e90701ac87e8d4f143622e0458f6eda26eeff43d7a811f1e
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
27 diff --git a/x11-themes/arc-theme/arc-theme-20190330.ebuild b/x11-themes/arc-theme/arc-theme-20190330.ebuild
28 new file mode 100644
29 index 00000000000..6ceb36af4e7
30 --- /dev/null
31 +++ b/x11-themes/arc-theme/arc-theme-20190330.ebuild
32 @@ -0,0 +1,85 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# USE="-* gtk2 gtk3 xfce" ebuild ${P}.ebuild clean compile
39 +# cd ~portage/x11-themes/${P}/work
40 +# make -j -C ${P}/common/gtk-3.0/3.18
41 +# 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
42 +
43 +inherit autotools
44 +
45 +DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell"
46 +HOMEPAGE="https://github.com/NicoHood/arc-theme"
47 +SRC_URI="https://github.com/NicoHood/${PN}/releases/download/${PV}/${P}.tar.xz
48 + pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )"
49 +LICENSE="GPL-3"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~arm ~x86"
52 +IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce"
53 +
54 +SASSC_DEPEND="
55 + dev-lang/sassc
56 +"
57 +
58 +SVG_DEPEND="
59 + !pre-rendered? (
60 + media-gfx/inkscape
61 + media-gfx/optipng
62 + )
63 +"
64 +
65 +# Supports various GTK+3 versions and uses pkg-config to determine which
66 +# set of files to install. Updates will break it but only this fix will
67 +# help. https://github.com/horst3180/arc-theme/pull/436
68 +BDEPEND="
69 + cinnamon? (
70 + ${SASSC_DEPEND}
71 + )
72 + gnome-shell? (
73 + ${SASSC_DEPEND}
74 + )
75 + gtk2? (
76 + ${SVG_DEPEND}
77 + )
78 + gtk3? (
79 + ${SASSC_DEPEND}
80 + ${SVG_DEPEND}
81 + virtual/pkgconfig
82 + >=x11-libs/gtk+-3.18:3
83 + )
84 + xfce? (
85 + ${SVG_DEPEND}
86 + )
87 +"
88 +
89 +# gnome-themes-standard is only needed by GTK+2 for the Adwaita
90 +# engine. This engine is built into GTK+3.
91 +RDEPEND="
92 + gtk2? (
93 + x11-themes/gnome-themes-standard
94 + x11-themes/gtk-engines-murrine
95 + )
96 +"
97 +
98 +src_prepare() {
99 + default
100 + eautoreconf
101 +}
102 +
103 +src_configure() {
104 + use pre-rendered &&
105 + export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false
106 +
107 + econf \
108 + --disable-openbox \
109 + --disable-plank \
110 + --disable-unity \
111 + $(use_enable cinnamon) \
112 + $(use_enable gtk2) \
113 + $(use_enable gtk3) \
114 + $(use_enable gnome-shell) \
115 + $(use_enable mate metacity) \
116 + $(use_enable xfce xfwm)
117 +}