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