Skip to content

Commit

Permalink
main/fwupd: update to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nekopsykose committed Oct 4, 2024
1 parent 753379a commit 705a96d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
22 changes: 22 additions & 0 deletions main/fwupd/patches/version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
diff --git a/meson.build b/meson.build
index 08fb1bc14..20241cef4 100644
--- a/meson.build
+++ b/meson.build
@@ -18,6 +18,7 @@ conf.set('MICRO_VERSION', fwupd_micro_version)
conf.set_quoted('PACKAGE_VERSION', fwupd_version)

# get source version, falling back to package version
+source_version = fwupd_version
git = find_program('git', required: false)
tag = false
if git.found()
@@ -26,8 +27,8 @@ if git.found()
source_version = fwupd_version
endif
tag = run_command([git, 'describe', '--exact-match'], check: false).returncode() == 0
- conf.set_quoted('SOURCE_VERSION', source_version)
endif
+conf.set_quoted('SOURCE_VERSION', source_version)

# libtool versioning - this applies to libfwupd
#
10 changes: 5 additions & 5 deletions main/fwupd/template.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pkgname = "fwupd"
pkgver = "1.9.25"
pkgver = "2.0.0"
pkgrel = 0
build_style = "meson"
configure_args = [
Expand All @@ -17,6 +17,7 @@
"gettext",
"gnutls-progs",
"gobject-introspection",
"hwdata",
"meson",
"pkgconf",
"protobuf-c",
Expand All @@ -36,11 +37,10 @@
"libcbor-devel",
"libcurl-devel",
"libdrm-devel",
"libgudev-devel",
"libgusb-devel",
"libjcat-devel",
"libmbim-devel",
"libqmi-devel",
"libusb-devel",
"libxmlb-devel",
"linux-headers",
"modemmanager-devel",
Expand All @@ -50,13 +50,13 @@
"sqlite-devel",
"tpm2-tss-devel",
]
depends = ["shared-mime-info", "udisks"]
depends = ["hwdata-usb", "shared-mime-info", "udisks"]
pkgdesc = "Firmware updater"
maintainer = "q66 <[email protected]>"
license = "LGPL-2.1-or-later"
url = "https://github.com/fwupd/fwupd"
source = f"{url}/archive/{pkgver}.tar.gz"
sha256 = "dff657b9ebae0f93baba9a9bab45806db28a6a5e444eb912dfc3f78dd8c0407b"
sha256 = "6957160bd6fb8f4e126f538d387f3b5fe8a591440fae3ec7a793fee31ffd5e81"
options = ["!cross"]

_have_uefi = False
Expand Down

0 comments on commit 705a96d

Please sign in to comment.