aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2020-03-14 09:15:31 +0100
committerRasmus Thomsen <oss@cogitri.dev>2020-03-27 09:51:17 +0000
commitbd1d1fb8bf63e98cd0a00db27f85b60022e9692b (patch)
tree2b3cc380f59b32350e1dc98f25810529f0d84e0a
parent24e3e2cc8cf095d4aa11b206ae65b0561b25830e (diff)
downloadaports-bd1d1fb8bf63e98cd0a00db27f85b60022e9692b.tar.gz
aports-bd1d1fb8bf63e98cd0a00db27f85b60022e9692b.tar.bz2
aports-bd1d1fb8bf63e98cd0a00db27f85b60022e9692b.tar.xz
community/libwpebackend-fdo: new aport
https://wpewebkit.org/ freedesktop.org backend for WPE WebKit Required for webkit2gtk
-rw-r--r--community/libwpebackend-fdo/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/libwpebackend-fdo/APKBUILD b/community/libwpebackend-fdo/APKBUILD
new file mode 100644
index 0000000000..9922d0d11f
--- /dev/null
+++ b/community/libwpebackend-fdo/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=libwpebackend-fdo
+pkgver=1.6.0
+pkgrel=0
+pkgdesc="freedesktop.org backend for WPE WebKit"
+url="https://wpewebkit.org/"
+arch="all"
+license="BSD-2-Clause"
+makedepends="cmake mesa-dev glib-dev wayland-dev libwpe-dev"
+options="!check" # no tests
+subpackages="$pkgname-dev"
+source="https://github.com/Igalia/WPEBackend-fdo/releases/download/$pkgver/wpebackend-fdo-$pkgver.tar.xz"
+builddir="$srcdir/wpebackend-fdo-$pkgver"
+
+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=Release \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ $CMAKE_CROSSOPTS .
+ make
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="26827684419d24c52d303d0caffc37d62cdd4bff7335660259167e46ad309b111ce5bccfc9656a0c62fed169f45bfa0c84d2b9ad9437445aa512dec89bd9e8bc wpebackend-fdo-1.6.0.tar.xz"