void-packages/srcpkgs/libdecor/template

33 lines
939 B
Bash

# Template file for 'libdecor'
pkgname=libdecor
version=0.2.2
revision=1
build_style=meson
configure_args="-Ddemo=false $(vopt_feature dbus dbus)"
hostmakedepends="pkg-config wayland-devel"
makedepends="wayland-devel wayland-protocols pango-devel
$(vopt_if dbus dbus-devel) gtk+3-devel"
short_desc="Client-side decorations library for Wayland client"
maintainer="Arda Demir <ddmirarda@gmail.com>"
license="MIT"
homepage="https://gitlab.gnome.org/jadahl/libdecor"
distfiles="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${version}/libdecor-${version}.tar.gz"
checksum=40a1d8be07d8b1f66e8fb98a1f4a84549ca6bf992407198a5055952be80a8525
build_options="dbus"
build_options_default="dbus"
post_install() {
vlicense LICENSE
}
libdecor-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}