KDE.ORG.ECLASS
Section: eclass-manpages (5)Updated: May 2022
Index Return to Main Contents
NAME
kde.org.eclass - Support eclass for packages that are hosted on kde.org infrastructure.DESCRIPTION
This eclass is mainly providing facilities for the three upstream release groups (Frameworks, Plasma, Gear) to assemble default SRC_URI for tarballs, set up git-r3.eclass for stable/master branch versions or restrict access to unreleased (packager access only) tarballs in Gentoo KDE overlay, but it may be also used by any other package hosted on kde.org. It also contains default meta variables for settings not specific to any particular build system.SUPPORTED EAPIS
7 8FUNCTIONS
- kde.org_pkg_nofetch
- Intended for use in the KDE overlay. If this package matches something in KDE_UNRELEASED, display a giant warning that the package has not yet been released upstream and should not be used.
- kde.org_src_unpack
- Unpack the sources, automatically handling both release and live ebuilds.
ECLASS VARIABLES
- KDE_BUILD_TYPE = "release"
- If PV matches "*9999*", this is automatically set to "live". Otherwise, this is automatically set to "release".
- KDE_ORG_CATEGORY ?= ${KDE_ORG_CATEGORIES[${CATEGORY}]:-kde} (SET BEFORE INHERIT)
- If unset, default value is mapped from ${CATEGORY} to corresponding upstream category on invent.kde.org, with "kde" as fallback value.
- KDE_ORG_COMMIT (SET BEFORE INHERIT)
- If set, instead of a regular release tarball, pull tar.gz snapshot from an invent.kde.org repository identified by KDE_ORG_CATEGORY and KDE_ORG_NAME at the desired COMMIT ID.
- KDE_ORG_NAME ?= $PN (SET BEFORE INHERIT)
- If unset, default value is set to ${PN}. Name of the package as hosted on kde.org mirrors.
- KDE_GEAR ?= false (SET BEFORE INHERIT)
- Mark package is being part of KDE Gear release schedule. By default, this is set to "false" and does nothing. If CATEGORY equals kde-apps, this is automatically set to "true". If set to "true", set SRC_URI accordingly and apply KDE_UNRELEASED.
- KDE_SELINUX_MODULE ?= none (SET BEFORE INHERIT)
- If set to "none", do nothing. For any other value, add selinux to IUSE, and depending on that useflag add a dependency on sec-policy/selinux-${KDE_SELINUX_MODULE} to (R)DEPEND.
- EGIT_MIRROR
- This variable allows easy overriding of default kde mirror service (anongit) with anything else you might want to use.
- EGIT_REPONAME
- This variable allows overriding of default repository name. Specify only if this differs from PN and KDE_ORG_NAME.
MAINTAINERS
kde@gentoo.orgREPORTING BUGS
Please report bugs via https://bugs.gentoo.org/FILES
kde.org.eclassSEE ALSO
ebuild(5)https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/kde.org.eclass
Index
- NAME
- DESCRIPTION
- SUPPORTED EAPIS
- FUNCTIONS
- ECLASS VARIABLES
- MAINTAINERS
- REPORTING BUGS
- FILES
- SEE ALSO
This document was created by man2html, using the manual pages.
Time: 03:27:02 GMT, July 01, 2022