From 7a67dc66798404cc0054426c01fdfe3ea757ba4b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Oct 20 2023 16:12:06 +0000 Subject: Update to 1.15.0 - Switch to the meson build system --- diff --git a/.gitignore b/.gitignore index 52823fc..ced33a7 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ /xdg-desktop-portal-gtk-1.12.0.tar.xz /xdg-desktop-portal-gtk-1.14.0.tar.xz /xdg-desktop-portal-gtk-1.14.1.tar.xz +/xdg-desktop-portal-gtk-1.15.0.tar.xz diff --git a/sources b/sources index 8a694bc..161e745 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xdg-desktop-portal-gtk-1.14.1.tar.xz) = d8b487e8fc7d8c1f0f41eb3ee28377b2f77af9c65569b5dbaee785ae40c163929da8b13b39b032e25631515cb8e7218129c8bbffe25692e85c7b8e9269024325 +SHA512 (xdg-desktop-portal-gtk-1.15.0.tar.xz) = 6f6536d637e5b12d6c48700d78a7d400fa3515c37d3a4fc550950f70bb72afdc3c23a5aa4cf0ce2b5a9426695a0a6ffa7bd601a8a7c00f2fac7a4b477e7655ec diff --git a/xdg-desktop-portal-gtk.spec b/xdg-desktop-portal-gtk.spec index e7518da..95c0ef3 100644 --- a/xdg-desktop-portal-gtk.spec +++ b/xdg-desktop-portal-gtk.spec @@ -1,7 +1,7 @@ %global xdg_desktop_portal_version 1.14.0 Name: xdg-desktop-portal-gtk -Version: 1.14.1 +Version: 1.15.0 Release: %autorelease Summary: Backend implementation for xdg-desktop-portal using GTK+ @@ -11,7 +11,7 @@ Source0: https://github.com/flatpak/%{name}/releases/download/%{version}/ BuildRequires: gcc BuildRequires: gettext -BuildRequires: make +BuildRequires: meson BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-unix-print-3.0) @@ -40,20 +40,17 @@ A backend implementation for xdg-desktop-portal that is using GTK+. # xdg-desktop-portal-gnome, to keep this package free of GNOME dependencies. # The appchooser and settings backends are enabled for non-GNOME GTK # applications. -%configure \ - --disable-silent-rules \ - --enable-appchooser \ - --enable-settings \ - --disable-background \ - --disable-lockdown \ - --disable-screencast \ - --disable-screenshot \ - --disable-wallpaper -%make_build +%meson \ + -Dappchooser=enabled \ + -Dsettings=enabled \ + -Dlockdown=disabled \ + -Dwallpaper=disabled \ + %{nil} +%meson_build %install -%make_install +%meson_install %find_lang %{name}