void-packages/srcpkgs/gnome-bluetooth/template

35 lines
1.1 KiB
Bash

# Template file for 'gnome-bluetooth'
pkgname=gnome-bluetooth
version=42.4
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 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}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=1d6fcf1cdb6cc9923ab334a2c0bc37a2c1bba9d18de153d484eedc04f3c0bcdc
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
}
}