void-packages/srcpkgs/nautilus/template
Thomas 93a0f831f8 nautilus: update to 3.34.0.
Closes #14562.

Signed-off-by: Enno Boland <gottox@voidlinux.org>
2019-09-19 09:33:28 +02:00

42 lines
1.3 KiB
Bash

# Template file for 'nautilus'
pkgname=nautilus
version=3.34.0
revision=1
build_style=meson
build_helper="gir"
configure_args="-Dtests=headless -Dintrospection=$(vopt_if gir true false)"
hostmakedepends="glib-devel libxslt pkg-config"
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel gtk+3-devel
libexif-devel libgexiv2-devel libglib-devel libnotify-devel libseccomp-devel
libX11-devel libxml2-devel tracker-devel gst-plugins-base1-devel"
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme
tracker-miners tracker"
checkdepends="tracker"
short_desc="GNOME file manager"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://wiki.gnome.org/Nautilus"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=666494ec976688d9500123c77b77fdfb882e7e3b3520f9bdb869c9ae2a2c9ad9
build_options="gir"
build_options_default="gir"
libnautilus_package() {
short_desc+=" - shared libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
nautilus-devel_package() {
depends="gtk+3-devel libnautilus>=${version}_${revision}"
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
}
}