summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-11-10 01:35:48 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2024-12-12 22:43:39 +0100
commitf713aff8e9675e3400b09af9d5bda673b845a763 (patch)
tree5e10a45eaf8e0f5931b2fc92cb3b0ffcf19bcf77 /eclass
parentecm.eclass: Add ECM_PYTHON_BINDINGS to (so far only) disable those (diff)
downloadgentoo-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.eclass10
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