39 lines
1.4 KiB
Bash
39 lines
1.4 KiB
Bash
# Template file for 'wlroots'
|
|
pkgname=wlroots
|
|
version=0.16.0
|
|
revision=1
|
|
build_style=meson
|
|
# Follow upstream packaging recommendations:
|
|
# https://github.com/swaywm/wlroots/wiki/Packaging-recommendations
|
|
configure_args="--auto-features=enabled -Dexamples=false -Dwerror=false
|
|
-Db_ndebug=false"
|
|
hostmakedepends="pkg-config wayland-devel glslang hwids"
|
|
_devel_depends="libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel
|
|
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel
|
|
wayland-protocols vulkan-loader Vulkan-Headers xcb-util-errors-devel
|
|
xcb-util-wm-devel xcb-util-renderutil-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"
|
|
maintainer="Isaac Freund <mail@isaacfreund.com>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/wlroots/wlroots"
|
|
distfiles="https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/${version}/downloads/wlroots-${version}.tar.gz"
|
|
checksum=8478ab30bb96c5d5dc5b8180844909300a8d4a7d907d48271a8f389572c384cf
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
wlroots-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
|
|
conflicts="wlroots0.15-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|