summaryrefslogtreecommitdiff
path: root/user/kpeople
diff options
context:
space:
mode:
Diffstat (limited to 'user/kpeople')
-rw-r--r--user/kpeople/APKBUILD14
-rw-r--r--user/kpeople/dont-crash-test.patch12
2 files changed, 4 insertions, 22 deletions
diff --git a/user/kpeople/APKBUILD b/user/kpeople/APKBUILD
index d6db40186..186200857 100644
--- a/user/kpeople/APKBUILD
+++ b/user/kpeople/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kpeople
-pkgver=5.54.0
+pkgver=5.94.0
pkgrel=0
pkgdesc="Provides access to all contacts and groups them by physical person"
url="https://api.kde.org/frameworks/kpeople/html/index.html"
@@ -14,12 +14,9 @@ depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev
makedepends="$depends_dev cmake extra-cmake-modules python3 doxygen graphviz
qt5-qttools-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kpeople-$pkgver.tar.xz
- dont-crash-test.patch
- "
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kpeople-$pkgver.tar.xz"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -31,19 +28,16 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_QCH:BOOL=ON \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="8f4709cfb256eb7f836d64ee5dcec9962323a8d2d4b362a01fb140af53b7b16db5dd6bd4c8246af67086bee4e2baa9b40e66e877486900c32eb51cb3483a899c kpeople-5.54.0.tar.xz
-77df2aefcdfb8e5b9c2fef7a6bfd79066819b0c6958b9e2f8fe94860155aaae9c284a110a15a189cd5b423dc7aa017b952196370f60a4fb382ed7eb77f15abd9 dont-crash-test.patch"
+sha512sums="257765a7591759118a5b76e66c67e7eb5bd2b2eaef9dce1eb7694824081ea830a87cce90465d1920961dac969fc33a8763afe1ea6080ee9f4b907fb3000a8be3 kpeople-5.94.0.tar.xz"
diff --git a/user/kpeople/dont-crash-test.patch b/user/kpeople/dont-crash-test.patch
deleted file mode 100644
index e133618be..000000000
--- a/user/kpeople/dont-crash-test.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --git a/autotests/personsmodeltest.cpp b/autotests/personsmodeltest.cpp
-index 3e5b9a5..ee2123b 100644
---- a/autotests/personsmodeltest.cpp
-+++ b/autotests/personsmodeltest.cpp
-@@ -119,6 +119,7 @@ void PersonsModelTest::gettersTests()
- {
- // Find the index for "kpeople://1" using the QAIModel method
- QModelIndexList indexList = m_model->match(m_model->index(0,0,QModelIndex()), KPeople::PersonsModel::PersonUriRole, QVariant(QStringLiteral("kpeople://1")), 1);
-+ QCOMPARE(indexList.isEmpty(), false);
- QModelIndex personIndex = indexList.first();
-
- // Now get the index using our method