void-packages/srcpkgs/budgie-desktop/template

42 lines
1.5 KiB
Bash

# Template file for 'budgie-desktop'
pkgname=budgie-desktop
version=10.5.3
revision=2
create_wrksrc=yes
build_wrksrc="$pkgname-$version"
build_style=meson
build_helper=gir
configure_args="-Dwith-gtk-doc=false"
hostmakedepends="pkg-config intltool vala glib-devel gobject-introspection sassc
budgie-screensaver"
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 budgie-screensaver"
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
${homepage}/commit/7a2835f2fa247e7201bb9e4a434bade8f4bfe86e.patch>mutter41.patch"
checksum="878f4e6460c29740bf633c3b11ba97bcb788068c1460f82569938af2f1633b25
65430e84e33b1529aebae169ad8e0392abf1b5c4bb1b454d46f17dc37469d763"
post_patch() {
patch -Np1 < ../mutter41.patch
}
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
}
}