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 390F91382C5 for ; Mon, 5 Mar 2018 09:14:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26BA7E086C; Mon, 5 Mar 2018 09:14:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 E9F6FE086C for ; Mon, 5 Mar 2018 09:14:52 +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 7871E335C43 for ; Mon, 5 Mar 2018 09:14:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D44F4239 for ; Mon, 5 Mar 2018 09:14:47 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1520241245.a4ab9d97d65891f91a523ea6f4abba665b63e509.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsmbios/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/libsmbios/Manifest sys-libs/libsmbios/libsmbios-2.4.1.ebuild X-VCS-Directories: sys-libs/libsmbios/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: a4ab9d97d65891f91a523ea6f4abba665b63e509 X-VCS-Branch: master Date: Mon, 5 Mar 2018 09:14:47 +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: 5b82cccc-3643-4a3f-a445-49854a331a12 X-Archives-Hash: b4d1873a4237a20fa419ca1b84faeba0 commit: a4ab9d97d65891f91a523ea6f4abba665b63e509 Author: Lars Wendler gentoo org> AuthorDate: Mon Mar 5 09:14:05 2018 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon Mar 5 09:14:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ab9d97 sys-libs/libsmbios: Bump to version 2.4.1 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-libs/libsmbios/Manifest | 1 + sys-libs/libsmbios/libsmbios-2.4.1.ebuild | 77 +++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest index 3753fceca76..197a9f8bf7e 100644 --- a/sys-libs/libsmbios/Manifest +++ b/sys-libs/libsmbios/Manifest @@ -1,3 +1,4 @@ DIST libsmbios-2.3.0.tar.xz 830840 BLAKE2B 1ddbddd5c9837a44cfbd97bdb1862a90137ba6caf7c19fe4cdde1e7dceef1a6f2c9bcba6329a5dde6736d6b252e37cbb100ba9f555d0dc15a0946fb1717c7f3b SHA512 944df2dde0df8a02d4c5a84ff6e535e112e6d72b81177c8faba7c45b349ec8c8b2149439c4dc6ea834c5eedad1ac59d8bf073a3d48bf7caccc73d0317f00e216 DIST libsmbios-2.3.2.tar.gz 800862 BLAKE2B da888dbe3b3dfa10b39fbc4da90fe643982abc49f756f033d492f29d06631c722da7ec11a2b77780c06a74b7b0e3f70d5d3fc1ce895be7a7c8d136f654a22f7e SHA512 6ef3d71892e157d81fc466689b67c19b83567ee1c4893816da935cfc42738cf958f972eed811aad375fee5bb7d4a6b4e13fb1b5760cd0d7cdb5e65170ebeb129 DIST libsmbios-2.3.3.tar.gz 801164 BLAKE2B 22d04d4071ec3111d80acbbc10dbd51c15e5f8db06575f3079654da42e33dbbfcb364e1bdc8470d2a66475159da1179cafc9ae5284be0c35c4199dc5b16a1a2e SHA512 d4ee556fc0b734827e1a0def9c9914e79130ce9f164f62a5aa752276772f9ed27874fd8a285b65e016f16f001cdfa23c7c9d228533bb8a03134db90b9cc4f96d +DIST libsmbios-2.4.1.tar.gz 667796 BLAKE2B 119198783004215c269ae0846aad58fafcdd0ee2148e0014f77271c38511cc61430db2b81c43bbc0da507b40342c923731e06c61829f9604b84b26f7f527b37a SHA512 dd71e45f8047480a669b70efebb9bdbbea4870f96437fc45eb4088fd66331d117b29a65c45cee2e5c4628d0536072a5939eb83f1905857a85bd0567b3d1c22fb diff --git a/sys-libs/libsmbios/libsmbios-2.4.1.ebuild b/sys-libs/libsmbios/libsmbios-2.4.1.ebuild new file mode 100644 index 00000000000..b6928795370 --- /dev/null +++ b/sys-libs/libsmbios/libsmbios-2.4.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) + +inherit autotools flag-o-matic python-single-r1 versionator + +DESCRIPTION="Provide access to (SM)BIOS information" +HOMEPAGE="http://linux.dell.com/files/libsmbios/" +SRC_URI="https://github.com/dell/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 OSL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +IUSE="doc graphviz nls python static-libs test" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND="dev-libs/libxml2 + sys-libs/zlib + nls? ( virtual/libintl ) + python? ( ${PYTHON_DEPS} )" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-doc/doxygen ) + graphviz? ( media-gfx/graphviz ) + nls? ( sys-devel/gettext ) + test? ( >=dev-util/cppunit-1.9.6 )" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch" +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + # Don't build yum-plugin - we don't need it + sed '/yum-plugin/d' -i Makefile.am || die + + eautoreconf +} + +src_configure() { + #Remove -O3 for bug #290097 + replace-flags -O3 -O2 + + local myeconfargs=( + $(use_enable doc doxygen) + $(use_enable graphviz) + $(use_enable nls) + $(use_enable python) + $(use_enable static-libs static) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + emake install DESTDIR="${D}" + + if use python ; then + python_scriptinto /usr/sbin + python_doscript "${ED%/}"/usr/sbin/smbios-{{keyboard,thermal,token,wakeup,wireless}-ctl,lcd-brightness,passwd,sys-info} + fi + + insinto /usr/include/ + doins -r src/include/smbios_c + + einstalldocs + + if ! use static-libs ; then + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + fi +}