Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/
Date: Tue, 03 Apr 2018 14:10:16
Message-Id: 1522764592.308368eafaad864400e5dfc8bc0f89ef69f58a56.polynomial-c@gentoo
1 commit: 308368eafaad864400e5dfc8bc0f89ef69f58a56
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 3 14:08:57 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 3 14:09:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=308368ea
7
8 sys-apps/fwupd: Bump to version 1.0.6
9
10 Fixed dependency on net-libs/libsoup[introspection]
11
12 Closes: https://bugs.gentoo.org/651994
13 Closes: https://bugs.gentoo.org/652154
14 Package-Manager: Portage-2.3.28, Repoman-2.3.9
15
16 sys-apps/fwupd/Manifest | 1 +
17 sys-apps/fwupd/fwupd-1.0.6.ebuild | 98 +++++++++++++++++++++++++++++++++++++++
18 sys-apps/fwupd/metadata.xml | 1 +
19 3 files changed, 100 insertions(+)
20
21 diff --git a/sys-apps/fwupd/Manifest b/sys-apps/fwupd/Manifest
22 index 65da7036e86..250d6a0529b 100644
23 --- a/sys-apps/fwupd/Manifest
24 +++ b/sys-apps/fwupd/Manifest
25 @@ -1,2 +1,3 @@
26 DIST fwupd-1.0.4.tar.gz 1555679 BLAKE2B 75282437169cbb5a0da8d4c296ddd4fe62e32f4bd4d4b6d386b57708869a1dfc591a991c4c17dba5dac80f84e7238181b0beed654da453f72cc8e92f9513d3df SHA512 20f24253c4ee5c90d6d262ebe5c515bea78c6cc3720e78bdcff04c1b02500a79de583886ce0ae6c48d24b9c3d9638c4c5896d57d2efc0b77346317ba53924d2a
27 DIST fwupd-1.0.5.tar.gz 1564037 BLAKE2B 1b97cf35e2531fc11b901f061dc30ac0c6b745f32f0b2f756e428509121ac3269d8d51c273566290cba2b840c890ce1274a268d46c35bd6486a932454c2d2cfa SHA512 dbbd0ae574c493de5d89f58e0050e44fd3cd1353807131d7e821ae02cffd4da594855df0ed35e9ceb72bdfc9c4b670e022d184c24897bf2ed370ce545c578621
28 +DIST fwupd-1.0.6.tar.gz 1569675 BLAKE2B 1e6b4acc52696cc08086647ce69d4901e78201817423a53f1a6af5f9c5b7be658a5f343c88aa358788aa9d51859b29d8ea7269ec855841652a37a88ba577e01e SHA512 8daaf5d5cb91260c443448a874f92d948bf878dc44c586dbd4a75323dd834ba3b106fe570e30c7a0aefe4c4a7008b6db1ec2948a948b3fb94906ef1fe3f2e35a
29
30 diff --git a/sys-apps/fwupd/fwupd-1.0.6.ebuild b/sys-apps/fwupd/fwupd-1.0.6.ebuild
31 new file mode 100644
32 index 00000000000..bf796201827
33 --- /dev/null
34 +++ b/sys-apps/fwupd/fwupd-1.0.6.ebuild
35 @@ -0,0 +1,98 @@
36 +# Copyright 1999-2018 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +PYTHON_COMPAT=( python3_4 python3_5 python3_6 )
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 pkcs7 systemd test uefi uefi_labels"
54 +REQUIRED_USE="
55 + ${PYTHON_REQUIRED_USE}
56 +"
57 +
58 +RDEPEND="
59 + ${PYTHON_DEPS}
60 + app-arch/libarchive:=
61 + dev-db/sqlite
62 + >=dev-libs/appstream-glib-0.6.13:=[introspection]
63 + >=dev-libs/glib-2.45.8:2
64 + dev-libs/libgpg-error
65 + dev-libs/libgudev:=
66 + >=dev-libs/libgusb-0.2.9[introspection]
67 + dev-python/pillow[${PYTHON_USEDEP}]
68 + dev-python/pycairo[${PYTHON_USEDEP}]
69 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
70 + >=net-libs/libsoup-2.51.92:2.4[introspection]
71 + >=sys-auth/polkit-0.103
72 + virtual/libelf:0=
73 + colorhug? ( >=x11-misc/colord-1.2.12:0= )
74 + dell? (
75 + sys-libs/efivar
76 + >=sys-libs/libsmbios-2.3.3
77 + )
78 + gpg? (
79 + app-crypt/gpgme
80 + dev-libs/libgpg-error
81 + )
82 + pkcs7? ( net-libs/gnutls:= )
83 + systemd? ( >=sys-apps/systemd-231 )
84 + !systemd? ( >=sys-auth/consolekit-1.0.0 )
85 + uefi? ( >=sys-apps/fwupdate-5 )
86 + uefi_labels? (
87 + x11-libs/pango
88 + x11-libs/cairo
89 + media-libs/freetype
90 + media-libs/fontconfig
91 + media-fonts/dejavu
92 + media-fonts/source-han-sans
93 + )
94 +"
95 +DEPEND="
96 + ${RDEPEND}
97 + app-arch/gcab
98 + app-arch/libarchive
99 + virtual/pkgconfig
100 + $(vala_depend)
101 + doc? ( dev-util/gtk-doc )
102 + man? ( app-text/docbook-sgml-utils )
103 + test? ( net-libs/gnutls[tools] )
104 +"
105 +
106 +REQUIRED_USE="dell? ( uefi )"
107 +
108 +src_prepare() {
109 + default
110 + sed -i -e "s/'--create'/'--absolute-name', '--create'/" data/tests/builder/meson.build || die
111 + vala_src_prepare
112 +}
113 +
114 +src_configure() {
115 + xdg_environment_reset
116 + local emesonargs=(
117 + -Dconsolekit="$(usex systemd false true)"
118 + -Dgpg="$(usex gpg true false)"
119 + -Dgtkdoc="$(usex doc true false)"
120 + -Dman="$(usex man true false)"
121 + -Dpkcs7="$(usex pkcs7 true false)"
122 + -Dplugin_colorhug="$(usex colorhug true false)"
123 + -Dplugin_dell="$(usex dell true false)"
124 + -Dplugin_synaptics="$(usex dell true false)"
125 + # requires libtbtfwu which is not packaged (yet?)
126 + -Dplugin_thunderbolt=false
127 + -Dplugin_uefi="$(usex uefi true false)"
128 + -Dplugin_uefi-labels="$(usex uefi_labels true false)"
129 + -Dsystemd="$(usex systemd true false)"
130 + -Dtests="$(usex test true false)"
131 + )
132 + meson_src_configure
133 +}
134
135 diff --git a/sys-apps/fwupd/metadata.xml b/sys-apps/fwupd/metadata.xml
136 index dd10e28c07e..db5cd052b86 100644
137 --- a/sys-apps/fwupd/metadata.xml
138 +++ b/sys-apps/fwupd/metadata.xml
139 @@ -11,6 +11,7 @@
140 <flag name="dell">Enable Dell-specific support.</flag>
141 <flag name="gpg">Enable GPG support.</flag>
142 <flag name="man">Build and install man pages</flag>
143 + <flag name="pkcs7">Enable PKCS7 verification support via <pkg>net-libs/gnutls</pkg>.</flag>
144 <flag name="uefi">Enable UEFI support</flag>
145 <flag name="uefi_labels">Enable UEFI labels support</flag>
146 </use>