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 8B107138334 for ; Tue, 23 Oct 2018 22:43:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C2255E0963; Tue, 23 Oct 2018 22:43:14 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 82F7EE0963 for ; Tue, 23 Oct 2018 22:43:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 01CBF335CE9 for ; Tue, 23 Oct 2018 22:43:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3FC1D44B for ; Tue, 23 Oct 2018 22:43:09 +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: <1540334563.314be3d39913d3e23a0e570568341c49d52d6493.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-20181022.ebuild x11-themes/arc-theme/metadata.xml X-VCS-Directories: x11-themes/arc-theme/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 314be3d39913d3e23a0e570568341c49d52d6493 X-VCS-Branch: master Date: Tue, 23 Oct 2018 22:43:09 +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-Archives-Salt: 53642f12-d957-4acc-8170-9d5fe6d0e4e5 X-Archives-Hash: 3b2f2c90be3ece11e6611b0fd371d799 commit: 314be3d39913d3e23a0e570568341c49d52d6493 Author: James Le Cuirot gentoo org> AuthorDate: Tue Oct 23 21:13:40 2018 +0000 Commit: James Le Cuirot gentoo 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 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 @@ Install GTK+3 theme Install Metacity theme for mate-base/mate Install theme for gnome-base/gnome-shell + Avoid media-gfx/inkscape and media-gfx/optipng dependencies by using pre-rendered PNGs Install theme for xfce-base/xfwm4