void-packages/srcpkgs/budgie-desktop/template
2018-03-20 08:56:10 +01:00

32 lines
1.3 KiB
Bash

# Template file for 'budgie-desktop'
pkgname=budgie-desktop
version=10.4
revision=5
configure_args="-Dwith-gtk-doc=false -Dwith-bluetooth=false"
hostmakedepends="meson gtk-doc pkg-config intltool libtool gobject-introspection sassc"
makedepends="libglib-devel gtk+3-devel libpeas-devel pulseaudio-devel gnome-desktop-devel
mutter-devel gnome-menus-devel libwnck-devel libupower-glib3 vala
libuuid-devel polkit-devel gettext-devel ibus-devel accountsservice-devel
upower-devel gnome-bluetooth-devel"
depends="gnome-session gnome-settings-daemon"
build_style="meson"
# Needs gobject-introspection and libgirepository-devel, vala, gjs ...
nocross=yes
short_desc="Budgie desktop"
maintainer="Frankie Wilde <train_me_well@abv.bg>"
license="GPL-2, LGPL-2.1"
homepage="https://github.com/budgie-desktop/budgie-desktop"
distfiles="https://github.com/budgie-desktop/${pkgname}/releases/download/v${version}/${pkgname}-${version}.tar.xz"
checksum=17da8efe56a73426117f89eed8f2a1236c592042acb8d3fec063b24ebe124245
post_extract() {
# subprojects with overlapping source trees no longer allowed
mv src/gvc/* subprojects/gvc
}
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gnome-bluetooth -DWITH_BLUETOOTH"
LDFLAGS="-lgnome-bluetooth"
pre_configure() {
sed '/gnome-bluetooth-1.0/d' -i \
src/applets/status/meson.build
}