void-packages/srcpkgs/wlroots0.18/template

37 lines
1.4 KiB
Bash

# Template file for 'wlroots0.18'
pkgname=wlroots0.18
version=0.18.0
revision=1
build_style=meson
# Follow upstream packaging recommendations:
# https://gitlab.freedesktop.org/wlroots/wlroots/-/wikis/Packaging-recommendations
configure_args="--auto-features=enabled -Dexamples=false -Dwerror=false
-Db_ndebug=false"
hostmakedepends="pkg-config wayland-devel glslang hwids"
_devel_depends="lcms2-devel libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel
wayland-protocols vulkan-loader-devel xcb-util-errors-devel
xcb-util-wm-devel xcb-util-renderutil-devel libdisplay-info-devel libliftoff-devel"
makedepends="${_devel_depends}
libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel
xcb-util-keysyms-devel xcb-util-xrm-devel xorg-server-xwayland"
short_desc="Modular Wayland compositor library ${pkgname#wlroots}"
maintainer="tranzystorekk <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://gitlab.freedesktop.org/wlroots/wlroots"
distfiles="${homepage}/-/releases/${version}/downloads/wlroots-${version}.tar.gz"
checksum=89e13735d83b02f0fa519268b1fe893f7843499a5ea34d2bbda054a011722e53
post_install() {
vlicense LICENSE
}
wlroots0.18-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}