void-packages/srcpkgs/libdecor/template

33 lines
919 B
Bash

# Template file for 'libdecor'
pkgname=libdecor
version=0.1.1
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)"
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.gnome.org/jadahl/libdecor/-/archive/${version}/libdecor-${version}.tar.gz"
checksum=82adece5baeb6194292b0d1a91b4b3d10da41115f352a5e6c5844b20b88a0512
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"
}
}