diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-10-14 21:12:07 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-10-14 21:12:07 +0100 |
commit | 4117443754bed01b97f68f487912c6d292f4a4cf (patch) | |
tree | cd28fb95bc59698563449bf3c10ac487924bc20d /x11-themes/arc-theme | |
parent | net-dns/unbound: revbump (diff) | |
download | gentoo-4117443754bed01b97f68f487912c6d292f4a4cf.tar.gz gentoo-4117443754bed01b97f68f487912c6d292f4a4cf.tar.bz2 gentoo-4117443754bed01b97f68f487912c6d292f4a4cf.zip |
x11-themes/arc-theme: Version bump to 20201013
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'x11-themes/arc-theme')
-rw-r--r-- | x11-themes/arc-theme/Manifest | 2 | ||||
-rw-r--r-- | x11-themes/arc-theme/arc-theme-20201013.ebuild | 97 |
2 files changed, 99 insertions, 0 deletions
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest index 416b157ea1b3..c688c2eb2fce 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 000000000000..b3a90da75f7e --- /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 +} |