void-packages/srcpkgs/gnome-bluetooth/template

36 lines
1.1 KiB
Bash

# Template file for 'gnome-bluetooth'
pkgname=gnome-bluetooth
version=42.5
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dgtk_doc=false $(vopt_bool gir introspection)"
hostmakedepends="pkg-config gettext glib-devel"
makedepends="gtk4-devel libadwaita-devel gsound-devel libnotify-devel
eudev-libudev-devel upower-devel"
depends="bluez"
short_desc="GNOME Bluetooth Subsystem"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Projects/GnomeBluetooth"
changelog="https://gitlab.gnome.org/GNOME/gnome-bluetooth/-/raw/master/NEWS"
distfiles="${GNOME_SITE}/gnome-bluetooth/${version%.*}/gnome-bluetooth-${version}.tar.xz"
checksum=a4f5f1ac2dbb7b7b92f7d6d2b42c030f62aed9b5426b9dc116946041f3cba8f7
build_options="gir"
build_options_default="gir"
gnome-bluetooth-devel_package() {
depends="${sourcepkg}>=${version} glib-devel gtk4-devel
libadwaita-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}