Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/light-themes/
Date: Mon, 02 Jan 2017 22:34:58
Message-Id: 1483396485.0fc2a7570a147d6b1b4f195a93cb5fc2712537c3.sping@gentoo
1 commit: 0fc2a7570a147d6b1b4f195a93cb5fc2712537c3
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 2 21:33:08 2017 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 2 22:34:45 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc2a757
7
8 x11-themes/light-themes: 17.04_p20161205
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 x11-themes/light-themes/Manifest | 1 +
13 .../light-themes-17.04_p20161205.ebuild | 64 ++++++++++++++++++++++
14 2 files changed, 65 insertions(+)
15
16 diff --git a/x11-themes/light-themes/Manifest b/x11-themes/light-themes/Manifest
17 index 301c93a..29398ac 100644
18 --- a/x11-themes/light-themes/Manifest
19 +++ b/x11-themes/light-themes/Manifest
20 @@ -1,3 +1,4 @@
21 DIST Gentoo-Buttons-r1.tar.xz 80476 SHA256 8de84366411d8a67e3550cd131fa9634614212f0127f73336e11f7aba6cc8799 SHA512 d1c093fe8ce905a409cd3ce85fde8490f26b918bb1dd3ccb6695eaa6c7a4908d7ba1e1d14a9443a16331168ca9b3fa58b5b28805fc583b4345932602f7c19168 WHIRLPOOL e12ba8b37260115f395e4a48ab211c788dbb7f967a3be63a6f80dee7841fd1a62adbf2a6c2ec608ed3532b8be513c6750300f7b3b9ed9a82d049dfc8078acba9
22 DIST light-themes_0.1.93.tar.gz 333969 SHA256 f44bda89c7328e2cda9e4f26d4cd26091fe462d581e8d9b7b73b982533146c37 SHA512 c59a0c3451d91a3e19cdfb91e67dbbfb7ff3f804d586383281fb9b2ad261953eb8549670ef0aaf87f6f0d497eec6cca8d78d19d4c8107b807fb768a1e155ed7e WHIRLPOOL 267e7e570f5b1d614a8a55067a5cef646a60e2e71bb0d96f197bbee429ed8adbe34237358c5011ca735ad07b3997dad0d43e49bd811028166179ef2bfc14d711
23 DIST ubuntu-themes_14.04+15.04.20150410.orig.tar.gz 31996792 SHA256 a17c010fd92ae645cb7a4d88a52f867fc220c5ed1ecc0b247b3d7721a6af2d85 SHA512 0f0afc545b6f323e20017cb42e704d231a5e11e88077ec60d2bc623991842a05f52e0cf1e6e71fc12fb4ce76dbbcfacff86bde0d43ebdf4784f2760f00ff3803 WHIRLPOOL baa721f11b42678b080fe692e67ebcf0549aff1b972682181bb8acdd9b0973fd47991e62a2b4158094c00af41209085bd69c26b461615c48bf562770b6ef7201
24 +DIST ubuntu-themes_16.10+17.04.20161205.orig.tar.gz 13834759 SHA256 ff9c002dd7668fdf65ddab392ed1eedc55c11cd7e2500d765a2d9b4607142799 SHA512 42bb622ad6818f7bf2e9f163f4a9a342fd7d8bad5e8a50db2d439857d053b0827543b7e8f626588316670fd6c63d050ecc522aef52e49c5c336ac08f6f303238 WHIRLPOOL 0dce7927bd66672b64e4db81db77534d648e84b08d65d324bfd44ee16176b789dfff074a33813475df33997b8372848345eb2e34574ffae510806b6cac0ffb43
25
26 diff --git a/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild b/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild
27 new file mode 100644
28 index 00000000..24c3188
29 --- /dev/null
30 +++ b/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild
31 @@ -0,0 +1,64 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +inherit eutils
38 +
39 +MY_PN=ubuntu-themes
40 +MY_PV=16.10+17.04.20161205
41 +
42 +DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu"
43 +HOMEPAGE="https://launchpad.net/light-themes"
44 +SRC_URI="
45 + mirror://ubuntu/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.orig.tar.gz
46 + https://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons-r1.tar.xz
47 +"
48 +
49 +LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0"
50 +SLOT="0"
51 +KEYWORDS="~amd64 ~x86"
52 +IUSE="gtk3"
53 +
54 +DEPEND="app-arch/xz-utils"
55 +RDEPEND="
56 + x11-themes/gtk-engines-murrine
57 + gtk3? ( x11-themes/gtk-engines-unico )
58 +"
59 +
60 +S="${WORKDIR}"
61 +
62 +src_prepare() {
63 + cp -r Ambiance/ Ambiance-Gentoo || die
64 + cp -r Radiance/ Radiance-Gentoo || die
65 + sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \
66 + Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die
67 + sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \
68 + Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die
69 + sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \
70 + Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.*/settings.ini \
71 + Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.*/settings.ini || die
72 + sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \
73 + Ambiance-Gentoo/gtk-3.*/gtk-main.css \
74 + Radiance-Gentoo/gtk-3.*/gtk-main.css || die
75 +
76 + cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die
77 + cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die
78 + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.0/assets/. || die
79 + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.20/assets/. || die
80 + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.0/assets/. || die
81 + cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.20/assets/. || die
82 +}
83 +
84 +src_compile() {
85 + :
86 +}
87 +
88 +src_install() {
89 + insinto /usr/share/themes
90 + doins -r Radiance* Ambiance*
91 +
92 + use gtk3 || {
93 + rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die
94 + }
95 +}