1 |
commit: 2ca2dcec4f3c13c627e2a49ca1edb82254240dfd |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 11 20:22:03 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 11 20:23:44 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca2dcec |
7 |
|
8 |
x11-themes/greybird: generate the gtk3 theme using sass |
9 |
|
10 |
Upstream converted ot using SASS to generate theme files in a manner |
11 |
similar to Adwaita; a diff of the installed files with generation and |
12 |
without showed there were small differences on 3.20.1, so the |
13 |
3.20.1 and live (9999) versions are converted to use the autotools |
14 |
build system. |
15 |
|
16 |
Package-Manager: portage-2.3.0 |
17 |
|
18 |
...ird-3.20.1.ebuild => greybird-3.20.1-r1.ebuild} | 34 ++++++++++------------ |
19 |
x11-themes/greybird/greybird-9999.ebuild | 32 +++++++++----------- |
20 |
2 files changed, 28 insertions(+), 38 deletions(-) |
21 |
|
22 |
diff --git a/x11-themes/greybird/greybird-3.20.1.ebuild b/x11-themes/greybird/greybird-3.20.1-r1.ebuild |
23 |
similarity index 60% |
24 |
rename from x11-themes/greybird/greybird-3.20.1.ebuild |
25 |
rename to x11-themes/greybird/greybird-3.20.1-r1.ebuild |
26 |
index 44410f0..b8093ce 100644 |
27 |
--- a/x11-themes/greybird/greybird-3.20.1.ebuild |
28 |
+++ b/x11-themes/greybird/greybird-3.20.1-r1.ebuild |
29 |
@@ -3,6 +3,7 @@ |
30 |
# $Id$ |
31 |
|
32 |
EAPI=6 |
33 |
+inherit autotools |
34 |
|
35 |
MY_PN=${PN/g/G} |
36 |
|
37 |
@@ -18,31 +19,26 @@ IUSE="ayatana gnome" |
38 |
|
39 |
RDEPEND=" |
40 |
>=x11-themes/gtk-engines-murrine-0.90 |
41 |
+ >=x11-libs/gtk+-3.20.0 |
42 |
+" |
43 |
+DEPEND="${RDEPEND} |
44 |
+ dev-ruby/sass |
45 |
+ dev-libs/glib:2 |
46 |
" |
47 |
- |
48 |
-RESTRICT="binchecks strip" |
49 |
|
50 |
S=${WORKDIR}/${MY_PN}-${PV} |
51 |
+#RESTRICT="binchecks strip" |
52 |
|
53 |
-src_install() { |
54 |
- dodoc README.md |
55 |
- rm -f README.md configure.ac autogen.sh Makefile.am LICENSE* |
56 |
- |
57 |
- insinto /usr/share/themes/${MY_PN}-compact/xfwm4 |
58 |
- doins xfwm4-compact/* |
59 |
- rm -rf xfwm4-compact |
60 |
- |
61 |
- insinto /usr/share/themes/${MY_PN}-a11y/xfwm4 |
62 |
- doins xfwm4-a11y/* |
63 |
- rm -rf xfwm4-a11y |
64 |
+src_prepare() { |
65 |
+ eapply_user |
66 |
+ eautoreconf |
67 |
+} |
68 |
|
69 |
- insinto /usr/share/themes/${MY_PN}-bright/xfce-notify-4.0 |
70 |
- doins xfce-notify-4.0_bright/* |
71 |
- rm -rf xfce-notify-4.0_bright |
72 |
+src_install() { |
73 |
+ emake DESTDIR="${D}" install |
74 |
|
75 |
+ pushd "${ED}"usr/share/themes/${MY_PN} > /dev/null || die |
76 |
use ayatana || rm -rf unity |
77 |
use gnome || rm -rf metacity-1 |
78 |
- |
79 |
- insinto /usr/share/themes/${MY_PN} |
80 |
- doins -r * |
81 |
+ popd > /dev/null || die |
82 |
} |
83 |
|
84 |
diff --git a/x11-themes/greybird/greybird-9999.ebuild b/x11-themes/greybird/greybird-9999.ebuild |
85 |
index 4a05a61..dd25b51 100644 |
86 |
--- a/x11-themes/greybird/greybird-9999.ebuild |
87 |
+++ b/x11-themes/greybird/greybird-9999.ebuild |
88 |
@@ -3,7 +3,7 @@ |
89 |
# $Id$ |
90 |
|
91 |
EAPI=6 |
92 |
-inherit git-r3 |
93 |
+inherit autotools git-r3 |
94 |
|
95 |
MY_PN=${PN/g/G} |
96 |
|
97 |
@@ -19,29 +19,23 @@ IUSE="ayatana gnome" |
98 |
|
99 |
RDEPEND=" |
100 |
>=x11-themes/gtk-engines-murrine-0.90 |
101 |
+ >=x11-libs/gtk+-3.20.0 |
102 |
+" |
103 |
+DEPEND="${RDEPEND} |
104 |
+ dev-ruby/sass |
105 |
+ dev-libs/glib:2 |
106 |
" |
107 |
|
108 |
-RESTRICT="binchecks strip" |
109 |
+src_prepare() { |
110 |
+ eapply_user |
111 |
+ eautoreconf |
112 |
+} |
113 |
|
114 |
src_install() { |
115 |
- dodoc README.md |
116 |
- rm -f README.md configure.ac autogen.sh Makefile.am LICENSE* |
117 |
- |
118 |
- insinto /usr/share/themes/${MY_PN}-compact/xfwm4 |
119 |
- doins xfwm4-compact/* |
120 |
- rm -rf xfwm4-compact |
121 |
- |
122 |
- insinto /usr/share/themes/${MY_PN}-a11y/xfwm4 |
123 |
- doins xfwm4-a11y/* |
124 |
- rm -rf xfwm4-a11y |
125 |
- |
126 |
- insinto /usr/share/themes/${MY_PN}-bright/xfce-notify-4.0 |
127 |
- doins xfce-notify-4.0_bright/* |
128 |
- rm -rf xfce-notify-4.0_bright |
129 |
+ emake DESTDIR="${D}" install |
130 |
|
131 |
+ pushd "${ED}"usr/share/themes/${MY_PN} > /dev/null || die |
132 |
use ayatana || rm -rf unity |
133 |
use gnome || rm -rf metacity-1 |
134 |
- |
135 |
- insinto /usr/share/themes/${MY_PN} |
136 |
- doins -r * |
137 |
+ popd > /dev/null || die |
138 |
} |