diff options
author | James Le Cuirot <chewi@gentoo.org> | 2019-06-28 21:18:23 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2019-06-28 21:18:23 +0100 |
commit | d6a86f168cc2e772715156befe0ad029f4d3c2bc (patch) | |
tree | 094d38b8ba2a53823356d82d7d685a07b8991e63 /x11-themes/arc-theme | |
parent | app-office/libreoffice-l10n: 6.2.5.2 version bump (diff) | |
download | gentoo-d6a86f168cc2e772715156befe0ad029f4d3c2bc.tar.gz gentoo-d6a86f168cc2e772715156befe0ad029f4d3c2bc.tar.bz2 gentoo-d6a86f168cc2e772715156befe0ad029f4d3c2bc.zip |
x11-themes/arc-theme: Version bump to 20190330
Package-Manager: Portage-2.3.67, Repoman-2.3.13
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-20190330.ebuild | 85 |
2 files changed, 87 insertions, 0 deletions
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest index 73fced10671c..ca6b6b877386 100644 --- a/x11-themes/arc-theme/Manifest +++ b/x11-themes/arc-theme/Manifest @@ -1,2 +1,4 @@ DIST arc-theme-20181022-pngs.tar.xz 88512 BLAKE2B 2ed193249e12d8726c0fd0e40b2d64e9f61c625f646b180a0c2fb420efcebf120e4b84059940173c71905d679e8cee3f8dde544c251c36a59524172a0400f0e9 SHA512 d5392515ac53e9b3b40bf4a94b242a06ddedffbe540bf651e0a08ab29092d68a65b55d2b9fe7821d3fb89650b01e05491c2ea357b6bcf9f0c1e181dea42e527e DIST arc-theme-20181022.tar.xz 226736 BLAKE2B e60fcd6507a18386a27cfce27ebc55cf318556cf16ed89eea13cc8cbbd202ceda689d7cc2e8153f3834591713bd7b7db9e4358c50c3223480fbe86cbbc6ebe31 SHA512 0562a91740a08d799fb12749c8c3a1baccbfa0ed68b2fd4ced1965a929df395e83bf1ee336c5ed61e90701ac87e8d4f143622e0458f6eda26eeff43d7a811f1e +DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e74e110b4e075eb53fc0d34b5e84eeed345a9b32e948e673b445d15e74b4c27991408139861b2d80124c8d97e417ecb3fb3 SHA512 0421530b99ebbe286e111477a056e17e7aa23a63e8c7d63443c4ffcdcb053f191a05fd16e54d9fa4efa9d1c870ff500ffb0c519d6604d6d7294cc1da711de5ba +DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9 diff --git a/x11-themes/arc-theme/arc-theme-20190330.ebuild b/x11-themes/arc-theme/arc-theme-20190330.ebuild new file mode 100644 index 000000000000..6ceb36af4e7c --- /dev/null +++ b/x11-themes/arc-theme/arc-theme-20190330.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2019 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 +BDEPEND=" + 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) +} |