void-packages/srcpkgs/gnome-desktop/template
2017-04-11 08:34:54 -06:00

36 lines
1.2 KiB
Bash

# Template file for 'gnome-desktop'
pkgname=gnome-desktop
version=3.24.1
revision=1
build_style=gnu-configure
configure_args="--with-gnome-distributor=VoidLinux"
hostmakedepends="pkg-config intltool itstool gnome-doc-utils $(vopt_if gir gobject-introspection)"
makedepends="libxkbfile-devel gtk+3-devel gsettings-desktop-schemas-devel
xkeyboard-config iso-codes"
depends="gsettings-desktop-schemas>=3.14 xkeyboard-config iso-codes"
short_desc="GNOME desktop management utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=de09b7d38b4baccae48c527778480731cb12f00848758be186971b2b4acc45ab
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"
}
}