void-packages/srcpkgs/budgie-desktop/template

42 lines
1.5 KiB
Bash

# Template file for 'budgie-desktop'
pkgname=budgie-desktop
version=10.5.2
revision=1
build_style=meson
build_helper=gir
configure_args="-Dwith-gtk-doc=false"
hostmakedepends="pkg-config intltool vala glib-devel gobject-introspection sassc"
makedepends="alsa-lib-devel libnotify-devel accountsservice-devel libpeas-devel
libwnck-devel mutter-devel ibus-devel gnome-desktop-devel pulseaudio-devel
upower-devel gtk+3-devel polkit-devel gnome-bluetooth-devel gnome-menus-devel
gnome-settings-daemon-devel vala libuuid-devel libupower-glib3"
depends="gnome-session gnome-settings-daemon gnome-control-center elogind
gnome-themes-extra"
short_desc="Modern desktop environment from the Solus Project"
maintainer="Lorem <notloremipsum@protonmail.com>"
license="GPL-2.0-only, LGPL-2.1-only"
homepage="https://github.com/solus-project/budgie-desktop"
distfiles="${homepage}/releases/download/v${version}/budgie-desktop-v${version}.tar.xz"
checksum=d7219c1dc6d0e3fe54ac33062bfd420ab94158bcfe9409d09c85d7e7a21c67fa
pre_build() {
# budgie-desktop uses its own polkit bindings
# prepends to override system vapi
if [ -f "$XBPS_WRAPPERDIR/valac" ]; then
sed -i -e "s,/bin/valac,& --vapidir=$wrksrc/vapi," \
"$XBPS_WRAPPERDIR/valac"
fi
}
budgie-desktop-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/vala
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
}
}