Updated how package version works and updated to current 5.19.0 KF5.

This commit is contained in:
Sébastien Taylor
2016-02-19 10:09:10 -07:00
committed by Volker Krause
parent c53c4b09f7
commit 8344521ab1
58 changed files with 100 additions and 119 deletions

View File

@@ -5,6 +5,8 @@ EXTRA_OECMAKE += " \
# This function is rather offensive right now, but it seems to work
do_install_prepend() {
sed -i 's/\"\/usr\//\"\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
sed -i 's/\;\/usr\//\;\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
if [ "0" -ne $(find . -name \*.cmake | grep _usr | wc -l) ]; then
sed -i 's/\"\/usr\//\"\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
sed -i 's/\;\/usr\//\;\$\{OE_KF5_PATH_HOST_ROOT\}\/usr\//g' $(find . -name "*.cmake" | grep _usr)
fi
}

View File

@@ -1,13 +1,12 @@
DESCRIPTION = "Extra CMake Modules"
HOMEPAGE = "https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING-CMAKE-SCRIPTS;md5=54c7042be62e169199200bc6477f04d1 \
"
LIC_FILES_CHKSUM = "file://COPYING-CMAKE-SCRIPTS;md5=54c7042be62e169199200bc6477f04d1"
PR = "r0"
DEPENDS = "cmake-native qttools"
GIT_REPO = "git://anongit.kde.org/extra-cmake-modules;protocol=git"
SRC_URI = "git://anongit.kde.org/extra-cmake-modules;protocol=git"
S = "${WORKDIR}/git"
do_compile() {

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "9e999cecc0a0427b593ce18c9619934ad09e1e92"
PV = "1.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/attica"
SRC_URI = "git://anongit.kde.org/attica"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "aebbe875f20b0c5c4be073917366cf10e00a948b"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "ecm zlib bzip2 xz qtbase"
GIT_REPO = "git://anongit.kde.org/karchive;protocol=git"
SRC_URI = "git://anongit.kde.org/karchive;protocol=git"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "05065c64b0d60842b9b8004ecf29132978e99a42"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kcodecs"
SRC_URI = "git://anongit.kde.org/kcodecs"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "4685f319963730680bc4aa423368d518fe3646a0"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kcoreaddons"
SRC_URI = "git://anongit.kde.org/kcoreaddons"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "3bf93e981bd0f25dc06fb7e373f8b2b3b7e19a5f"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kdbusaddons"
SRC_URI = "git://anongit.kde.org/kdbusaddons"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "25a4c2d62f749cd96a3885a1e0f67b0facc840c6"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kdnssd"
SRC_URI = "git://anongit.kde.org/kdnssd"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "e7740b2723c2789ece5b816e74139205cc6976ef"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase qtx11extras"
GIT_REPO = "git://anongit.kde.org/kglobalaccel"
SRC_URI = "git://anongit.kde.org/kglobalaccel"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "46dc641175994185934b3231816d6a7cd48a2a71"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kguiaddons"
SRC_URI = "git://anongit.kde.org/kguiaddons"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "629628028eb637a727ab54689c2dec50a68eaaca"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase qtscript"
GIT_REPO = "git://anongit.kde.org/ki18n"
SRC_URI = "git://anongit.kde.org/ki18n"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "71bb29c73625e14e81da804a3c1fd0ff29c315e0"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kidletime"
SRC_URI = "git://anongit.kde.org/kidletime"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "1c99d012dbf370a09d5e2664b2d3c9a341682927"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kimageformats"
SRC_URI = "git://anongit.kde.org/kimageformats"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "5b42b3b7870e493b04a3c9dc09de0795db5eb443"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kitemmodels"
SRC_URI = "git://anongit.kde.org/kitemmodels"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "a90e289399faa4a174f29b71f6fea42ce575095c"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kitemviews"
SRC_URI = "git://anongit.kde.org/kitemviews"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "73efe3cc9fceffa7dbfd75f975d2dce673f109e9"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kplotting"
SRC_URI = "git://anongit.kde.org/kplotting"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "1ef35022e0c8a1ad87783d7338af7b90672694c6"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kwidgetsaddons"
SRC_URI = "git://anongit.kde.org/kwidgetsaddons"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "1c06448e7997f70e2174c2fdc8b6bdfbef44d56d"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/kwindowsystem"
SRC_URI = "git://anongit.kde.org/kwindowsystem"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "5dcdca311dcbad5f88cb0ae8c0c329c4b379b773"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/solid"
SRC_URI = "git://anongit.kde.org/solid"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,6 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
# 5 commits past 5.0.0, due to licensing
SRCREV = "d89d25980ac1b4c5ee51058ea746984aec23c1e1"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"

View File

@@ -7,7 +7,7 @@ PR = "r0"
DEPENDS = "qtbase"
GIT_REPO = "git://anongit.kde.org/threadweaver"
SRC_URI = "git://anongit.kde.org/threadweaver"
S = "${WORKDIR}/git"
inherit cmake_kf5

View File

@@ -1,5 +0,0 @@
require ${PN}.inc
SRC_URI = "${GIT_REPO}"
SRCREV = "cfbea9ea8e4988b1762f7b9b824c2328b3f233b7"
PV = "5.0.0"

View File

@@ -0,0 +1,4 @@
require ${PN}.inc
SRCREV = "v${PV}"