kde/ktp-common-internals: upgrade to 19.08.2 (!742)
This commit is contained in:
parent
4d628854d2
commit
f97ea1d9f7
2 changed files with 40 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
||||
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
||||
pkgname=ktp-common-internals
|
||||
pkgver=19.08.1
|
||||
pkgver=19.08.2
|
||||
pkgrel=0
|
||||
pkgdesc="Library for KTp"
|
||||
url="https://github.com/kde/ktp-common-internals"
|
||||
|
@ -9,12 +9,20 @@ arch="all"
|
|||
license="LGPL-2.1-only AND GPL-2.0-only"
|
||||
depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev knotifications-dev kio-dev kwidgetsaddons-dev kcmutils-dev knotifyconfig-dev ktexteditor-dev kwallet-dev kconfig-dev kwindowsystem-dev kemoticons-dev kiconthemes-dev kpeople-dev telepathy-qt-dev telepathy-logger-qt-dev"
|
||||
makedepends="$depends_dev extra-cmake-modules doxygen"
|
||||
source="https://download.kde.org/stable/applications/$pkgver/src/ktp-common-internals-$pkgver.tar.xz"
|
||||
source="https://download.kde.org/stable/applications/$pkgver/src/ktp-common-internals-$pkgver.tar.xz
|
||||
fix-build.patch"
|
||||
subpackages="$pkgname-dev $pkgname-lang"
|
||||
options="!check" # No tests
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
mkdir "$builddir"/build
|
||||
}
|
||||
|
||||
build() {
|
||||
cmake \
|
||||
cd "$builddir"/build
|
||||
cmake "$builddir" \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib
|
||||
|
@ -22,11 +30,14 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"/build
|
||||
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"/build
|
||||
DESTDIR="$pkgdir" make install
|
||||
}
|
||||
|
||||
sha512sums="175434bf8a765003960defe2b27278e0493f81e36c36405d5cae6967f2656383e1b7efb903c38e80cb332fba518b4508bd7b809057580fb132f10ec58f12ba93 ktp-common-internals-19.08.1.tar.xz"
|
||||
sha512sums="dda4b54497fe85067e0bf6f14b892cb0a718e4eb6a997628a07f6d26c3062d2b413766c70a014372bd5708c7b0d6c75da4749b694bcd8062aed01a43bf3b2b3b ktp-common-internals-19.08.2.tar.xz
|
||||
4a2b1fce5ae3f7c39709c4970d56008eede04dce5d5dc6dc7c185c67697893b205408e9501ddba52e15693f99d533c035a8c28de12ec24611e9422ab37143849 fix-build.patch"
|
||||
|
|
25
kde/ktp-common-internals/fix-build.patch
Normal file
25
kde/ktp-common-internals/fix-build.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
diff --git a/KTp/CMakeLists.txt b/KTp/CMakeLists.txt
|
||||
index 85d578b..f7b68f9 100644
|
||||
--- a/KTp/CMakeLists.txt
|
||||
+++ b/KTp/CMakeLists.txt
|
||||
@@ -93,6 +93,8 @@ target_link_libraries (KTpCommonInternals
|
||||
PUBLIC
|
||||
KF5::Wallet #included from wallet-interface.h
|
||||
${TELEPATHY_QT5_LIBRARIES}
|
||||
+ Qt5::DBus
|
||||
+ Qt5::Xml
|
||||
PRIVATE
|
||||
${ktp_private_LIBS}
|
||||
KF5::KIOWidgets
|
||||
diff --git a/KTp/OTR/CMakeLists.txt b/KTp/OTR/CMakeLists.txt
|
||||
index 12e28de..b245f6c 100644
|
||||
--- a/KTp/OTR/CMakeLists.txt
|
||||
+++ b/KTp/OTR/CMakeLists.txt
|
||||
@@ -29,6 +29,7 @@ generate_export_header(KTpOTR)
|
||||
target_link_libraries (KTpOTR
|
||||
PUBLIC
|
||||
${TELEPATHY_QT5_LIBRARIES}
|
||||
+ Qt5::DBus
|
||||
PRIVATE
|
||||
KF5::I18n
|
||||
)
|
Loading…
Reference in a new issue