41 lines
1.4 KiB
Bash
41 lines
1.4 KiB
Bash
# Template file for 'gnome-desktop'
|
|
pkgname=gnome-desktop
|
|
version=3.30.2.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--with-gnome-distributor=VoidLinux"
|
|
hostmakedepends="gnome-doc-utils intltool itstool pkg-config"
|
|
makedepends="eudev-libudev-devel gsettings-desktop-schemas-devel gtk+3-devel
|
|
iso-codes libglib-devel libseccomp-devel libX11-devel libXext-devel
|
|
libxkbfile-devel libXrandr-devel"
|
|
depends="bubblewrap gsettings-desktop-schemas iso-codes xkeyboard-config"
|
|
short_desc="GNOME desktop management utilities"
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://gitlab.gnome.org/GNOME/gnome-desktop"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=1b803ac6dbd844ff3fb0ad03ba0cbe22207e10363dafee43c1720eeaae2b491f
|
|
|
|
build_options="gir"
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
|
|
*-musl) ;;
|
|
*) build_options_default+=" gir" ;;
|
|
esac
|
|
|
|
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 [ "$build_option_gir" ]; then
|
|
vmove usr/share/gir-1.0
|
|
fi
|
|
vmove usr/share/gtk-doc
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|