diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-15 10:09:11 +0200 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-06-15 10:11:37 +0200 |
| commit | 8ae7620c5051cbf2b98facbfd4e4d0196c2c1fe6 (patch) | |
| tree | a85886f1cb11ab310c8690cf318a45089b7830b5 /eclass/kde5-functions.eclass | |
| parent | 90916265d03648d05c9a7d29862c528ae4f7b127 (diff) | |
| download | kde-8ae7620c5051cbf2b98facbfd4e4d0196c2c1fe6.tar.gz kde-8ae7620c5051cbf2b98facbfd4e4d0196c2c1fe6.tar.bz2 kde-8ae7620c5051cbf2b98facbfd4e4d0196c2c1fe6.zip | |
kde5-functions.eclass: Drop KDE Plasma 5.8 LTS quirks
We won't need this.
Diffstat (limited to 'eclass/kde5-functions.eclass')
| -rw-r--r-- | eclass/kde5-functions.eclass | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index b5f639eaf75..942c0251d53 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -136,22 +136,16 @@ _add_category_dep() { local category=${1} local package=${2} local use=${3} - local operator=${4} - local version=${5} - local slot=${6} + local version=${4} + local slot=${5} if [[ -n ${use} ]] ; then local use="[${use}]" fi if [[ -n ${version} ]] ; then - if [[ -z ${operator} ]] ; then - operator=">=" - fi - version="-$(get_version_component_range 1-3 ${version})" - if [[ ${operator} = "=" ]] ; then - version="${version}*" - fi + local operator=">=" + local version="-$(get_version_component_range 1-3 ${version})" fi if [[ -n ${slot} ]] ; then @@ -192,7 +186,7 @@ add_frameworks_dep() { version=${FRAMEWORKS_MINIMAL} fi - _add_category_dep kde-frameworks "${1}" "${2}" "" "${version}" "${4}" + _add_category_dep kde-frameworks "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_plasma_dep @@ -214,21 +208,17 @@ add_plasma_dep() { die "${FUNCNAME} was called with too many arguments" fi - local operator local version if [[ -n ${3} ]]; then version=${3} elif [[ ${CATEGORY} = kde-plasma ]]; then version=${PV} - if [[ ${PV} = 5.8* ]] ; then - operator="=" - fi elif [[ -z "${version}" ]] ; then version=${PLASMA_MINIMAL} fi - _add_category_dep kde-plasma "${1}" "${2}" "${operator}" "${version}" "${4}" + _add_category_dep kde-plasma "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_kdeapps_dep @@ -265,7 +255,7 @@ add_kdeapps_dep() { fi fi - _add_category_dep kde-apps "${1}" "${2}" "" "${version}" "${4}" + _add_category_dep kde-apps "${1}" "${2}" "${version}" "${4}" } # @FUNCTION: add_qt_dep @@ -300,7 +290,7 @@ add_qt_dep() { slot="5" fi - _add_category_dep dev-qt "${1}" "${2}" "" "${version}" "${slot}" + _add_category_dep dev-qt "${1}" "${2}" "${version}" "${slot}" } # @FUNCTION: get_kde_version |
