fwupd: 1.5.1 → 1.5.2

https://blogs.gnome.org/hughsie/2020/11/23/fwupd-1-5-2/
This commit is contained in:
Jan Tojnar
2020-12-09 02:40:36 +01:00
parent 652b3fad35
commit e0296b2d12
2 changed files with 9 additions and 39 deletions
@@ -2,7 +2,6 @@
{ stdenv
, fetchurl
, fetchpatch
, fetchFromGitHub
, substituteAll
, gtk-doc
@@ -15,8 +14,7 @@
, gusb
, sqlite
, libarchive
, glib-networking
, libsoup
, curl
, help2man
, libjcat
, libxslt
@@ -89,7 +87,7 @@ let
self = stdenv.mkDerivation rec {
pname = "fwupd";
version = "1.5.1";
version = "1.5.2";
# libfwupd goes to lib
# daemon, plug-ins and libfwupdplugin go to out
@@ -98,7 +96,7 @@ let
src = fetchurl {
url = "https://people.freedesktop.org/~hughsient/releases/fwupd-${version}.tar.xz";
sha256 = "0fpxcl6bighiipyl4qspjhi0lwisrgq8jdahm68mk34rmrx50sgf";
sha256 = "19vppg8s8yfg2wavg0czd0vlalxv22hzw0gd11nw2wa92jz91d9x";
};
patches = [
@@ -119,12 +117,6 @@ let
# Needs a different set of modules than po/make-images.
inherit installedTestsPython;
})
# Skip tests requiring network.
(fetchpatch {
url = "https://github.com/fwupd/fwupd/commit/db15442c7c217610954786bd40779c14ed0e034b.patch";
sha256 = "/jzpGMJcqLisjecKpSUfA8ZCU53n7BOPR6tMgEX/qL8=";
})
];
nativeBuildInputs = [
@@ -152,14 +144,13 @@ let
gusb
sqlite
libarchive
libsoup
curl
elfutils
gnu-efi
libgudev
colord
libjcat
libuuid
glib-networking
json-glib
umockdev
bash-completion
@@ -176,6 +167,11 @@ let
mesonFlags = [
"-Dgtkdoc=true"
"-Dplugin_dummy=true"
# We are building the official releases.
"-Dsupported_build=true"
# Would dlopen libsoup to preserve compatibility with clients linking against older fwupd.
# https://github.com/fwupd/fwupd/commit/173d389fa59d8db152a5b9da7cc1171586639c97
"-Dsoup_session_compat=false"
"-Dudevdir=lib/udev"
"-Dsystemd_root_prefix=${placeholder "out"}"
"-Dinstalled_test_prefix=${placeholder "installedTests"}"