summaryrefslogtreecommitdiff
path: root/user/kxmlrpcclient
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-01 22:12:14 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-10-01 22:12:14 -0500
commit2bfbf461cfd1ba6cb49bb07fa2513fef9cb62bcb (patch)
tree373c3f923ec1d508a31cff831f75b2c664f7f752 /user/kxmlrpcclient
parent2b9ca30e89e84342c74369a25c26dbd3da5c1bbf (diff)
downloadpackages-2bfbf461cfd1ba6cb49bb07fa2513fef9cb62bcb.tar.gz
packages-2bfbf461cfd1ba6cb49bb07fa2513fef9cb62bcb.tar.bz2
packages-2bfbf461cfd1ba6cb49bb07fa2513fef9cb62bcb.tar.xz
packages-2bfbf461cfd1ba6cb49bb07fa2513fef9cb62bcb.zip
user/kxmlrpcclient: new package
Diffstat (limited to 'user/kxmlrpcclient')
-rw-r--r--user/kxmlrpcclient/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/kxmlrpcclient/APKBUILD b/user/kxmlrpcclient/APKBUILD
new file mode 100644
index 000000000..88b40e0e2
--- /dev/null
+++ b/user/kxmlrpcclient/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kxmlrpcclient
+pkgver=5.38.0
+pkgrel=0
+pkgdesc="Qt library for writing XML-RPC clients"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1"
+depends=""
+depends_dev="qt5-qtbase-dev ki18n-dev kio-dev"
+makedepends="$depends_dev cmake extra-cmake-modules python3 gettext-dev
+ doxygen graphviz qt5-qttools-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/frameworks/5.38/kxmlrpcclient-$pkgver.tar.xz"
+builddir="$srcdir/kxmlrpcclient-$pkgver"
+
+build() {
+ cd "$builddir"
+ 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" \
+ -DBUILD_QCH:BOOL=ON \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c8ee2bbe1547ee153197742b1069ca1113c591bd9d9560618e7083fba8af60d1877e8c822923158dc14789ed95a903486e5d5b291862948acc796b29a4764b49 kxmlrpcclient-5.38.0.tar.xz"