public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/light-themes/
Date: Mon, 13 Feb 2017 20:36:13 +0000 (UTC)	[thread overview]
Message-ID: <1487018156.d0c7885966e6bf4205c0c969318ffaa871f3fb6d.sping@gentoo> (raw)

commit:     d0c7885966e6bf4205c0c969318ffaa871f3fb6d
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 13 20:35:09 2017 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 20:35:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0c78859

x11-themes/light-themes: Keep vanilla editions untouched

Reported by Matija Skala
Closes: https://github.com/gentoo/gentoo/pull/3951

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../light-themes-17.04_p20161205-r1.ebuild         | 64 ++++++++++++++++++++++
 1 file changed, 64 insertions(+)

diff --git a/x11-themes/light-themes/light-themes-17.04_p20161205-r1.ebuild b/x11-themes/light-themes/light-themes-17.04_p20161205-r1.ebuild
new file mode 100644
index 0000000000..9c8918e26a
--- /dev/null
+++ b/x11-themes/light-themes/light-themes-17.04_p20161205-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+MY_PN=ubuntu-themes
+MY_PV=16.10+17.04.20161205
+
+DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
+HOMEPAGE="https://launchpad.net/light-themes"
+SRC_URI="
+	mirror://ubuntu/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.orig.tar.gz
+	https://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons-r1.tar.xz
+"
+
+LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gtk3"
+
+DEPEND="app-arch/xz-utils"
+RDEPEND="
+	x11-themes/gtk-engines-murrine
+	gtk3? ( x11-themes/gtk-engines-unico )
+"
+
+S="${WORKDIR}"
+
+src_prepare() {
+	cp -RL Ambiance/ Ambiance-Gentoo || die
+	cp -RL Radiance/ Radiance-Gentoo || die
+	sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
+		Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
+	sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
+		Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
+	sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \
+		Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.*/settings.ini \
+		Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.*/settings.ini || die
+	sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \
+		Ambiance-Gentoo/gtk-3.*/gtk-main.css \
+		Radiance-Gentoo/gtk-3.*/gtk-main.css || die
+
+	cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die
+	cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die
+	cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.0/assets/. || die
+	cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.20/assets/. || die
+	cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.0/assets/. || die
+	cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.20/assets/. || die
+}
+
+src_compile() {
+	:
+}
+
+src_install() {
+	insinto /usr/share/themes
+	doins -r Radiance* Ambiance*
+
+	use gtk3 || {
+		rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
+	}
+}


             reply	other threads:[~2017-02-13 20:36 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 20:36 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-18  6:06 [gentoo-commits] repo/gentoo:master commit in: x11-themes/light-themes/ Sam James
2021-03-06 18:23 Sebastian Pipping
2021-03-01  9:20 Agostino Sarubbo
2021-02-03 23:55 Thomas Deutschmann
2021-01-25 23:04 Sebastian Pipping
2021-01-25 22:44 Sebastian Pipping
2021-01-25 22:27 Sebastian Pipping
2021-01-25 17:18 Sebastian Pipping
2021-01-25 17:18 Sebastian Pipping
2020-08-10 15:21 Sebastian Pipping
2017-09-25 16:56 Mart Raudsepp
2017-09-23 21:13 Thomas Deutschmann
2017-07-15 11:04 Tobias Klausmann
2017-04-27 22:08 Mart Raudsepp
2017-04-27 10:36 Agostino Sarubbo
2017-04-23 21:23 Agostino Sarubbo
2017-04-22 20:25 Sebastian Pipping
2017-02-04 15:40 Pacho Ramos
2017-01-18 10:22 Michael Palimaka
2017-01-16 15:49 Agostino Sarubbo
2017-01-02 22:34 Sebastian Pipping
2017-01-02 22:34 Sebastian Pipping

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=1487018156.d0c7885966e6bf4205c0c969318ffaa871f3fb6d.sping@gentoo \
    --to=sping@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