39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'wlroots0.14'
|
|
pkgname=wlroots0.14
|
|
version=0.14.1
|
|
revision=1
|
|
wrksrc="wlroots-${version}"
|
|
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"
|
|
_devel_depends="libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel
|
|
libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel
|
|
wayland-protocols 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://github.com/swaywm/wlroots"
|
|
distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz"
|
|
checksum=448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
wlroots0.14-devel_package() {
|
|
conflicts="wlroots-devel"
|
|
depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|