summaryrefslogblamecommitdiff
path: root/user/wlroots/APKBUILD
blob: 70e88cd623f4459997ee21c3d26fa19552a8999f (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                 
               
             




                                                  
                         
                                                                


                                                                       






















                                                                                           
                                                                                                                                                                    
# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=wlroots
pkgver=0.14.1
pkgrel=0
pkgdesc="Library for building Wayland compositors"
url="https://swaywm.org/"
arch="all"
license="MIT"
depends="wayland>=1.19.0"
makedepends="cmake elogind-dev eudev-dev ffmpeg-dev libinput-dev
	libxkbcommon-dev mesa-dev meson ninja pixman-dev seatd-dev
	wayland-dev>=1.19.0 wayland-protocols>=1.21 xcb-util-errors-dev
	xcb-util-renderutil-dev xcb-util-wm-dev"
subpackages="$pkgname-dev"
source="https://github.com/swaywm/wlroots/releases/download/$pkgver/wlroots-$pkgver.tar.gz"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		-Dlogind-provider=elogind \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="4f557c827f9673eccf208a3644954de80e7355b95cc374cc5e851a47087b227f196e0936c0913d21a6c776c29b74de2d028a100931264e41934c747568d8ebe0  wlroots-0.14.1.tar.gz"