1 |
commit: 36026533abb02473836e449ea7fad721dbdede94 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 25 11:38:33 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 25 14:40:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=36026533 |
7 |
|
8 |
kde-misc/kgrubeditor: Fix HOMEPAGE and SRC_URI |
9 |
|
10 |
Fix depgraph by dropping <sys-boot/grub-1 RDEPEND and move it to |
11 |
pkg_postinst ewarn message if missing. This overlay won't import grub. |
12 |
|
13 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild | 16 ++++++---------- |
17 |
1 file changed, 6 insertions(+), 10 deletions(-) |
18 |
|
19 |
diff --git a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild |
20 |
index 61d28c2d..574f5d68 100644 |
21 |
--- a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild |
22 |
+++ b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild |
23 |
@@ -1,26 +1,22 @@ |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
+# Copyright 1999-2020 Gentoo Authors |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
|
28 |
EAPI=5 |
29 |
|
30 |
inherit kde4-base |
31 |
|
32 |
-MY_PN="KGRUBEditor" |
33 |
- |
34 |
DESCRIPTION="A KDE utility that edits GRUB configuration files" |
35 |
-HOMEPAGE="http://www.kde-apps.org/content/show.php?content=75442" |
36 |
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.bz2" |
37 |
+HOMEPAGE="https://www.linux-apps.com/p/1127871 https://sourceforge.net/projects/kgrubeditor/" |
38 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
39 |
|
40 |
LICENSE="GPL-2" |
41 |
SLOT="4" |
42 |
KEYWORDS="~amd64 ~x86" |
43 |
IUSE="debug" |
44 |
|
45 |
-RDEPEND="|| ( <sys-boot/grub-1 |
46 |
- sys-boot/grub-static )" |
47 |
- |
48 |
pkg_postinst() { |
49 |
- ewarn |
50 |
+ if ! has_version "<sys-boot/grub-1" && ! has_version sys-boot/grub-static; then |
51 |
+ ewarn "Neither <sys-boot/grub-1 nor sys-boot/grub-static packages found installed." |
52 |
+ fi |
53 |
ewarn "NOTE: kgrubeditor can not handle grub-2.x configuration files!" |
54 |
- ewarn |
55 |
} |