summaryrefslogtreecommitdiff
path: root/x11-themes/arc-theme
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/arc-theme')
-rw-r--r--x11-themes/arc-theme/Manifest7
-rw-r--r--x11-themes/arc-theme/arc-theme-20190330.ebuild2
-rw-r--r--x11-themes/arc-theme/arc-theme-20190917.ebuild87
-rw-r--r--x11-themes/arc-theme/metadata.xml2
4 files changed, 94 insertions, 4 deletions
diff --git a/x11-themes/arc-theme/Manifest b/x11-themes/arc-theme/Manifest
index 59c49e9595be..ef27d9f1183c 100644
--- a/x11-themes/arc-theme/Manifest
+++ b/x11-themes/arc-theme/Manifest
@@ -1,4 +1,7 @@
DIST arc-theme-20190330-pngs.tar.xz 87632 BLAKE2B a860abe61d98c1ba2c7e13d21cb24e74e110b4e075eb53fc0d34b5e84eeed345a9b32e948e673b445d15e74b4c27991408139861b2d80124c8d97e417ecb3fb3 SHA512 0421530b99ebbe286e111477a056e17e7aa23a63e8c7d63443c4ffcdcb053f191a05fd16e54d9fa4efa9d1c870ff500ffb0c519d6604d6d7294cc1da711de5ba
DIST arc-theme-20190330.tar.xz 227936 BLAKE2B 35815019884c55ce2d22dbb2d78892c00b35839b017fb7f0c1e9e1f1bad1bf94703e0c15205045eed96add556381c28fdd702c7657226fd75492304abaafd41d SHA512 ac4f1bde028e027314004999502dcc914abf6070ffd4345021df486084de2c943e6c110776b3b6af55143962a40b368c060a11754ffaf30300b87cb923bc55b9
-EBUILD arc-theme-20190330.ebuild 1949 BLAKE2B 62fa7b1c68cc190ca4b0946500e63c43082b598870d1be9bc103c931828c6bf9aaeae8db723e15aafa4d1bb62126c0b652c75e18c1f82d7f77e3e0cb9835f5e6 SHA512 17f81d3399115acd878d80ed497efa5801b235d24ca7b97b3a253506f7b13f9c07318d8c4dbed1d7bde9deec1fd5e9afc100ef2effa37d2252a91d9dfd90a095
-MISC metadata.xml 903 BLAKE2B 32d83b7fa5f836c4faa371b381b3d9487802ea7939c1bfec0d39e18f7853131aeac99b30e244a0f60291acc0d4fc1932d4350732184fc1374ea445f6fcb1424e SHA512 8238f6b4342d0ce1d9d8622bd92c77f123f92e2453e58a660e35c24340c1dc9dd1581f779b8b038c2f782216971a454a54cd6a833354960a1a12dff3e83f1376
+DIST arc-theme-20190917-pngs.tar.xz 87664 BLAKE2B 8f4cd7cf4eaeef6e71113178776e35f81df1c7a86c5a4e1727ddac9e2c18f81ff51f0b8c2ca578c176fddb969fcbdef7135080c1a8851f56e1b1a33d8c2b86e6 SHA512 5ded6dd5f0c7067c8abefef8fae4620caf795f10b5fe46c30ab7b430379f3b3e2eb27ec85c752bb4a77288a640bcf6a5f4d60e19a97f96af1b31143014afde37
+DIST arc-theme-20190917.tar.xz 308592 BLAKE2B 0ca3b6bb9c501891243755984799c404645a524fd5e65e6ed5d509d3c3b0b54d60a2219030b86d6e8a19a12106da832ff4a4fcd35ff1f02766b57d104e9e642b SHA512 da3e98e696160542fc77678193ff4fdeecc1cab7b4c1ec57e1bd850486a80547e1d688c9784f5ef422f097449f1105c071a3ff917c25a6a315fe970bedf10c6f
+EBUILD arc-theme-20190330.ebuild 1947 BLAKE2B 6b57679c082fd8cfdd6f9838737b6a6687e5a7e335233636457cda58f387a4271e4329854d5cdd1d6015d7ac1b694b7ecb9e32e00a146949a9b52a6094511fb4 SHA512 1200c505dcc9a24ad2a1d7e74405e1190ff59a5584bc2674703fc86ab72ea993476f1b2d205189f04f397f168e94eac65ee2f1d14c182593410e36fefe9d1992
+EBUILD arc-theme-20190917.ebuild 2065 BLAKE2B 080d0e58c39d3cd2ce704c1b6f899b34447b5074d9c39f00ea193fffa4130d602c148a85d31ddedca29d4ae9a62e23847d1c6bad2ea53d6ec2aa48e3b8650584 SHA512 7a8df0c74028139ee5859a29b210994eda114e62e7c0ca14030db5632e7cc43b17b77110f785993fcfaeda691457faef226de687a9a83c2f0a42bcc38ac1dcca
+MISC metadata.xml 904 BLAKE2B 98f5e710287c3dd33fef6ce5b2489fc9bd007d98493e58a9ad61b3dcb68eeadf8bdbfe51fa56e3219d7c1a725517ea77496affe525d110ad9e18353738db9cc7 SHA512 a258fb23cfa69a8a6d774d8b5cdfc38b9513d5201a1b8b06034a7347a693562f2727f2a58d3f1147c6f203a6b15b26a08fae9ff3e4f87c5b011036ded5884853
diff --git a/x11-themes/arc-theme/arc-theme-20190330.ebuild b/x11-themes/arc-theme/arc-theme-20190330.ebuild
index 6ceb36af4e7c..1c13c2afb1e3 100644
--- a/x11-themes/arc-theme/arc-theme-20190330.ebuild
+++ b/x11-themes/arc-theme/arc-theme-20190330.ebuild
@@ -16,7 +16,7 @@ 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"
+KEYWORDS="amd64 ~arm x86"
IUSE="cinnamon gnome-shell +gtk2 +gtk3 mate +pre-rendered xfce"
SASSC_DEPEND="
diff --git a/x11-themes/arc-theme/arc-theme-20190917.ebuild b/x11-themes/arc-theme/arc-theme-20190917.ebuild
new file mode 100644
index 000000000000..99e91d871927
--- /dev/null
+++ b/x11-themes/arc-theme/arc-theme-20190917.ebuild
@@ -0,0 +1,87 @@
+# 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/arc-design/arc-theme"
+SRC_URI="https://github.com/arc-design/${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. See https://github.com/horst3180/arc-theme/pull/436. The same
+# applies to GNOME Shell but I don't know whether that's fixable.
+BDEPEND="
+ cinnamon? (
+ ${SASSC_DEPEND}
+ )
+ 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-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 ac2d19205792..cec57cceb9c0 100644
--- a/x11-themes/arc-theme/metadata.xml
+++ b/x11-themes/arc-theme/metadata.xml
@@ -6,7 +6,7 @@
<name>James Le Cuirot</name>
</maintainer>
<upstream>
- <remote-id type="github">horst3180/arc-theme</remote-id>
+ <remote-id type="github">arc-design/arc-theme</remote-id>
</upstream>
<use>
<flag name="cinnamon">Install theme for <pkg>gnome-extra/cinnamon</pkg></flag>