aboutsummaryrefslogblamecommitdiffstats
path: root/community/wlroots/APKBUILD
blob: 9b42958153e95181c24fcdf0260e2bec9a107295 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                      
                                          
               

            




                                              


                   














                                                                                           

         


                                   

                                           
                       



                      


                                                
                                                                                                                                                                   
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=wlroots
pkgver=0.6.0
pkgrel=0
pkgdesc="A modular Wayland compositor library"
url="https://github.com/swaywm/wlroots"
arch="all"
license="MIT"
options="!check" # contains no test suite
makedepends="
	elogind-dev
	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
	"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz"

build() {
	meson \
		--prefix /usr \
		--libdir /usr/lib \
		-Dlogind=enabled \
		-Dlogind-provider=elogind \
		. build
	ninja -C build
}

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

sha512sums="c205d4303a381e11ef2f4db2faac1ddf9ad85c675824aae9cfe62d9f8bd313f1568d4810db1d006416783b50c8364198648a46d1ba453a0d8f659d6920618286  wlroots-0.6.0.tar.gz"