From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 49CC2138334 for ; Mon, 10 Sep 2018 15:57:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1126DE0B09; Mon, 10 Sep 2018 15:57:29 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3317E0B09 for ; Mon, 10 Sep 2018 15:57:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92E58335CF2 for ; Mon, 10 Sep 2018 15:57:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 192413BB for ; Mon, 10 Sep 2018 15:57:20 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1536595032.1742ee0f7f6457446116f4d60677e6d3ff2b2fd6.robbat2@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fwupd/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/fwupd/fwupd-1.1.1-r1.ebuild sys-apps/fwupd/metadata.xml X-VCS-Directories: sys-apps/fwupd/ X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 1742ee0f7f6457446116f4d60677e6d3ff2b2fd6 X-VCS-Branch: master Date: Mon, 10 Sep 2018 15:57:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3e6825c2-218f-4260-8d2b-c2aef70c5963 X-Archives-Hash: fa98c45f841cf729a79faaf6ac7c6f5b commit: 1742ee0f7f6457446116f4d60677e6d3ff2b2fd6 Author: Robin H. Johnson gentoo org> AuthorDate: Mon Sep 10 15:56:00 2018 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Sep 10 15:57:12 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1742ee0f sys-apps/fwupd: add thunderbolt support Signed-off-by: Robin H. Johnson gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10 sys-apps/fwupd/fwupd-1.1.1-r1.ebuild | 121 +++++++++++++++++++++++++++++++++++ sys-apps/fwupd/metadata.xml | 1 + 2 files changed, 122 insertions(+) diff --git a/sys-apps/fwupd/fwupd-1.1.1-r1.ebuild b/sys-apps/fwupd/fwupd-1.1.1-r1.ebuild new file mode 100644 index 00000000000..ee3d4caad37 --- /dev/null +++ b/sys-apps/fwupd/fwupd-1.1.1-r1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Package requires newer meson than eclass provides +MESON_AUTO_DEPEND="no" +PYTHON_COMPAT=( python3_4 python3_5 python3_6 ) + +inherit meson python-single-r1 vala xdg-utils + +DESCRIPTION="Aims to make updating firmware on Linux automatic, safe and reliable" +HOMEPAGE="https://fwupd.org" +SRC_URI="https://github.com/hughsie/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="colorhug dell doc gpg +man pkcs7 redfish systemd test thunderbolt uefi" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + dell? ( uefi ) +" + +RDEPEND=" + ${PYTHON_DEPS} + app-arch/libarchive:= + dev-db/sqlite + >=dev-libs/appstream-glib-0.7.4:=[introspection] + >=dev-libs/glib-2.45.8:2 + dev-libs/libgpg-error + dev-libs/libgudev:= + >=dev-libs/libgusb-0.2.9[introspection] + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + >=net-libs/libsoup-2.51.92:2.4[introspection] + >=sys-auth/polkit-0.103 + virtual/libelf:0= + colorhug? ( >=x11-misc/colord-1.2.12:0= ) + dell? ( + sys-libs/efivar + >=sys-libs/libsmbios-2.4.0 + ) + gpg? ( + app-crypt/gpgme + dev-libs/libgpg-error + ) + pkcs7? ( >=net-libs/gnutls-3.4.4.1:= ) + redfish? ( + dev-libs/json-glib + sys-libs/efivar + ) + systemd? ( >=sys-apps/systemd-211 ) + !systemd? ( >=sys-auth/consolekit-1.0.0 ) + thunderbolt? ( sys-apps/thunderbolt-software-user-space ) + uefi? ( + media-libs/fontconfig + media-libs/freetype + sys-boot/gnu-efi + >=sys-libs/efivar-33 + x11-libs/cairo + ) +" +DEPEND=" + ${RDEPEND} + app-arch/gcab + app-arch/libarchive + >=dev-util/meson-0.41.0 + >=dev-util/ninja-1.7.2 + virtual/pkgconfig + $(vala_depend) + doc? ( dev-util/gtk-doc ) + man? ( app-text/docbook-sgml-utils ) + test? ( net-libs/gnutls[tools] ) +" + +# required for fwupd daemon to run. +# NOT a build time dependency. The build system does not check for dbus. +PDEPEND="sys-apps/dbus" + +src_prepare() { + default + sed -e "s/'--create'/'--absolute-name', '--create'/" \ + -i data/tests/builder/meson.build || die + sed -e "/'-Werror',/d" \ + -i plugins/uefi/efi/meson.build || die + vala_src_prepare +} + +src_configure() { + xdg_environment_reset + local emesonargs=( + -Dconsolekit="$(usex systemd false true)" + -Dgpg="$(usex gpg true false)" + -Dgtkdoc="$(usex doc true false)" + -Dman="$(usex man true false)" + -Dpkcs7="$(usex pkcs7 true false)" + -Dplugin_dell="$(usex dell true false)" + -Dplugin_redfish="$(usex redfish true false)" + -Dplugin_synaptics="$(usex dell true false)" + -Dplugin_thunderbolt="$(usex thunderbolt true false)" + -Dplugin_uefi="$(usex uefi true false)" + -Dsystemd="$(usex systemd true false)" + -Dtests="$(usex test true false)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + doinitd "${FILESDIR}"/${PN} +} + +pkg_postinst() { + elog "In case you are using openrc as init system" + elog "and you're upgrading from Build and install man pages Enable PKCS7 verification support via net-libs/gnutls. Install redfish plugin + Install thunderbolt plugin Enable UEFI support Enable UEFI labels support