summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-25 13:38:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-25 16:40:52 +0200
commit36026533abb02473836e449ea7fad721dbdede94 (patch)
tree2cf88e2be2f9f10d57e52b52b5a9e0bac4278378 /kde-misc
parentkde-misc/emerging-plasmoid: Fix HOMEPAGE and SRC_URI (diff)
downloadkde-sunset-36026533abb02473836e449ea7fad721dbdede94.tar.gz
kde-sunset-36026533abb02473836e449ea7fad721dbdede94.tar.bz2
kde-sunset-36026533abb02473836e449ea7fad721dbdede94.zip
kde-misc/kgrubeditor: Fix HOMEPAGE and SRC_URI
Fix depgraph by dropping <sys-boot/grub-1 RDEPEND and move it to pkg_postinst ewarn message if missing. This overlay won't import grub. Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/kgrubeditor/Manifest2
-rw-r--r--kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild16
2 files changed, 7 insertions, 11 deletions
diff --git a/kde-misc/kgrubeditor/Manifest b/kde-misc/kgrubeditor/Manifest
index 50c9c60b..c33363ed 100644
--- a/kde-misc/kgrubeditor/Manifest
+++ b/kde-misc/kgrubeditor/Manifest
@@ -1 +1 @@
-DIST KGRUBEditor-0.8.5-src.tar.bz2 142497 SHA256 8d9fca9447985c19c9787a5ec4aa009492848bbbf58c5c0ee28dcd54535bea66 SHA512 9389494acbf6fafa6d6d9ac11f72fac175d150001c1bf311b33c1a1caef25bb0b381234402e0cb19dccc970956894a4c4aa124673ecd0714ca46c0fb766b44d0 WHIRLPOOL cc7daaafb70b870844200708d3c9628e303091c650e6996e28e893a8d5642e98f507a690d0614014f78fa42dd98cee9c63e17f28c3be9f698f03a335184a9976
+DIST kgrubeditor-0.8.5.tar.gz 156760 BLAKE2B de305f3007593b7cd642e9784d7e0e3b551b96d67f70a116e64cfbff5aefa49dc22330a9a17c47da31d10d0ce3b47cc2ec834b88c3bb64b7055ab7e5ed130872 SHA512 dc6dca01571af3b3fdc3a8a44c906555ae1da671cc971b1036ca7d8c2e82093c949ad6f4ba858cd8669c3a1080ebb10fa66fa82482609bfcc1e1d73cfa1604ec
diff --git a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
index 61d28c2d..574f5d68 100644
--- a/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
+++ b/kde-misc/kgrubeditor/kgrubeditor-0.8.5.ebuild
@@ -1,26 +1,22 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit kde4-base
-MY_PN="KGRUBEditor"
-
DESCRIPTION="A KDE utility that edits GRUB configuration files"
-HOMEPAGE="http://www.kde-apps.org/content/show.php?content=75442"
-SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}-src.tar.bz2"
+HOMEPAGE="https://www.linux-apps.com/p/1127871 https://sourceforge.net/projects/kgrubeditor/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
-RDEPEND="|| ( <sys-boot/grub-1
- sys-boot/grub-static )"
-
pkg_postinst() {
- ewarn
+ if ! has_version "<sys-boot/grub-1" && ! has_version sys-boot/grub-static; then
+ ewarn "Neither <sys-boot/grub-1 nor sys-boot/grub-static packages found installed."
+ fi
ewarn "NOTE: kgrubeditor can not handle grub-2.x configuration files!"
- ewarn
}