KDE.ORG.ECLASS

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

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 (repository) as hosted on invent.kde.org.
KDE_ORG_SCHEDULE_URI ?= "https://community.kde.org/Schedules"
Known schedule URI of package or release group.
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.
KDE_ORG_TAR_PN ?= $KDE_ORG_NAME (SET BEFORE INHERIT)
If unset, default value is set to ${KDE_ORG_NAME}. Filename sans version of the tarball as hosted on kde.org download mirrors. This is used e.g. when upstream's tarball name differs from repository, especially after repository moves.
KDE_ORG_UNRELEASED = false
If set to "true" fetch restriction will be enabled, and a proper error message displayed via pkg_nofetch.
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.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 07, 2024