public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/greybird/
Date: Mon, 10 Feb 2020 09:52:13 +0000 (UTC)	[thread overview]
Message-ID: <1581328328.2aaa3f598bc9a48893648d6d2bf26fc946ff87f7.jer@gentoo> (raw)

commit:     2aaa3f598bc9a48893648d6d2bf26fc946ff87f7
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 10 09:34:21 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Feb 10 09:52:08 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aaa3f59

x11-themes/greybird: Update live ebuild

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Bug: https://bugs.gentoo.org/708840
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-themes/greybird/greybird-9999.ebuild | 32 +++++++++++++++-----------------
 x11-themes/greybird/metadata.xml         |  2 ++
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/x11-themes/greybird/greybird-9999.ebuild b/x11-themes/greybird/greybird-9999.ebuild
index 5c63ed8b713..683dbdd3528 100644
--- a/x11-themes/greybird/greybird-9999.ebuild
+++ b/x11-themes/greybird/greybird-9999.ebuild
@@ -1,20 +1,21 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools git-r3
-
-MY_PN=${PN/g/G}
+inherit git-r3 meson
 
 DESCRIPTION="The default theme from Xubuntu"
 HOMEPAGE="http://shimmerproject.org/project/greybird/ https://github.com/shimmerproject/Greybird"
-EGIT_REPO_URI="https://github.com/shimmerproject/${MY_PN}"
+EGIT_REPO_URI="https://github.com/shimmerproject/${PN^}"
 
 # README says "dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later"
 LICENSE="CC-BY-SA-3.0 GPL-2+"
 SLOT="0"
 KEYWORDS=""
-IUSE="ayatana gnome xfce"
+IUSE="ayatana gnome gtk2 gtk3 xfce"
+REQUIRED_USE="
+	|| ( ayatana gnome gtk2 gtk3 xfce )
+"
 
 RDEPEND="
 	>=x11-libs/gtk+-3.22:3
@@ -27,18 +28,15 @@ DEPEND="
 	dev-ruby/sass:3.5
 "
 
-src_prepare() {
-	default
-	eautoreconf
-}
-
 src_install() {
-	default
-
-	pushd "${ED}"/usr/share/themes/${MY_PN} > /dev/null || die
-	use ayatana || rm -rf unity
-	use gnome || rm -rf metacity-1
-	use xfce || rm -rf xfce* xfwm4*
+	meson_src_install
+
+	pushd "${ED}"/usr/share/themes > /dev/null || die
+	use ayatana || { rm -r ${PN^}*/unity || die; }
+	use gnome || { rm -r ${PN^}*/metacity-1 || die; }
+	use gtk2 || { rm -r ${PN^}*/gtk-2.0 || die; }
+	use gtk3 || { rm -r ${PN^}*/gtk-3.0 || die; }
+	use xfce || { rm -r ${PN^}*/xfce* ${PN^}*/xfwm4* || die; }
 	popd > /dev/null || die
 }
 

diff --git a/x11-themes/greybird/metadata.xml b/x11-themes/greybird/metadata.xml
index ada89e0a62a..2a50bd79b0d 100644
--- a/x11-themes/greybird/metadata.xml
+++ b/x11-themes/greybird/metadata.xml
@@ -6,6 +6,8 @@
 <name>Gentoo Desktop Miscellaneous Project</name>
 </maintainer>
 <use>
+<flag name='gtk2'>Install theme for GTK+-2.0</flag>
+<flag name='gtk3'>Install theme for GTK+-3.0</flag>
 <flag name='xfce'>Install theme for <pkg>xfce-base/xfwm4</pkg></flag>
 </use>
 <upstream>


             reply	other threads:[~2020-02-10  9:52 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-10  9:52 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-30  3:17 [gentoo-commits] repo/gentoo:master commit in: x11-themes/greybird/ Jonas Stein
2021-04-04 18:55 Andreas Sturmlechner
2021-02-01  5:55 Joonas Niilola
2021-02-01  4:42 Sam James
2021-01-30 10:02 Sam James
2021-01-29 11:25 Joonas Niilola
2021-01-29 11:25 Joonas Niilola
2021-01-29 11:25 Joonas Niilola
2020-09-04  8:46 Jeroen Roovers
2020-06-13 12:29 Mart Raudsepp
2020-05-23 10:08 Pacho Ramos
2020-02-10  9:52 Jeroen Roovers
2019-08-25  7:35 Jeroen Roovers
2019-08-25  7:35 Jeroen Roovers
2019-03-02 19:56 Sergei Trofimovich
2019-02-03 12:27 Jeroen Roovers
2018-07-10 17:38 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-07-10 14:45 Johannes Huber
2018-04-02  7:36 Jason Zaman
2017-04-20 16:35 Jason Zaman
2016-12-05 20:34 Pacho Ramos
2016-10-12 14:20 Ian Stakenvicius
2016-10-12 14:20 Ian Stakenvicius
2016-10-11 20:23 Ian Stakenvicius
2016-10-11 19:16 Ian Stakenvicius
2016-08-03 14:06 Jeroen Roovers
2016-07-24 20:18 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1581328328.2aaa3f598bc9a48893648d6d2bf26fc946ff87f7.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox