1 |
commit: 7ca84c18346c74bad1c117f30da0f00c5d5245c9 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 27 22:05:49 2017 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 27 22:05:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ca84c18 |
7 |
|
8 |
x11-themes/light-themes: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
.../light-themes-17.04_p20161205.ebuild | 63 ---------------------- |
13 |
1 file changed, 63 deletions(-) |
14 |
|
15 |
diff --git a/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild b/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild |
16 |
deleted file mode 100644 |
17 |
index 60a3dcc9f33..00000000000 |
18 |
--- a/x11-themes/light-themes/light-themes-17.04_p20161205.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,63 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit eutils |
26 |
- |
27 |
-MY_PN=ubuntu-themes |
28 |
-MY_PV=16.10+17.04.20161205 |
29 |
- |
30 |
-DESCRIPTION="GTK2/GTK3 Ambiance and Radiance themes from Ubuntu" |
31 |
-HOMEPAGE="https://launchpad.net/light-themes" |
32 |
-SRC_URI=" |
33 |
- mirror://ubuntu/pool/main/${MY_PN:0:1}/${MY_PN}/${MY_PN}_${MY_PV}.orig.tar.gz |
34 |
- https://dev.gentoo.org/~pacho/${PN}/Gentoo-Buttons-r1.tar.xz |
35 |
-" |
36 |
- |
37 |
-LICENSE="CC-BY-SA-3.0 CC-BY-SA-4.0" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="amd64 x86" |
40 |
-IUSE="gtk3" |
41 |
- |
42 |
-DEPEND="app-arch/xz-utils" |
43 |
-RDEPEND=" |
44 |
- x11-themes/gtk-engines-murrine |
45 |
- gtk3? ( x11-themes/gtk-engines-unico ) |
46 |
-" |
47 |
- |
48 |
-S="${WORKDIR}" |
49 |
- |
50 |
-src_prepare() { |
51 |
- cp -r Ambiance/ Ambiance-Gentoo || die |
52 |
- cp -r Radiance/ Radiance-Gentoo || die |
53 |
- sed -i -e 's/Ambiance/Ambiance-Gentoo/g' Ambiance-Gentoo/index.theme \ |
54 |
- Ambiance-Gentoo/metacity-1/metacity-theme-1.xml || die |
55 |
- sed -i -e 's/Radiance/Radiance-Gentoo/g' Radiance-Gentoo/index.theme \ |
56 |
- Radiance-Gentoo/metacity-1/metacity-theme-1.xml || die |
57 |
- sed -i -e 's/nselected_bg_color:#f07746/nselected_bg_color:#755fbb/g' \ |
58 |
- Ambiance-Gentoo/gtk-2.0/gtkrc Ambiance-Gentoo/gtk-3.*/settings.ini \ |
59 |
- Radiance-Gentoo/gtk-2.0/gtkrc Radiance-Gentoo/gtk-3.*/settings.ini || die |
60 |
- sed -i -e 's/selected_bg_color #f07746/selected_bg_color #755fbb/g' \ |
61 |
- Ambiance-Gentoo/gtk-3.*/gtk-main.css \ |
62 |
- Radiance-Gentoo/gtk-3.*/gtk-main.css || die |
63 |
- |
64 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Ambiance-Gentoo/metacity-1/. || die |
65 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/*.png "${S}"/Radiance-Gentoo/metacity-1/. || die |
66 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.0/assets/. || die |
67 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Ambiance-Gentoo/gtk-3.20/assets/. || die |
68 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.0/assets/. || die |
69 |
- cp -f "${WORKDIR}"/Gentoo-Buttons/assets/*.png "${S}"/Radiance-Gentoo/gtk-3.20/assets/. || die |
70 |
-} |
71 |
- |
72 |
-src_compile() { |
73 |
- : |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- insinto /usr/share/themes |
78 |
- doins -r Radiance* Ambiance* |
79 |
- |
80 |
- use gtk3 || { |
81 |
- rm -R "${D}"/usr/share/themes/*/gtk-3.0 || die |
82 |
- } |
83 |
-} |