41 lines
1.6 KiB
Bash
41 lines
1.6 KiB
Bash
# Template file for 'wlroots0.17'
|
|
pkgname=wlroots0.17
|
|
version=0.17.2
|
|
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="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=f4007d3f71e190b9000ab4a30afd87833b034ab2602030a00af4465ffd4e997c
|
|
|
|
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"
|
|
}
|
|
}
|