41 lines
1.6 KiB
Bash
41 lines
1.6 KiB
Bash
# Template file for 'wlroots0.17'
|
|
pkgname=wlroots0.17
|
|
version=0.17.1
|
|
revision=4
|
|
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="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 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="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="MIT"
|
|
homepage="https://gitlab.freedesktop.org/wlroots/wlroots"
|
|
distfiles="${homepage}/-/releases/${version}/downloads/wlroots-${version}.tar.gz"
|
|
checksum=d58d68e3f90d92de4d49fa43b4d75dc78f8af1d920d090729331cefbdfcf361b
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
wlroots0.17-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
|
|
provides="virtual-wlroots-devel-${version}_${revision}"
|
|
conflicts="wlroots0.16-devel wlroots0.15-devel wlroots0.14-devel
|
|
virtual-wlroots-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|