pmaports/temp/wlroots/APKBUILD
Oliver Smith 568b156c14
temp/wlroots: don't build for arm*
Disable for arm arches, because there it fails with:

[89/300] Compiling C object 'xcursor/c7765ab@@wlr_xcursor@sta/xcursor.c.o'.
FAILED: xcursor/c7765ab@@wlr_xcursor@sta/xcursor.c.o
gcc -Ixcursor/c7765ab@@wlr_xcursor@sta -Ixcursor ...
cc1: error: /home/pmos/build/pkg/mesa/usr/include: No such file or directory [-Werror=missing-include-dirs]

I suspect, that this relates to our custom mesa packaging, which is only
built for arm architectures currently. Phosh isn't running on anything
other than x86_64 so far in postmarketOS, so let's just disable wlroots
arm too until this is figured out.

[ci:skip-vercheck]: only modified the arch line
2019-06-02 04:31:05 +02:00

45 lines
1 KiB
Text

# Forked from Alpine to enable elogind support and install the rootston binary
pkgname=wlroots
pkgver=9999
_pkgver=0.5.0
pkgrel=0
pkgdesc="A modular Wayland compositor library"
url="https://github.com/swaywm/wlroots"
arch="all !armhf !armv7 !aarch64"
license="MIT"
options="!check" # contains no test suite
makedepends="eudev-dev
libcap-dev
libinput-dev
libxcb-dev
libxkbcommon-dev
mesa-dev
meson
ninja
pixman-dev
wayland-dev
wayland-protocols
xcb-util-image-dev
xcb-util-wm-dev
elogind-dev"
subpackages="$pkgname-dev"
source="$pkgname-$i_pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$_pkgver.tar.gz"
builddir="$srcdir/$pkgname-$_pkgver"
build() {
cd "$builddir"
meson \
--prefix /usr \
--libdir /usr/lib \
. build
ninja -C build
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build install
install -D -m755 build/rootston/rootston "$pkgdir"/usr/bin/rootston
}
sha512sums="4defecff91a6179d3a6b7d05c92c14b20c7fa69263a889869912e913a5d1e29f9fd4684f9816b03e2427a21c004d64236f35d8282e02e8d27d826442f1f8b3a7 wlroots-.tar.gz"