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

                                                           
               
             




                                                  
                         
                                                                

                                                                       
                                                                     









                                                                                           











                                                 
                                                                                                                                                                    
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <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 xorg-server-xwayland"
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 \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

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

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