diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-10 01:35:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-15 22:06:02 +0100 |
commit | a277b4410cf6ff32dbb38a573e2ffd39dd56dfa3 (patch) | |
tree | 1d1e6bb386d182e61e0639fda843d754bf2218a6 | |
parent | ecm.eclass: Switch ECM_PO_DIRS to being an array (diff) | |
download | kde-a277b4410cf6ff32dbb38a573e2ffd39dd56dfa3.tar.gz kde-a277b4410cf6ff32dbb38a573e2ffd39dd56dfa3.tar.bz2 kde-a277b4410cf6ff32dbb38a573e2ffd39dd56dfa3.zip |
kde.org.eclass: Utilise pkg_info for live ebuild warnings
Imported from ecm.eclass for now. Enables more fine-grained messaging by
knowledge available through {frameworks,plasma,gear}.kde.org inheritance
combined with ${PV}.
Bug: https://bugs.gentoo.org/823808
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | eclass/kde.org.eclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/eclass/kde.org.eclass b/eclass/kde.org.eclass index 9be501ce9e..47a52ef023 100644 --- a/eclass/kde.org.eclass +++ b/eclass/kde.org.eclass @@ -235,6 +235,14 @@ kde.org_src_unpack() { esac } +kde.org_pkg_info() { + if [[ ${KDE_BUILD_TYPE} = live ]]; then + echo "WARNING! This is an experimental live ebuild of ${CATEGORY}/${PN}" + echo "Use it at your own risk." + echo "Only file bugs at bugs.gentoo.org if convinced that ebuild needs an update!" + fi +} + fi -EXPORT_FUNCTIONS pkg_nofetch src_unpack +EXPORT_FUNCTIONS pkg_nofetch src_unpack pkg_info |