public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/
Date: Tue, 23 Oct 2018 22:43:09 +0000 (UTC)	[thread overview]
Message-ID: <1540334563.314be3d39913d3e23a0e570568341c49d52d6493.chewi@gentoo> (raw)

commit:     314be3d39913d3e23a0e570568341c49d52d6493
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 23 21:13:40 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Oct 23 22:42:43 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=314be3d3

x11-themes/arc-theme: Version bump to 20181022

Closes: https://bugs.gentoo.org/646766
Closes: https://bugs.gentoo.org/666476
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 x11-themes/arc-theme/Manifest                  |  2 +
 x11-themes/arc-theme/arc-theme-20181022.ebuild | 85 ++++++++++++++++++++++++++
 x11-themes/arc-theme/metadata.xml              |  1 +
 3 files changed, 88 insertions(+)

diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest
index 755c10a8531..772c7dab7a1 100644
--- a/x11-themes/arc-theme/Manifest
+++ b/x11-themes/arc-theme/Manifest
@@ -1 +1,3 @@
 DIST arc-theme-20170302.tar.gz 1534152 BLAKE2B fe3afd99e43ee5bb8b5a96b76359f5487ca4b84e4c768a79e3553564fb814ff3f392648a8b4dac54ba42d67ffcaac8edf0cefbc749ff5ce89207085bb1fad80f SHA512 99408a7c4db2bd2d81453e308ae5d9bc9bfda4f11e57191936f985de2937debff76c4d1f37a97ac8f5ad3751401ee8ad02457e4558b9c4aedc2bfeba1736ef03
+DIST arc-theme-20181022-pngs.tar.xz 88512 BLAKE2B 2ed193249e12d8726c0fd0e40b2d64e9f61c625f646b180a0c2fb420efcebf120e4b84059940173c71905d679e8cee3f8dde544c251c36a59524172a0400f0e9 SHA512 d5392515ac53e9b3b40bf4a94b242a06ddedffbe540bf651e0a08ab29092d68a65b55d2b9fe7821d3fb89650b01e05491c2ea357b6bcf9f0c1e181dea42e527e
+DIST arc-theme-20181022.tar.xz 226736 BLAKE2B e60fcd6507a18386a27cfce27ebc55cf318556cf16ed89eea13cc8cbbd202ceda689d7cc2e8153f3834591713bd7b7db9e4358c50c3223480fbe86cbbc6ebe31 SHA512 0562a91740a08d799fb12749c8c3a1baccbfa0ed68b2fd4ced1965a929df395e83bf1ee336c5ed61e90701ac87e8d4f143622e0458f6eda26eeff43d7a811f1e

diff --git a/x11-themes/arc-theme/arc-theme-20181022.ebuild b/x11-themes/arc-theme/arc-theme-20181022.ebuild
new file mode 100644
index 00000000000..7df4cdc5b08
--- /dev/null
+++ b/x11-themes/arc-theme/arc-theme-20181022.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# USE="-* gtk2 gtk3 xfce" ebuild ${P}.ebuild clean compile
+# cd ~portage/x11-themes/${P}/work
+# make -j -C ${P}/common/gtk-3.0/3.18
+# 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
+
+inherit autotools
+
+DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell"
+HOMEPAGE="https://github.com/NicoHood/arc-theme"
+SRC_URI="https://github.com/NicoHood/${PN}/releases/download/${PV}/${P}.tar.xz
+	pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce"
+
+SASSC_DEPEND="
+	dev-lang/sassc
+"
+
+SVG_DEPEND="
+	!pre-rendered? (
+		media-gfx/inkscape
+		media-gfx/optipng
+	)
+"
+
+# Supports various GTK+3 versions and uses pkg-config to determine which
+# set of files to install. Updates will break it but only this fix will
+# help. https://github.com/horst3180/arc-theme/pull/436
+DEPEND="
+	cinnamon? (
+		${SASSC_DEPEND}
+	)
+	gnome-shell? (
+		${SASSC_DEPEND}
+	)
+	gtk2? (
+		${SVG_DEPEND}
+	)
+	gtk3? (
+		${SASSC_DEPEND}
+		${SVG_DEPEND}
+		virtual/pkgconfig
+		>=x11-libs/gtk+-3.18:3
+	)
+	xfce? (
+		${SVG_DEPEND}
+	)
+"
+
+# gnome-themes-standard is only needed by GTK+2 for the Adwaita
+# engine. This engine is built into GTK+3.
+RDEPEND="
+	gtk2? (
+		x11-themes/gnome-themes-standard
+		x11-themes/gtk-engines-murrine
+	)
+"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	use pre-rendered &&
+		export INKSCAPE="${BROOT}"/bin/false OPTIPNG="${BROOT}"/bin/false
+
+	econf \
+		--disable-openbox \
+		--disable-plank \
+		--disable-unity \
+		$(use_enable cinnamon) \
+		$(use_enable gtk2) \
+		$(use_enable gtk3) \
+		$(use_enable gnome-shell) \
+		$(use_enable mate metacity) \
+		$(use_enable xfce xfwm)
+}

diff --git a/x11-themes/arc-theme/metadata.xml b/x11-themes/arc-theme/metadata.xml
index 33dd600d421..ac2d1920579 100644
--- a/x11-themes/arc-theme/metadata.xml
+++ b/x11-themes/arc-theme/metadata.xml
@@ -14,6 +14,7 @@
 		<flag name="gtk3">Install GTK+3 theme</flag>
 		<flag name="mate">Install Metacity theme for <pkg>mate-base/mate</pkg></flag>
 		<flag name="gnome-shell">Install theme for <pkg>gnome-base/gnome-shell</pkg></flag>
+		<flag name="pre-rendered">Avoid <pkg>media-gfx/inkscape</pkg> and <pkg>media-gfx/optipng</pkg> dependencies by using pre-rendered PNGs</flag>
 		<flag name="xfce">Install theme for <pkg>xfce-base/xfwm4</pkg></flag>
 	</use>
 </pkgmetadata>


             reply	other threads:[~2018-10-23 22:43 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 22:43 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-27 22:08 [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/ James Le Cuirot
2023-11-12  6:57 Arthur Zamarin
2023-05-05 16:10 Arthur Zamarin
2023-05-05 16:09 Arthur Zamarin
2022-12-20 20:13 Georgy Yakovlev
2022-04-07 20:39 James Le Cuirot
2022-04-07 20:39 James Le Cuirot
2022-02-26 23:35 James Le Cuirot
2022-02-26 23:35 James Le Cuirot
2022-01-10  2:48 Georgy Yakovlev
2022-01-10  2:48 Georgy Yakovlev
2021-10-23  8:13 James Le Cuirot
2021-10-23  8:12 James Le Cuirot
2021-07-18  6:35 Agostino Sarubbo
2021-07-18  6:33 Agostino Sarubbo
2021-04-16 22:11 James Le Cuirot
2020-12-16 22:30 Sam James
2020-11-23 22:46 James Le Cuirot
2020-11-23 22:46 James Le Cuirot
2020-10-14 20:12 James Le Cuirot
2020-08-19 22:19 James Le Cuirot
2020-08-19 22:19 James Le Cuirot
2020-05-10 10:37 James Le Cuirot
2020-05-10 10:31 James Le Cuirot
2020-05-10 10:31 James Le Cuirot
2019-12-26 12:56 Georgy Yakovlev
2019-11-02 11:58 Mikle Kolyada
2019-11-02 11:50 James Le Cuirot
2019-06-28 20:21 James Le Cuirot
2019-06-28 20:21 James Le Cuirot
2018-10-23 22:43 James Le Cuirot
2017-07-15 18:17 James Le Cuirot
2017-03-26 20:28 James Le Cuirot
2017-03-26 20:28 James Le Cuirot
2016-12-21 21:14 James Le Cuirot
2016-12-21 21:14 James Le Cuirot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1540334563.314be3d39913d3e23a0e570568341c49d52d6493.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox