Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libpciaccess/
Date: Sun, 28 Nov 2021 20:09:02
Message-Id: 1638129247.ecdb1e51c78f113f7419e43b95a5bd73d970d82f.floppym@gentoo
1 commit: ecdb1e51c78f113f7419e43b95a5bd73d970d82f
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 01:40:40 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 28 19:54:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecdb1e51
7
8 x11-libs/libpciaccess: migrate to hwdata
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild | 31 +++++++++++++++++++++++
13 1 file changed, 31 insertions(+)
14
15 diff --git a/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild b/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild
16 new file mode 100644
17 index 000000000000..1f46f6ac6927
18 --- /dev/null
19 +++ b/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild
20 @@ -0,0 +1,31 @@
21 +# Copyright 1999-2021 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=7
25 +
26 +XORG_MULTILIB=yes
27 +XORG_EAUTORECONF=yes
28 +inherit xorg-3
29 +
30 +DESCRIPTION="Library providing generic access to the PCI bus and devices"
31 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
32 +IUSE="zlib"
33 +
34 +DEPEND="
35 + zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )"
36 +RDEPEND="${DEPEND}
37 + sys-apps/hwdata"
38 +
39 +src_prepare() {
40 + # Let autotools install scanpci (#765706)
41 + sed 's@^noinst_@bin_@' -i scanpci/Makefile.am || die
42 + xorg-3_src_prepare
43 +}
44 +
45 +src_configure() {
46 + local XORG_CONFIGURE_OPTIONS=(
47 + $(use_with zlib)
48 + --with-pciids-path="${EPREFIX}"/usr/share/hwdata
49 + )
50 + xorg-3_src_configure
51 +}