void-packages/srcpkgs/gnome-desktop/template

38 lines
1.2 KiB
Bash

# Template file for 'gnome-desktop'
pkgname=gnome-desktop
version=3.28.1
revision=2
build_style=gnu-configure
configure_args="--with-gnome-distributor=VoidLinux"
hostmakedepends="gnome-doc-utils intltool itstool pkg-config
$(vopt_if gir 'gobject-introspection')"
makedepends="gsettings-desktop-schemas-devel gtk+3-devel iso-codes
libseccomp-devel libxkbfile-devel"
depends="gsettings-desktop-schemas iso-codes xkeyboard-config"
short_desc="GNOME desktop management utilities"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=78a397a2be47586e6dc075d6a7fc5659aae3d10713d76994ce1b46086e7ecb9a
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
gnome-desktop-devel_package() {
depends="libxkbfile-devel gsettings-desktop-schemas-devel>=3.12
gtk+3-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
if [ -n "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
vmove usr/share/gtk-doc
vmove "usr/lib/*.so"
}
}