summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:21:08 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-19 23:21:08 +0000
commit127709346be27f7efce878d66e641d1907196fe7 (patch)
tree20e96b8cd103755953f8c7199ecc0e9ee2ba9b67
parent4b9b6a2fade8df3f1fe3794405f69c96ca57245e (diff)
downloadpackages-127709346be27f7efce878d66e641d1907196fe7.tar.gz
packages-127709346be27f7efce878d66e641d1907196fe7.tar.bz2
packages-127709346be27f7efce878d66e641d1907196fe7.tar.xz
packages-127709346be27f7efce878d66e641d1907196fe7.zip
user/kontactinterface: New package
-rw-r--r--user/kontactinterface/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/user/kontactinterface/APKBUILD b/user/kontactinterface/APKBUILD
new file mode 100644
index 000000000..4a7aae210
--- /dev/null
+++ b/user/kontactinterface/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kontactinterface
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="Kontact public interface library"
+url="https://kde.org/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="qt5-qtbase-dev cmake extra-cmake-modules kauth-dev kcodecs-dev
+ kcoreaddons-dev ki18n-dev kjobwidgets-dev kparts-dev kservice-dev
+ kwindowsystem-dev kxmlgui-dev solid-dev sonnet-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kontactinterface-$pkgver.tar.xz"
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS} \
+ .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="a702d601ed90c6d90442bf13bf739917180670912dab6c3c4792046daa545ccb7294c8cb6a206dbd9fe6ef411eb7cd4cf113bc87e6b6f2f4517e8180fb4a6c87 kontactinterface-20.04.3.tar.xz"