mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-13 16:22:56 +02:00
nautilus: update to 3.30.0.
This commit is contained in:
parent
84b9f9313f
commit
ce29170513
2 changed files with 10 additions and 151 deletions
|
@ -1,136 +0,0 @@
|
||||||
Source: maxice8
|
|
||||||
Upstream: yes, this is adapted from upstream
|
|
||||||
Reason: allows compilation without using gobject-introspection to generate data
|
|
||||||
thus avoiding a cross-breaking dependency on gobject-introspection
|
|
||||||
|
|
||||||
--- libnautilus-extension/meson.build
|
|
||||||
+++ libnautilus-extension/meson.build
|
|
||||||
@@ -73,22 +73,24 @@ libnautilus_extension = shared_library(
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
|
|
||||||
-gnome.generate_gir(
|
|
||||||
- libnautilus_extension,
|
|
||||||
- extra_args: [
|
|
||||||
- '-DNAUTILUS_COMPILATION'
|
|
||||||
- ],
|
|
||||||
- sources: libnautilus_extension_sources,
|
|
||||||
- nsversion: '3.0',
|
|
||||||
- namespace: 'Nautilus',
|
|
||||||
- includes: [
|
|
||||||
- 'Gtk-3.0',
|
|
||||||
- 'Gio-2.0',
|
|
||||||
- 'GLib-2.0'
|
|
||||||
- ],
|
|
||||||
- header: 'nautilus-extension.h',
|
|
||||||
- install: true
|
|
||||||
-)
|
|
||||||
+if get_option('introspection')
|
|
||||||
+ gnome.generate_gir(
|
|
||||||
+ libnautilus_extension,
|
|
||||||
+ extra_args: [
|
|
||||||
+ '-DNAUTILUS_COMPILATION'
|
|
||||||
+ ],
|
|
||||||
+ sources: libnautilus_extension_sources,
|
|
||||||
+ nsversion: '3.0',
|
|
||||||
+ namespace: 'Nautilus',
|
|
||||||
+ includes: [
|
|
||||||
+ 'Gtk-3.0',
|
|
||||||
+ 'Gio-2.0',
|
|
||||||
+ 'GLib-2.0'
|
|
||||||
+ ],
|
|
||||||
+ header: 'nautilus-extension.h',
|
|
||||||
+ install: true
|
|
||||||
+ )
|
|
||||||
+endif
|
|
||||||
|
|
||||||
nautilus_extension = declare_dependency(
|
|
||||||
sources: libnautilus_extension_enums[1],
|
|
||||||
--- meson_options.txt
|
|
||||||
+++ meson_options.txt
|
|
||||||
@@ -1,16 +1,74 @@
|
|
||||||
-option('docs', type: 'boolean', value: false)
|
|
||||||
-option('profiling', type: 'boolean', value: false)
|
|
||||||
-option('extensions', type: 'boolean', value: true)
|
|
||||||
-option('packagekit', type: 'boolean', value: true)
|
|
||||||
-option('selinux', type: 'boolean', value: false)
|
|
||||||
-option('tests', type: 'combo', choices: ['none', 'headless', 'all'], value: 'headless')
|
|
||||||
+##############
|
|
||||||
+# Extensions #
|
|
||||||
+##############
|
|
||||||
option(
|
|
||||||
- 'profile',
|
|
||||||
+ 'docs',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: false,
|
|
||||||
+ description: 'Build documentation for extension library',
|
|
||||||
+)
|
|
||||||
+option(
|
|
||||||
+ 'extensions',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: true,
|
|
||||||
+ description: 'Build stock extensions',
|
|
||||||
+)
|
|
||||||
+option(
|
|
||||||
+ 'introspection',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: true,
|
|
||||||
+ description: 'Build GObject introspection data for extension library',
|
|
||||||
+)
|
|
||||||
+##################
|
|
||||||
+# End extensions #
|
|
||||||
+##################
|
|
||||||
+
|
|
||||||
+############
|
|
||||||
+# Features #
|
|
||||||
+############
|
|
||||||
+option(
|
|
||||||
+ 'packagekit',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: true,
|
|
||||||
+ description: 'Enable finding file type handlers using PackageKit',
|
|
||||||
+)
|
|
||||||
+option(
|
|
||||||
+ 'selinux',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: false,
|
|
||||||
+ description: 'Enable SELinux context support in file properties dialog',
|
|
||||||
+)
|
|
||||||
+################
|
|
||||||
+# End features #
|
|
||||||
+################
|
|
||||||
+
|
|
||||||
+###########
|
|
||||||
+# Testing #
|
|
||||||
+###########
|
|
||||||
+option(
|
|
||||||
+ 'profiling',
|
|
||||||
+ type: 'boolean',
|
|
||||||
+ value: false,
|
|
||||||
+ description: 'Enable performance profiling',
|
|
||||||
+)
|
|
||||||
+option(
|
|
||||||
+ 'tests',
|
|
||||||
type: 'combo',
|
|
||||||
choices: [
|
|
||||||
- 'default',
|
|
||||||
- 'stable-flatpak',
|
|
||||||
- 'development'
|
|
||||||
+ 'none',
|
|
||||||
+ 'headless',
|
|
||||||
+ 'all'
|
|
||||||
],
|
|
||||||
- value: 'default'
|
|
||||||
+ value: 'headless',
|
|
||||||
+ description: 'Build selected tests',
|
|
||||||
+)
|
|
||||||
+###############
|
|
||||||
+# End testing #
|
|
||||||
+###############
|
|
||||||
+
|
|
||||||
+option(
|
|
||||||
+ 'profile',
|
|
||||||
+ type: 'string',
|
|
||||||
+ value: '',
|
|
||||||
+ description: 'Build with specified application ID',
|
|
||||||
)
|
|
|
@ -1,31 +1,26 @@
|
||||||
# Template file for 'nautilus'
|
# Template file for 'nautilus'
|
||||||
pkgname=nautilus
|
pkgname=nautilus
|
||||||
version=3.28.1
|
version=3.30.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
configure_args="-Denable-selinux=false -Denable-nst-extension=false
|
configure_args="-Dtests=headless -Dintrospection=$(vopt_if gir true false)"
|
||||||
-Dintrospection=$(vopt_if gir true false)"
|
hostmakedepends="glib-devel libxslt pkg-config $(vopt_if gir 'gobject-introspection')"
|
||||||
hostmakedepends="glib-devel intltool pkg-config
|
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel gtk+3-devel
|
||||||
$(vopt_if gir 'gobject-introspection')"
|
libexif-devel libgexiv2-devel libglib-devel libnotify-devel libseccomp-devel
|
||||||
makedepends="exempi-devel gnome-autoar-devel gnome-desktop-devel libexif-devel
|
libX11-devel libxml2-devel tracker-devel"
|
||||||
libgexiv2-devel libnotify-devel tracker-devel"
|
|
||||||
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme"
|
depends="desktop-file-utils gsettings-desktop-schemas hicolor-icon-theme"
|
||||||
short_desc="The GNOME file manager"
|
short_desc="The GNOME file manager"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Rasmus Thomsen <rasmus.thomsen@protonmail.com>"
|
||||||
homepage="https://wiki.gnome.org/Nautilus"
|
|
||||||
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
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"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=9ce878fc9d9f950475c504066ce5f8e98a8cfbf15051724469e865ea85bab0a5
|
checksum=267ccac6fa67784fd99de75b7337479758478ec31b34739185693dcd18331045
|
||||||
|
|
||||||
build_options="gir"
|
build_options="gir"
|
||||||
if [ -z "$CROSS_BUILD" ]; then
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
build_options_default="gir"
|
build_options_default="gir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
|
|
||||||
CFLAGS="-Wno-error=format-nonliteral"
|
|
||||||
fi
|
|
||||||
|
|
||||||
libnautilus_package() {
|
libnautilus_package() {
|
||||||
short_desc+=" - shared libraries"
|
short_desc+=" - shared libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue