1 |
commit: 5d81191c769412968b7f739a671bd42523b4c0c0 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 1 02:14:23 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 1 22:08:35 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d81191c |
7 |
|
8 |
x11-themes/slim-themes: port to EAPI 7 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
...{slim-theme-flat.diff => slim-theme-flat.patch} | 4 ++-- |
13 |
.../slim-themes/slim-themes-1.2.3a-r7.ebuild | 26 +++++++++------------- |
14 |
2 files changed, 12 insertions(+), 18 deletions(-) |
15 |
|
16 |
diff --git a/x11-themes/slim-themes/files/slim-theme-flat.diff b/x11-themes/slim-themes/files/slim-theme-flat.patch |
17 |
similarity index 87% |
18 |
rename from x11-themes/slim-themes/files/slim-theme-flat.diff |
19 |
rename to x11-themes/slim-themes/files/slim-theme-flat.patch |
20 |
index 345a70ff708..63a63149514 100644 |
21 |
--- a/x11-themes/slim-themes/files/slim-theme-flat.diff |
22 |
+++ b/x11-themes/slim-themes/files/slim-theme-flat.patch |
23 |
@@ -1,5 +1,5 @@ |
24 |
---- flat/slim.theme.orig 2010-01-15 14:10:18.000000000 -0200 |
25 |
-+++ flat/slim.theme 2010-01-15 14:25:10.000000000 -0200 |
26 |
+--- a/flat/slim.theme |
27 |
++++ b/flat/slim.theme |
28 |
@@ -20,9 +20,9 @@ |
29 |
input_pass_y 163 |
30 |
|
31 |
|
32 |
diff --git a/x11-themes/slim-themes/slim-themes-1.2.3a-r7.ebuild b/x11-themes/slim-themes/slim-themes-1.2.3a-r7.ebuild |
33 |
index 55fe88f8384..2854692df0f 100644 |
34 |
--- a/x11-themes/slim-themes/slim-themes-1.2.3a-r7.ebuild |
35 |
+++ b/x11-themes/slim-themes/slim-themes-1.2.3a-r7.ebuild |
36 |
@@ -1,12 +1,12 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=5 |
42 |
-inherit eutils |
43 |
+EAPI=7 |
44 |
|
45 |
DESCRIPTION="SLiM (Simple Login Manager) themes pack" |
46 |
HOMEPAGE="https://sourceforge.net/projects/slim.berlios/" |
47 |
-SRC_URI="mirror://sourceforge/project/slim.berlios/slim-1.2.3-themepack1a.tar.gz |
48 |
+SRC_URI=" |
49 |
+ mirror://sourceforge/project/slim.berlios/slim-1.2.3-themepack1a.tar.gz |
50 |
mirror://sourceforge/project/slim.berlios/slim-gentoo-simple.tar.bz2 |
51 |
mirror://gentoo/slim-archlinux.tar.gz |
52 |
mirror://sourceforge/project/slim.berlios/slim-debian-moreblue.tar.bz2 |
53 |
@@ -26,27 +26,21 @@ SRC_URI="mirror://sourceforge/project/slim.berlios/slim-1.2.3-themepack1a.tar.gz |
54 |
http://www.xfce-look.org/CONTENT/content-files/48605-xfce-g-box-slim-0.1.tar.gz |
55 |
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_purple/gentoo_10_purple.tar.bz2 -> gentoo_10_purple-r1.tar.bz2 |
56 |
http://www.konstantinhansen.de/source/slim_themes/gentoo_10_blue/gentoo_10_blue.tar.bz2 -> gentoo_10_blue-r1.tar.bz2 |
57 |
- http://www.konstantinhansen.de/source/slim_themes/gentoo_10_dark/gentoo_10_dark.tar.bz2 -> gentoo_10_dark-r1.tar.bz2" |
58 |
+ http://www.konstantinhansen.de/source/slim_themes/gentoo_10_dark/gentoo_10_dark.tar.bz2 -> gentoo_10_dark-r1.tar.bz2 |
59 |
+" |
60 |
+S="${WORKDIR}" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 sparc x86" |
65 |
-IUSE="" |
66 |
|
67 |
RDEPEND="x11-misc/slim" |
68 |
-DEPEND="" |
69 |
|
70 |
RESTRICT="strip binchecks" |
71 |
|
72 |
-S="${WORKDIR}" |
73 |
- |
74 |
-src_prepare() { |
75 |
- epatch "${FILESDIR}/slim-theme-flat.diff" |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- : |
80 |
-} |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}/slim-theme-flat.diff" |
83 |
+) |
84 |
|
85 |
src_install() { |
86 |
for i in capernoited flower2 gentoo isolated lotus-{sage,midnight} \ |