public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsmbios/
Date: Tue, 21 Feb 2017 13:56:58 +0000 (UTC)	[thread overview]
Message-ID: <1487685414.b2b9e66897477dbbee590c4e235b5e906d8fb97e.polynomial-c@gentoo> (raw)

commit:     b2b9e66897477dbbee590c4e235b5e906d8fb97e
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 21 13:56:39 2017 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Feb 21 13:56:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b9e668

sys-libs/libsmbios: Bump to version 2.3.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sys-libs/libsmbios/Manifest               |  1 +
 sys-libs/libsmbios/libsmbios-2.3.2.ebuild | 83 +++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/sys-libs/libsmbios/Manifest b/sys-libs/libsmbios/Manifest
index 5f2b626164..741a9a7cbc 100644
--- a/sys-libs/libsmbios/Manifest
+++ b/sys-libs/libsmbios/Manifest
@@ -1 +1,2 @@
 DIST libsmbios-2.3.0.tar.xz 830840 SHA256 c71f040df170f6b55a874f292929792449ba1fad6029ba18544ed04a88343c1c SHA512 944df2dde0df8a02d4c5a84ff6e535e112e6d72b81177c8faba7c45b349ec8c8b2149439c4dc6ea834c5eedad1ac59d8bf073a3d48bf7caccc73d0317f00e216 WHIRLPOOL ac2acbb780f45ebcc9c616881432c981fc9907682b3b4d1e7164921cfa6beeef1a25bdde949375455843209556938ce45a92df8b2a190ab689f1673e72561ac9
+DIST libsmbios-2.3.2.tar.gz 800862 SHA256 527874a2abad8f8a9320eeb6b5dd11b6d5b8fff6cdc90bb0f757c39da519714f SHA512 6ef3d71892e157d81fc466689b67c19b83567ee1c4893816da935cfc42738cf958f972eed811aad375fee5bb7d4a6b4e13fb1b5760cd0d7cdb5e65170ebeb129 WHIRLPOOL 499c27d690b2f7b26272423ac9835c7726ef6667e34ed9212cb41d1ff207fddd75749228995de746b2daf5c24b9c4bb7d6d6e72b009c56f4fd53caa455ecf755

diff --git a/sys-libs/libsmbios/libsmbios-2.3.2.ebuild b/sys-libs/libsmbios/libsmbios-2.3.2.ebuild
new file mode 100644
index 0000000000..737f293061
--- /dev/null
+++ b/sys-libs/libsmbios/libsmbios-2.3.2.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+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"
+
+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}-fix-pie.patch"
+	"${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch"
+	"${FILESDIR}/${PN}-2.3.0-doxygen_target.patch"
+)
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+
+	>pkg/py-compile
+
+	# Don't build yum-plugin - we don't need it
+	sed '/yum-plugin/d' -i Makefile.am || die
+
+	# Fix version string in build system
+	sed "/release_micro_version/s@\[1\]@[$(get_version_component_range 3)]@" \
+		-i configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	#Remove -O3 for bug #290097
+	replace-flags -O3 -O2
+
+	econf \
+		$(use_enable doc doxygen) \
+		$(use_enable graphviz) \
+		$(use_enable nls) \
+		$(use_enable python) \
+		$(use_enable static-libs static)
+}
+
+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/
+
+	einstalldocs
+
+	if ! use static-libs ; then
+		find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
+	fi
+}


             reply	other threads:[~2017-02-21 13:57 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 13:56 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-29 11:06 [gentoo-commits] repo/gentoo:master commit in: sys-libs/libsmbios/ Sam James
2025-06-09  3:13 Sam James
2023-11-21 10:05 Marek Szuba
2023-10-26 12:49 Sam James
2023-10-26 12:49 Sam James
2023-08-09 18:14 Piotr Karbowski
2022-10-07 12:39 Sam James
2022-09-09 14:02 Marek Szuba
2022-09-09 14:02 Marek Szuba
2022-09-09 13:25 Marek Szuba
2022-09-07 14:30 Marek Szuba
2022-07-28  0:30 Marek Szuba
2022-07-03 18:42 Piotr Karbowski
2022-06-29 10:59 Marek Szuba
2022-06-29 10:59 Marek Szuba
2022-06-22 10:31 Lars Wendler
2022-05-02  6:05 Sam James
2021-09-01  9:24 Yixun Lan
2021-06-15 23:04 Thomas Deutschmann
2021-02-15  2:19 Rick Farina
2020-12-14  0:46 Sam James
2020-11-30  8:59 Lars Wendler
2020-05-19  0:55 Lars Wendler
2020-05-18 21:13 Agostino Sarubbo
2020-05-18 21:10 Agostino Sarubbo
2020-02-10 13:02 Lars Wendler
2020-02-10 12:12 Michał Górny
2019-11-29 23:26 Lars Wendler
2019-11-29 18:14 Lars Wendler
2019-10-03  8:07 Agostino Sarubbo
2019-05-18 18:07 Mikle Kolyada
2019-05-16 23:56 Thomas Deutschmann
2018-07-10 10:01 Lars Wendler
2018-03-05  9:14 Lars Wendler
2018-03-05  9:14 Lars Wendler
2017-05-26 22:54 David Seifert
2017-05-26 14:05 Agostino Sarubbo
2017-05-25 10:44 Agostino Sarubbo
2017-01-04 17:09 Agostino Sarubbo
2017-01-04 16:56 Agostino Sarubbo
2016-05-14  7:20 Michał Górny
2016-03-15 14:34 Lars Wendler
2016-03-14 16:16 Lars Wendler
2016-03-14 10:10 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1487685414.b2b9e66897477dbbee590c4e235b5e906d8fb97e.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox