45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Template file for 'nautilus'
|
|
pkgname=nautilus
|
|
version=3.26.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable-selinux=false -Denable-nst-extension=false"
|
|
hostmakedepends="pkg-config intltool glib-devel $(vopt_if gir gobject-introspection)"
|
|
makedepends="gtk+3-devel libnotify-devel libexif-devel exempi-devel
|
|
libxml2-devel tracker-devel gnome-desktop-devel gnome-autoar-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils gsettings-desktop-schemas>=3.14"
|
|
short_desc="The GNOME file manager"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://wiki.gnome.org/Nautilus"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
|
|
checksum=a02b30ef9033f6f92fbc5e29abaceeb58ce6a600ed9fa5a4697ba82901d07924
|
|
|
|
build_options="gir"
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
|
CFLAGS="-Wno-error=format-nonliteral"
|
|
fi
|
|
|
|
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
|
|
}
|
|
}
|