diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-11-10 01:35:48 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-12 22:43:39 +0100 |
commit | f713aff8e9675e3400b09af9d5bda673b845a763 (patch) | |
tree | 5e10a45eaf8e0f5931b2fc92cb3b0ffcf19bcf77 /eclass | |
parent | ecm.eclass: Add ECM_PYTHON_BINDINGS to (so far only) disable those (diff) | |
download | gentoo-f713aff8e9675e3400b09af9d5bda673b845a763.tar.gz gentoo-f713aff8e9675e3400b09af9d5bda673b845a763.tar.bz2 gentoo-f713aff8e9675e3400b09af9d5bda673b845a763.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>
Diffstat (limited to 'eclass')
-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 9be501ce9e3f..47a52ef0234c 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 |