diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-11-24 20:40:40 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-11-28 14:54:07 -0500 |
commit | ecdb1e51c78f113f7419e43b95a5bd73d970d82f (patch) | |
tree | 8353b520cff6c03026f8b409b550a4c79b8ab664 /x11-libs | |
parent | sys-libs/libosinfo: migrate to hwdata (diff) | |
download | gentoo-ecdb1e51c78f113f7419e43b95a5bd73d970d82f.tar.gz gentoo-ecdb1e51c78f113f7419e43b95a5bd73d970d82f.tar.bz2 gentoo-ecdb1e51c78f113f7419e43b95a5bd73d970d82f.zip |
x11-libs/libpciaccess: migrate to hwdata
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild b/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild new file mode 100644 index 000000000000..1f46f6ac6927 --- /dev/null +++ b/x11-libs/libpciaccess/libpciaccess-0.16-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +XORG_MULTILIB=yes +XORG_EAUTORECONF=yes +inherit xorg-3 + +DESCRIPTION="Library providing generic access to the PCI bus and devices" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="zlib" + +DEPEND=" + zlib? ( >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] )" +RDEPEND="${DEPEND} + sys-apps/hwdata" + +src_prepare() { + # Let autotools install scanpci (#765706) + sed 's@^noinst_@bin_@' -i scanpci/Makefile.am || die + xorg-3_src_prepare +} + +src_configure() { + local XORG_CONFIGURE_OPTIONS=( + $(use_with zlib) + --with-pciids-path="${EPREFIX}"/usr/share/hwdata + ) + xorg-3_src_configure +} |