aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-17 05:11:14 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-17 10:17:33 +0200
commit5cfaf48ac56fc66bc1979485df491a69475247f9 (patch)
treeb642d94c811ee0124f9e21c38972a1a2d6e00fc7
parent02fd5297c8c53f1a397702e43b64d56f9cc574c9 (diff)
main/libxkbcommon: provide static library
Fixes https://gitlab.alpinelinux.org/alpine/aports/issues/10663
-rw-r--r--main/libxkbcommon/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/libxkbcommon/APKBUILD b/main/libxkbcommon/APKBUILD
index 52d977be9fb..cc402d80e3c 100644
--- a/main/libxkbcommon/APKBUILD
+++ b/main/libxkbcommon/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=libxkbcommon
pkgver=0.8.4
-pkgrel=0
+pkgrel=1
pkgdesc="a keyboard handling library"
url="https://www.xkbcommon.org/"
arch="all"
@@ -16,10 +16,9 @@ makedepends="
xkeyboard-config
meson"
checkdepends="bash"
-subpackages="$pkgname-dev $pkgname-x11"
+subpackages="$pkgname-static $pkgname-dev $pkgname-x11"
source="http://xkbcommon.org/download/libxkbcommon-$pkgver.tar.xz"
-builddir="$srcdir"/libxkbcommon-$pkgver
build() {
cd "$builddir"
@@ -28,6 +27,7 @@ build() {
-Denable-wayland=true \
-Denable-docs=false \
-Denable-x11=true \
+ -Ddefault_library=both \
build
ninja -C build
}