KDE5-FUNCTIONS.ECLASS

Section: eclass-manpages (5)
Updated: Feb 2020
Index Return to Main Contents

NAME

kde5-functions.eclass - Common ebuild functions for packages based on KDE Frameworks 5.

DESCRIPTION

This eclass contains functions shared by the other KDE eclasses and forms part of their public API.

This eclass must not be inherited directly by an ebuild.

SUPPORTED EAPIS

7

FUNCTIONS

add_frameworks_dep <package name> [USE flags] [minimum version] [slot + operator]
Create proper dependency for kde-frameworks/ dependencies. This takes 1 to 4 arguments. The first being the package name, the optional second is additional USE flags to append, and the optional third is the version to use instead of the automatic version (use sparingly). In addition, the optional fourth argument defines slot+operator instead of automatic slot (use even more sparingly). The output of this should be added directly to DEPEND/RDEPEND, and may be wrapped in a USE conditional (but not an || conditional without an extra set of parentheses). PORTING: no replacement
add_plasma_dep <package name> [USE flags] [minimum version] [slot + operator]
Create proper dependency for kde-plasma/ dependencies. This takes 1 to 4 arguments. The first being the package name, the optional second is additional USE flags to append, and the optional third is the version to use instead of the automatic version (use sparingly). In addition, the optional fourth argument defines slot+operator instead of automatic slot (use even more sparingly). The output of this should be added directly to DEPEND/RDEPEND, and may be wrapped in a USE conditional (but not an || conditional without an extra set of parentheses). PORTING: no replacement
add_kdeapps_dep <package name> [USE flags] [minimum version] [slot + operator]
Create proper dependency for kde-apps/ dependencies. This takes 1 to 4 arguments. The first being the package name, the optional second is additional USE flags to append, and the optional third is the version to use instead of the automatic version (use sparingly). In addition, the optional fourth argument defines slot+operator instead of automatic slot (use even more sparingly). The output of this should be added directly to DEPEND/RDEPEND, and may be wrapped in a USE conditional (but not an || conditional without an extra set of parentheses). PORTING: no replacement
add_qt_dep <package name> [USE flags] [minimum version] [slot + operator]
Create proper dependency for dev-qt/ dependencies. This takes 1 to 4 arguments. The first being the package name, the optional second is additional USE flags to append, and the optional third is the version to use instead of the automatic version (use sparingly). In addition, the optional fourth argument defines slot+operator instead of automatic slot (use even more sparingly). The output of this should be added directly to DEPEND/RDEPEND, and may be wrapped in a USE conditional (but not an || conditional without an extra set of parentheses). PORTING: no replacement
punt_bogus_dep <prefix> <dependency>
Removes a specified dependency from a find_package call with multiple components. PORTING: Use ecm_punt_bogus_dep from ecm.eclass instead.

ECLASS VARIABLES

QT_MINIMAL ?= 5.12.3
Minimum version of Qt to require. This affects add_qt_dep.
FRAMEWORKS_MINIMAL ?= 5.60.0
Minimum version of Frameworks to require. This affects add_frameworks_dep.
PLASMA_MINIMAL ?= 5.15.5
Minimum version of Plasma to require. This affects add_plasma_dep.
KDE_APPS_MINIMAL ?= 19.04.3
Minimum version of KDE Applications to require. This affects add_kdeapps_dep.

MAINTAINERS

kde@gentoo.org

REPORTING BUGS

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

FILES

kde5-functions.eclass

SEE ALSO

ebuild(5)
https://gitweb.gentoo.org/repo/gentoo.git/log/eclass/kde5-functions.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:03 GMT, February 26, 2020