void-packages/srcpkgs/wlroots/template
2019-10-15 20:45:54 +03:00

36 lines
1.3 KiB
Bash

# Template file for 'wlroots'
pkgname=wlroots
version=0.8.1
revision=1
build_style=meson
configure_args="-Dlibcap=enabled -Dlogind=enabled -Dlogind-provider=elogind
-Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxwayland=enabled
-Dx11-backend=enabled -Dexamples=false"
hostmakedepends="pkg-config wayland-devel"
makedepends="elogind-devel libcap-devel wayland-devel wayland-protocols
MesaLib-devel libinput-devel libxkbcommon-devel libdrm-devel pixman-devel
libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel
xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel
xcb-util-errors-devel xcb-util-xrm-devel freerdp-devel"
short_desc="Modular Wayland compositor library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/swaywm/wlroots"
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
checksum=202b86e0e21699b6660bbda56afc2e3358db7252f83ff69c89f01926b4900d98
post_install() {
vlicense LICENSE
}
wlroots-devel_package() {
depends="MesaLib-devel elogind-devel eudev-libudev-devel libcap-devel
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel
wayland-protocols wlroots-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}