From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CFCEE138359 for ; Wed, 14 Oct 2020 20:12:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 725C6E08FC; Wed, 14 Oct 2020 20:12:25 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 482ECE08FC for ; Wed, 14 Oct 2020 20:12:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2639340E3D for ; Wed, 14 Oct 2020 20:12:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 381C43A1 for ; Wed, 14 Oct 2020 20:12:22 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1602706327.4117443754bed01b97f68f487912c6d292f4a4cf.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/arc-theme/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/arc-theme/Manifest x11-themes/arc-theme/arc-theme-20201013.ebuild X-VCS-Directories: x11-themes/arc-theme/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 4117443754bed01b97f68f487912c6d292f4a4cf X-VCS-Branch: master Date: Wed, 14 Oct 2020 20:12:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 56a0ed71-fc27-4474-b32e-e0ac52a2a487 X-Archives-Hash: 7a691ffae1f97390e98b80ade5e88d01 commit: 4117443754bed01b97f68f487912c6d292f4a4cf Author: James Le Cuirot gentoo org> AuthorDate: Wed Oct 14 20:12:07 2020 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Wed Oct 14 20:12:07 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41174437 x11-themes/arc-theme: Version bump to 20201013 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: James Le Cuirot gentoo.org> x11-themes/arc-theme/Manifest | 2 + x11-themes/arc-theme/arc-theme-20201013.ebuild | 97 ++++++++++++++++++++++++++ 2 files changed, 99 insertions(+) diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest index 416b157ea1b..c688c2eb2fc 100644 --- a/x11-themes/arc-theme/Manifest +++ b/x11-themes/arc-theme/Manifest @@ -2,3 +2,5 @@ DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9 DIST arc-theme-20200819-pngs.tar.xz 85156 BLAKE2B bdfab7230d3e932b77f7dce9c7258c371fc708e0b3947fd39a718aa91f792501b8c64b38856da7673115b800e5ef2913f220ce6b909311b5d3fdbf171526d56c SHA512 d6709ad91cf8ee309606331550e43febbe200f24c07548bd3bcff646a6237bd5365d60abed8deb55317d6fb419a71627f3f9510bb117799f6fa3dd012ade992c DIST arc-theme-20200819.tar.xz 238792 BLAKE2B 94f7b2f073518031c6b47f4b5b245a5c73205a859528346dde51fb1e51051617c57969d1ff2359563803360c0bc46fe368aff34a9cc606389fe6fa9e4f8d22ed SHA512 bedff15a195c21934a813ca600b88ced81c3db66b7c25ab75b7193998a89338a7888711abb213877210a62d2460300bc32d40402bdd1f6c4d8fa903999eb1b0e +DIST arc-theme-20201013-pngs.tar.xz 85204 BLAKE2B fb1ef7e0d9618238cf6057777d1494d6247b237d060c4c6772aa5a7ce740218f45f0ee6b2328bc486b8b29d2741c4c44dadcb8db5abf4e333ce519c7db961f9c SHA512 d7d28fe99ac7fce7360905eea0ed1a2cac77612dc7dde05240bbb2cf8e7cc0956f63c35426c1dae34d8adb20553758f595e442e955a202e9c73af5b61ca30a86 +DIST arc-theme-20201013.tar.xz 241636 BLAKE2B 6f825b290c0f2cf1e67d72d9dbca0f23c83e7fc2ea89bc7b69013fb38bb7959205caad1b357a5cb1c4196e4b4460f13223515124c2012aa363a17765e89f992d SHA512 c1c70c80935af2b1f3c7c9bf79ee72d5fba907fd03caadecf96d6fd796bf70d325bbb16dbe93f95d9a63eff748c7d90bcb0bf837e446e5c2770cfdccb131f45c diff --git a/x11-themes/arc-theme/arc-theme-20201013.ebuild b/x11-themes/arc-theme/arc-theme-20201013.ebuild new file mode 100644 index 00000000000..b3a90da75f7 --- /dev/null +++ b/x11-themes/arc-theme/arc-theme-20201013.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2020 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 */common/gtk-3.0/3.18 +# 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 + +inherit autotools + +DESCRIPTION="A flat theme with transparent elements for GTK+3, GTK+2 and GNOME Shell" +HOMEPAGE="https://github.com/jnsh/arc-theme" +SRC_URI="https://github.com/jnsh/${PN}/releases/download/${PV}/arc-theme-${PV}.tar.xz + pre-rendered? ( https://dev.gentoo.org/~chewi/distfiles/${P}-pngs.tar.xz )" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc64 ~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. See https://github.com/horst3180/arc-theme/pull/436. The same +# applies to GNOME Shell and Cinnamon but I don't know whether those are +# fixable. +BDEPEND=" + cinnamon? ( + ${SASSC_DEPEND} + gnome-extra/cinnamon + ) + gnome-shell? ( + ${SASSC_DEPEND} + >=gnome-base/gnome-shell-3.18 + ) + 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-plank \ + --disable-unity \ + $(use_enable cinnamon) \ + $(use_enable gtk2) \ + $(use_enable gtk3) \ + $(use_enable gnome-shell) \ + $(use_enable mate metacity) \ + $(use_enable xfce xfwm) +} + +src_compile() { + # fontconfig issue? + # https://bugs.gentoo.org/666418#c28 + use pre-rendered || + addpredict "${BROOT}"/usr/share/inkscape/fonts/.uuid.TMP-XXXXXX + + default +}