KDE.ORG.ECLASS

Section: eclass-manpages (5)
Updated: Oct 2021
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 8

FUNCTIONS

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.

MAINTAINERS

kde@gentoo.org

REPORTING BUGS

Please report bugs via https://bugs.gentoo.org/

FILES

kde.org.eclass

SEE 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:01 GMT, October 16, 2021