void-packages/srcpkgs/budgie-desktop/template

35 lines
1.4 KiB
Bash

# Template file for 'budgie-desktop'
pkgname=budgie-desktop
version=10.5.1
revision=3
build_style=meson
build_helper=gir
configure_args="-Dwith-gtk-doc=false -Dwith-desktop-icons=none"
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"
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="https://github.com/solus-project/budgie-desktop/releases/download/v${version}/budgie-desktop-${version}.tar.xz"
checksum=d035ec764e0093722a832411aeb6aba296c0995d927ea069b205b19c85aae565
pre_configure() {
vsed -i 's/exec gnome-session/exec gnome-session --builtin/' src/session/budgie-desktop.in
}
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
}
}