e2d287ae63
Assertions in this case are desirable at runtime. Fix build for meson 0.56.x, since new warnings were added.
36 lines
1.3 KiB
Bash
36 lines
1.3 KiB
Bash
# Template file for 'wlroots'
|
|
pkgname=wlroots
|
|
version=0.12.0
|
|
revision=2
|
|
build_style=meson
|
|
# enable assertions - upstream uses them only for unreachable situations
|
|
configure_args="-Dlogind=disabled -Dlibseat=enabled
|
|
-Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxwayland=enabled
|
|
-Dx11-backend=enabled -Dexamples=false -Dwerror=false -Db_ndebug=false"
|
|
hostmakedepends="pkg-config wayland-devel"
|
|
_devel_depends="MesaLib-devel libseat-devel eudev-libudev-devel libdrm-devel
|
|
libinput-devel libxkbcommon-devel pixman-devel wayland-devel wayland-protocols
|
|
xcb-util-errors-devel xcb-util-wm-devel"
|
|
makedepends="${_devel_depends}
|
|
libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel
|
|
xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-xrm-devel"
|
|
short_desc="Modular Wayland compositor library"
|
|
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
|
|
license="MIT"
|
|
homepage="https://github.com/swaywm/wlroots"
|
|
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
|
|
checksum=c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
wlroots-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|