d6691877a9
These dependencies are all required when building applications that use wlroots, so it doesn't make sense to include them individually into each application's template. Also remove libcap, which was dropped by upstream.
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'wlroots'
|
|
pkgname=wlroots
|
|
version=0.11.0
|
|
revision=2
|
|
build_style=meson
|
|
configure_args="-Dlogind=enabled -Dlogind-provider=elogind
|
|
-Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxwayland=enabled
|
|
-Dx11-backend=enabled -Dexamples=false"
|
|
hostmakedepends="pkg-config wayland-devel"
|
|
_devel_depends="MesaLib-devel elogind-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=a7645e77229aab4942748c621be8bdb8b073d94f35f3e032b867246862bf2d01
|
|
|
|
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"
|
|
}
|
|
}
|