1 |
commit: 61874ff149cd353bf7d5c694251824526cd71f11 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 2 09:26:51 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 2 09:30:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61874ff1 |
7 |
|
8 |
sys-apps/fwupd: Bump to version 1.2.2 |
9 |
|
10 |
Set IdleTimeout to 0 in daemon.conf when USE="-systemd" |
11 |
|
12 |
Closes: https://bugs.gentoo.org/673140 |
13 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
sys-apps/fwupd/Manifest | 1 + |
17 |
sys-apps/fwupd/fwupd-1.2.2.ebuild | 129 ++++++++++++++++++++++++++++++++++++++ |
18 |
2 files changed, 130 insertions(+) |
19 |
|
20 |
diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest |
21 |
index 8a20a1d5ea3..e7c6ae1729a 100644 |
22 |
--- a/sys-apps/fwupd/Manifest |
23 |
+++ b/sys-apps/fwupd/Manifest |
24 |
@@ -1,3 +1,4 @@ |
25 |
DIST fwupd-1.1.4.tar.gz 1729782 BLAKE2B af8a1046d6ab9098ee7b09bc1c9677b2256909fdb6cef3e1632e920f962246b94ae7b8c8c4cb5c90088845d836c27cb98c7b8c05bad8f6a213029c220856e602 SHA512 7c14efd044f575c600ee4734c6721b8990603296a8ef2ec7643691e1b47598c12afd31e0c25a0dae69719e2c375fc1f18a6073f20b3c1b91400a046de52e8a28 |
26 |
DIST fwupd-1.2.0.tar.gz 1746711 BLAKE2B 7611f0d501f897392cba0f6ca877265c634d723b9804e640b7824b35773c16117e574dd7eb336c626de6dcd7360112acac2aa5da828c28aff7954b0935bec60d SHA512 88e543cb06522b4af2d62addea77ab0d2a119409e0c36c5034bc4c035c73fdfd8565723a3993f04510491645174064d0bb9b2937553ced8528f29257d9a902e9 |
27 |
DIST fwupd-1.2.1.tar.gz 1754253 BLAKE2B 96938766758db32b00437e29c1b93870411687f7535102703faf4a09189dc4e90fd232794812d964895c12b0f63c86d0023ff1abcf9848059f04c12812158db9 SHA512 ce86c7b5e5c1a45a561f6fc195c3db861e29f9cd435df9e41a41ade94e2f9891508b0e32906df09fe074d383b5d7b6ac824201949f67e2c86c6c905eae550d78 |
28 |
+DIST fwupd-1.2.2.tar.gz 1768003 BLAKE2B 83d91761b7dc71296def8a88eb356df687906278ad6e351dffce246a1473de4a141e84e959dd4a785a36a846fc6884d4c83f512e8ea96d7f1b8f9c5dd438d784 SHA512 34221c905a75f4b6d9ee66bc08a2ceb0d65debb71771b8e0eeed26593dff4f29a4080b7c3164535e862f91f370bb519ae2761dc1f62c6b6de3c6c51ef5f0af65 |
29 |
|
30 |
diff --git a/sys-apps/fwupd/fwupd-1.2.2.ebuild b/sys-apps/fwupd/fwupd-1.2.2.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..57d63932937 |
33 |
--- /dev/null |
34 |
+++ b/sys-apps/fwupd/fwupd-1.2.2.ebuild |
35 |
@@ -0,0 +1,129 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+PYTHON_COMPAT=( python3_{4,5,6,7} ) |
42 |
+ |
43 |
+inherit meson python-single-r1 vala xdg-utils |
44 |
+ |
45 |
+DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable" |
46 |
+HOMEPAGE="https://fwupd.org" |
47 |
+SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="GPL-2+" |
50 |
+ |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="colorhug dell doc +gpg +man nvme pkcs7 redfish systemd test thunderbolt uefi" |
54 |
+REQUIRED_USE=" |
55 |
+ ${PYTHON_REQUIRED_USE} |
56 |
+ dell? ( uefi ) |
57 |
+" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ ${PYTHON_DEPS} |
61 |
+ app-arch/gcab |
62 |
+ app-arch/libarchive:= |
63 |
+ dev-db/sqlite |
64 |
+ >=dev-libs/glib-2.45.8:2 |
65 |
+ dev-libs/json-glib |
66 |
+ dev-libs/libgpg-error |
67 |
+ dev-libs/libgudev:= |
68 |
+ >=dev-libs/libgusb-0.2.9[introspection] |
69 |
+ >=dev-libs/libxmlb-0.1.5 |
70 |
+ dev-python/pillow[${PYTHON_USEDEP}] |
71 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
72 |
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] |
73 |
+ >=net-libs/libsoup-2.51.92:2.4[introspection] |
74 |
+ >=sys-auth/polkit-0.103 |
75 |
+ virtual/libelf:0= |
76 |
+ colorhug? ( >=x11-misc/colord-1.2.12:0= ) |
77 |
+ dell? ( |
78 |
+ sys-libs/efivar |
79 |
+ >=sys-libs/libsmbios-2.4.0 |
80 |
+ ) |
81 |
+ gpg? ( |
82 |
+ app-crypt/gpgme |
83 |
+ dev-libs/libgpg-error |
84 |
+ ) |
85 |
+ nvme? ( sys-libs/efivar ) |
86 |
+ pkcs7? ( >=net-libs/gnutls-3.4.4.1:= ) |
87 |
+ redfish? ( |
88 |
+ sys-libs/efivar |
89 |
+ ) |
90 |
+ systemd? ( >=sys-apps/systemd-211 ) |
91 |
+ !systemd? ( >=sys-auth/consolekit-1.0.0 ) |
92 |
+ thunderbolt? ( sys-apps/thunderbolt-software-user-space ) |
93 |
+ uefi? ( |
94 |
+ media-libs/fontconfig |
95 |
+ media-libs/freetype |
96 |
+ sys-boot/gnu-efi |
97 |
+ >=sys-libs/efivar-33 |
98 |
+ x11-libs/cairo |
99 |
+ ) |
100 |
+" |
101 |
+DEPEND=" |
102 |
+ ${RDEPEND} |
103 |
+ $(vala_depend) |
104 |
+ doc? ( dev-util/gtk-doc ) |
105 |
+ man? ( app-text/docbook-sgml-utils ) |
106 |
+ nvme? ( >=sys-kernel/linux-headers-4.4 ) |
107 |
+ test? ( net-libs/gnutls[tools] ) |
108 |
+" |
109 |
+ |
110 |
+BDEPEND=" |
111 |
+ >=dev-util/meson-0.47.0 |
112 |
+ virtual/pkgconfig |
113 |
+" |
114 |
+ |
115 |
+# required for fwupd daemon to run. |
116 |
+# NOT a build time dependency. The build system does not check for dbus. |
117 |
+PDEPEND="sys-apps/dbus" |
118 |
+ |
119 |
+src_prepare() { |
120 |
+ default |
121 |
+ sed -e "s/'--create'/'--absolute-name', '--create'/" \ |
122 |
+ -i data/tests/builder/meson.build || die |
123 |
+ sed -e "/'-Werror',/d" \ |
124 |
+ -i plugins/uefi/efi/meson.build || die |
125 |
+ vala_src_prepare |
126 |
+} |
127 |
+ |
128 |
+src_configure() { |
129 |
+ xdg_environment_reset |
130 |
+ local emesonargs=( |
131 |
+ --localstatedir "${EPREFIX}"/var |
132 |
+ -Dconsolekit="$(usex systemd false true)" |
133 |
+ -Dgpg="$(usex gpg true false)" |
134 |
+ -Dgtkdoc="$(usex doc true false)" |
135 |
+ -Dman="$(usex man true false)" |
136 |
+ -Dpkcs7="$(usex pkcs7 true false)" |
137 |
+ -Dplugin_dell="$(usex dell true false)" |
138 |
+ -Dplugin_nvme="$(usex nvme true false)" |
139 |
+ -Dplugin_redfish="$(usex redfish true false)" |
140 |
+ -Dplugin_synaptics="$(usex dell true false)" |
141 |
+ -Dplugin_thunderbolt="$(usex thunderbolt true false)" |
142 |
+ -Dplugin_uefi="$(usex uefi true false)" |
143 |
+ -Dsystemd="$(usex systemd true false)" |
144 |
+ -Dtests="$(usex test true false)" |
145 |
+ ) |
146 |
+ meson_src_configure |
147 |
+} |
148 |
+ |
149 |
+src_install() { |
150 |
+ meson_src_install |
151 |
+ |
152 |
+ if ! use systemd ; then |
153 |
+ # Don't timeout when fwupd is running (#673140) |
154 |
+ sed '/^IdleTimeout=/s@=[[:digit:]]\+@=0@' \ |
155 |
+ -i "${ED}"/etc/${PN}/daemon.conf || die |
156 |
+ fi |
157 |
+} |
158 |
+ |
159 |
+pkg_postinst() { |
160 |
+ elog "In case you are using openrc as init system" |
161 |
+ elog "and you're upgrading from <fwupd-1.1.0, you" |
162 |
+ elog "need to start the fwupd daemon via the openrc" |
163 |
+ elog "init script that comes with this package." |
164 |
+} |