2019-06-17 13:40:39 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=ktp-common-internals
|
2019-09-07 20:08:43 +00:00
|
|
|
pkgver=19.08.1
|
2019-06-17 13:40:39 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Library for KTp"
|
|
|
|
url="https://github.com/kde/ktp-common-internals"
|
|
|
|
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"
|
2019-09-07 20:08:43 +00:00
|
|
|
source="https://download.kde.org/stable/applications/$pkgver/src/ktp-common-internals-$pkgver.tar.xz"
|
|
|
|
subpackages="$pkgname-dev $pkgname-lang"
|
|
|
|
options="!check" # No tests
|
2019-06-17 13:40:39 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2019-09-07 20:08:43 +00:00
|
|
|
check() {
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2019-06-17 13:40:39 +00:00
|
|
|
package() {
|
|
|
|
DESTDIR="$pkgdir" make install
|
|
|
|
}
|
|
|
|
|
2019-09-07 20:08:43 +00:00
|
|
|
sha512sums="175434bf8a765003960defe2b27278e0493f81e36c36405d5cae6967f2656383e1b7efb903c38e80cb332fba518b4508bd7b809057580fb132f10ec58f12ba93 ktp-common-internals-19.08.1.tar.xz"
|