void-packages/srcpkgs/wlroots/template

37 lines
1.3 KiB
Bash
Raw Normal View History

2018-10-21 01:14:39 +02:00
# Template file for 'wlroots'
pkgname=wlroots
2018-11-30 04:36:30 +01:00
version=0.2
revision=1
2018-10-21 01:14:39 +02:00
build_style=meson
configure_args="-Dlibcap=enabled -Dlogind=enabled -Dlogind-provider=elogind
-Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxcb-xkb=enabled -Dxwayland=enabled
-Dx11-backend=enabled -Dexamples=false -Drootston=false"
hostmakedepends="pkg-config wayland-devel"
makedepends="elogind-devel libcap-devel wayland-devel wayland-protocols
MesaLib-devel libinput-devel libxkbcommon-devel libdrm-devel pixman-devel
libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel
xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel
xcb-util-errors-devel xcb-util-xrm-devel"
short_desc="Module Wayland compositor library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/swaywm/wlroots"
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
2018-11-30 04:36:30 +01:00
checksum=0b690c5db5a1f11051a28f0349655322fe54d92f7c2dc8d3c6e5559b1098bfd8
2018-10-21 01:14:39 +02:00
post_install() {
vlicense LICENSE
}
wlroots-devel_package() {
depends="MesaLib-devel elogind-devel eudev-libudev-devel libcap-devel
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel
wayland-protocols wlroots-${version}_${revision}"
2018-10-21 01:14:39 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}