gnome-settings-daemon: update to 3.30.0.

This commit is contained in:
Rasmus Thomsen 2018-09-21 19:36:46 +02:00 committed by maxice8
parent 37744c6995
commit afd7c5a490
2 changed files with 27 additions and 12 deletions

View File

@ -0,0 +1,14 @@
--- plugins/power/meson.build
+++ plugins/power/meson.build
@@ -55,8 +55,9 @@ gsd_power_enums_update = executable(
'gsd-power-enums-update',
sources,
include_directories: top_inc,
- dependencies: deps,
- c_args: cflags
+ dependencies: [ dependency('glib-2.0', native: true), dependency('gio-2.0', native:true) ],
+ c_args: cflags,
+ native: true,
)
if enable_gudev

View File

@ -1,32 +1,33 @@
# Template file for 'gnome-settings-daemon'
pkgname=gnome-settings-daemon
version=3.28.1
version=3.30.0
revision=1
build_style=meson
hostmakedepends="docbook-xsl glib-devel intltool itstool libxslt pkg-config"
makedepends="NetworkManager-devel alsa-lib-devel geoclue2-devel
gnome-desktop-devel ibus-devel libcanberra-devel libgnomekbd-devel
hostmakedepends="docbook-xsl glib-devel libglib-devel libxslt perl pkg-config"
makedepends="NetworkManager-devel alsa-lib-devel colord-devel cups-devel
geoclue2-devel gnome-desktop-devel ibus-devel libcanberra-devel libgnomekbd-devel
libgweather-devel libnotify-devel librsvg-devel libwacom-devel nss-devel
polkit-devel pulseaudio-devel startup-notification-devel upower-devel
xf86-input-wacom-devel"
depends="hicolor-icon-theme pulseaudio"
checkdepends="elogind libnotify python3-dbusmock python3-gobject
python3-pycodestyle"
short_desc="GNOME settings daemon"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3.0-or-later"
homepage="https://www.gnome.org"
homepage="https://gitlab.gnome.org/GNOME/gnome-settings-daemon"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=594f78e194eb42a6f77785d1a92a4cb9cda54b8c3af6ca0c315b4570d38d2d7d
checksum=9c084a45909bd35b8d8849918648dfa0357b185d82a1dc05e64011a46f9f6463
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" polkit"
pre_configure() {
# The power plugin requires compilating gsd-power-enums-update
# and running it, which is impossible when cross-compiling, so
# we disable it on the meson.build
sed -i "/\['power', 'Power'\],/d" plugins/meson.build
}
fi
post_extract() {
# drop flaky test
sed "/test(/d" -i plugins/color/meson.build
}
gnome-settings-daemon-devel_package() {
depends="libglib-devel"
short_desc+=" - development files"