Revert "pantheon.elementary-screenshot: Do not use portals"

This reverts commit 4cdf8a9515.

We have re-enabled x-d-p-pantheon.
This commit is contained in:
Bobby Rong
2026-06-04 20:22:47 +08:00
parent e3e7b79a30
commit 89a360d8da

View File

@@ -6,27 +6,24 @@
ninja,
pkg-config,
vala,
wrapGAppsHook3,
wrapGAppsHook4,
gdk-pixbuf,
glib,
granite,
gtk3,
libhandy,
granite7,
gtk4,
libportal,
nix-update-script,
}:
stdenv.mkDerivation rec {
pname = "elementary-screenshot";
# nixpkgs-update: no auto update
# We disabled x-d-p-pantheon due to https://github.com/elementary/portals/issues/157
# so hold back this before the issue is fixed since later versions enforce using portals.
version = "8.0.0";
version = "8.0.3";
src = fetchFromGitHub {
owner = "elementary";
repo = "screenshot";
rev = version;
hash = "sha256-z7FP+OZYF/9YLXYCQF/ElihKjKHVfeHc38RHdPb2aIE=";
hash = "sha256-nEJCyQs77zcUb9mc2dUBbZP3zWdPFHTOORROe3u6sSA=";
};
nativeBuildInputs = [
@@ -34,15 +31,15 @@ stdenv.mkDerivation rec {
ninja
pkg-config
vala
wrapGAppsHook3
wrapGAppsHook4
];
buildInputs = [
gdk-pixbuf
glib
granite
gtk3
libhandy
granite7
gtk4
libportal
];
passthru = {