void-packages/srcpkgs/gnome-bluetooth/template

36 lines
1.1 KiB
Bash

# Template file for 'gnome-bluetooth'
pkgname=gnome-bluetooth
version=46.0
revision=1
build_helper="gir"
build_style=meson
configure_args="-Dgtk_doc=false $(vopt_bool gir introspection)"
hostmakedepends="pkg-config gettext glib-devel libxml2"
makedepends="gtk4-devel libadwaita-devel gsound-devel libnotify-devel
eudev-libudev-devel upower-devel"
depends="bluez"
short_desc="GNOME Bluetooth Subsystem"
maintainer="Orphaned <orphan@voidlinux.org>"
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=13fe1e75f317acdbdf5e80c9029d2e0632d60a9ccf72a43ae36eb7545021fbef
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
}
}