kde.org.eclass

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

Exported Phases

  • pkg_nofetch

  • src_unpack

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.

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.org

Reporting Bugs

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