diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-10-23 22:13:40 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-10-23 23:42:43 +0100 |
commit | 314be3d39913d3e23a0e570568341c49d52d6493 (patch) | |
tree | 48a786cc9c61113ad1767b87decf7091e23a2448 /x11-themes | |
parent | dev-lang/sassc: Add ~arm keyword to 3.5.0 (diff) | |
download | gentoo-314be3d39913d3e23a0e570568341c49d52d6493.tar.gz gentoo-314be3d39913d3e23a0e570568341c49d52d6493.tar.bz2 gentoo-314be3d39913d3e23a0e570568341c49d52d6493.zip |
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@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/arc-theme/Manifest | 2 | ||||
-rw-r--r-- | x11-themes/arc-theme/arc-theme-20181022.ebuild | 85 | ||||
-rw-r--r-- | x11-themes/arc-theme/metadata.xml | 1 |
3 files changed, 88 insertions, 0 deletions
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest index 755c10a85316..772c7dab7a1a 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 000000000000..7df4cdc5b08e --- /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 33dd600d4218..ac2d19205792 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> |