xdg-desktop-portal-gtk: 1.10.0 → 1.12.0

https://github.com/flatpak/xdg-desktop-portal-gtk/releases/tag/1.12.0

+8 -17
+8 -17
pkgs/development/libraries/xdg-desktop-portal-gtk/default.nix
··· 1 1 { stdenv 2 2 , lib 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , autoreconfHook 6 5 , pkg-config 7 6 , libxml2 ··· 16 15 17 16 stdenv.mkDerivation rec { 18 17 pname = "xdg-desktop-portal-gtk"; 19 - version = "1.10.0"; 18 + version = "1.12.0"; 20 19 21 20 src = fetchFromGitHub { 22 21 owner = "flatpak"; 23 22 repo = pname; 24 23 rev = version; 25 - sha256 = "7w+evZLtmTmDHVVsw25bJz99xtlSCE8qTFSxez9tlZk="; 24 + sha256 = "I1ZoDqZQPfPwPr4Ybk+syz+YEkrK2ReflZaJJWD4Nsk="; 26 25 }; 27 26 28 - patches = [ 29 - # Fix broken translation. 30 - # https://github.com/flatpak/xdg-desktop-portal-gtk/issues/353 31 - (fetchpatch { 32 - url = "https://github.com/flatpak/xdg-desktop-portal-gtk/commit/e34f49ca8365801a7fcacccb46ab1e62aec17435.patch"; 33 - sha256 = "umMsSP0fuSQgxlHLaZlg25ln1aAL1mssWzPMIWAOUt4="; 34 - }) 35 - (fetchpatch { 36 - url = "https://github.com/flatpak/xdg-desktop-portal-gtk/commit/19c5385b9f5fe0f8dac8ae7cc4493bb08f802de6.patch"; 37 - sha256 = "nbmOb5er20zBOO4K2geYITafqBaNHbDpq1OOvIVD6hY="; 38 - }) 39 - ]; 40 - 41 27 nativeBuildInputs = [ 42 28 autoreconfHook 43 29 libxml2 ··· 54 40 gnome.gnome-settings-daemon # schemas needed for settings api (mostly useless now that fonts were moved to g-d-s) 55 41 ]; 56 42 57 - configureFlags = lib.optionals buildPortalsInGnome [ 43 + configureFlags = if buildPortalsInGnome then [ 58 44 "--enable-wallpaper" 59 45 "--enable-screenshot" 60 46 "--enable-screencast" 61 47 "--enable-background" 62 48 "--enable-settings" 63 49 "--enable-appchooser" 50 + ] else [ 51 + # These are now enabled by default, even though we do not need them for GNOME. 52 + # https://github.com/flatpak/xdg-desktop-portal-gtk/issues/355 53 + "--disable-settings" 54 + "--disable-appchooser" 64 55 ]; 65 56 66 57 meta = with lib; {