[Backport release-26.05] packagekit: 1.3.5 -> 1.4.0 (#565189)

This commit is contained in:
Thomas Gerbet
2026-09-20 12:52:12 +00:00
committed by GitHub

View File

@@ -32,7 +32,7 @@
stdenv.mkDerivation (finalAttrs: {
pname = "packagekit";
version = "1.3.5";
version = "1.4.0";
outputs = [
"out"
@@ -44,7 +44,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "PackageKit";
repo = "PackageKit";
rev = "v${finalAttrs.version}";
hash = "sha256-aKucwqwNyZWyHfNu9ntzSwD+eQy8KjCt6RVMjjjZmZg=";
hash = "sha256-okmbeM/Iv4DKKl21gDCRvMtYG/xcQ1N/rayH9YH0gN0=";
};
buildInputs = [
@@ -96,13 +96,15 @@ stdenv.mkDerivation (finalAttrs: {
# HACK: we want packagekit to look in /etc for configs but install
# those files in $out/etc ; we just override the runtime paths here
# same for /var & $out/var
substituteInPlace etc/meson.build \
substituteInPlace data/config/meson.build \
--replace-fail "install_dir: join_paths(get_option('sysconfdir'), 'PackageKit')" "install_dir: join_paths('$out', 'etc', 'PackageKit')"
substituteInPlace data/meson.build \
--replace-fail "install_dir: join_paths(get_option('localstatedir'), 'lib', 'PackageKit')," "install_dir: join_paths('$out', 'var', 'lib', 'PackageKit'),"
substituteInPlace client/meson.build \
--replace-fail http://docbook.sourceforge.net/release/xsl-ns/current ${docbook_xsl_ns}/share/xml/docbook-xsl-ns
# Fix /usr/bin/env python3 not being available.
patchShebangs tests/runner/setup-test-root.py
'';
passthru.tests = {