9d693a2994
Closes: #12790 [via git-merge-pr]
47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
# Template file for 'nautilus'
|
|
pkgname=nautilus
|
|
version=3.28.0.1
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Denable-selinux=false -Denable-nst-extension=false"
|
|
hostmakedepends="glib-devel intltool pkg-config $(vopt_if gir gobject-introspection)"
|
|
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel libexif-devel
|
|
libgexiv2-devel libnotify-devel tracker-devel"
|
|
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme"
|
|
short_desc="The GNOME file manager"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://wiki.gnome.org/Nautilus"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
distfiles="${GNOME_SITE}/$pkgname/${version%.*.*}/$pkgname-$version.tar.xz"
|
|
checksum=30f75842f535041739e2be83a542977fc1d8c7d10a1a691ab39b0cd2ec8874c4
|
|
|
|
# no meson option to disable gir, gobject-introspection nocross
|
|
nocross="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/5628/steps/shell_3/logs/stdio"
|
|
|
|
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
|
|
}
|
|
}
|