mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
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>
This commit is contained in:
parent
88f8639b69
commit
f713aff8e9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user