void-packages/srcpkgs/vala-panel/template
2020-11-26 20:58:09 +07:00

30 lines
1 KiB
Bash

# Template file for 'vala-panel'
pkgname=vala-panel
_glhash=da591ffc8460b2a473e1aba3e3dcf178
version=0.5.0
revision=1
build_style=meson
configure_args="$(vopt_if wayland -Dplatforms=x11,layer-shell -Dplatforms=x11)"
hostmakedepends="vala pkg-config gettext glib-devel"
makedepends="gtk+3-devel libwnck-devel $(vopt_if wayland gtk-layer-shell-devel)"
short_desc="GTK+3 desktop panel forked from LXPanel"
maintainer="Joshua Krämer <joshua@kraemer.link>"
license="LGPL-3.0-or-later"
homepage="https://gitlab.com/vala-panel-project/vala-panel"
distfiles="https://gitlab.com/vala-panel-project/vala-panel/uploads/$_glhash/vala-panel-${version}.tar.xz"
checksum=ee3a9e000133da43b218ecd1738463c2de3f45783a5a09a11b9c263df4e233d1
# Package build options
build_options="wayland"
build_options_default="wayland"
vala-panel-devel_package() {
short_desc+=" - development files"
depends="vala-panel>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/vala
}
}