summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-25 01:53:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-25 01:53:25 +0000
commit1713df6f44e2bd114fdd316cf7d0adf25b2473d2 (patch)
tree8250cb3127d9da757d380e2c87803adc4ebc1ac8 /user
parent4193a6d1adfb08a77ba2899261182f5f00b69357 (diff)
downloadpackages-1713df6f44e2bd114fdd316cf7d0adf25b2473d2.tar.gz
packages-1713df6f44e2bd114fdd316cf7d0adf25b2473d2.tar.bz2
packages-1713df6f44e2bd114fdd316cf7d0adf25b2473d2.tar.xz
packages-1713df6f44e2bd114fdd316cf7d0adf25b2473d2.zip
user/kdewebkit: new package
Diffstat (limited to 'user')
-rw-r--r--user/kdewebkit/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/kdewebkit/APKBUILD b/user/kdewebkit/APKBUILD
new file mode 100644
index 000000000..33498606c
--- /dev/null
+++ b/user/kdewebkit/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kdewebkit
+pkgver=5.51.0
+pkgrel=0
+pkgdesc="KDE integration with WebKit"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+depends_dev="qt5-qtwebkit-dev"
+makedepends="$depends_dev cmake extra-cmake-modules kconfig-dev kcoreaddons-dev
+ kio-dev kparts-dev kwallet-dev"
+subpackages="$pkgname-dev"
+source="https://download.kde.org/stable/frameworks/5.51/kdewebkit-$pkgver.tar.xz"
+
+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" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="166637e3e30b94822e9a10cde59012f04505f564e5a6d69b81dffd9b7d0584f70891eab640dcac3d5ae56bba2e96b8cb2bac5c31b42ac95996a37660e55b90ee kdewebkit-5.51.0.tar.xz"