mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-libs/libgpiod: drop 1.4.1
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST libgpiod-1.4.1.tar.xz 314936 BLAKE2B 8949c4a96f69a83a479f5951e6f1eb8fee56db700e72320131c365a5d736a48700fb42b7ecc2b676cec54887eaa650075f45ec1f0b803de914958cefd3863db8 SHA512 2a9c58a46fb3c2e2dd15cc4ba52f589b44e5ae4547226eeb68a8e5bea6292d38aaf0889cc639e0979e12e129bb944bb42d9258f10292f59d074660e7c2d56d04
|
||||
DIST libgpiod-1.6.3.tar.xz 326068 BLAKE2B eda5409f2db3914ede92690589643211eca3002f8dc53a7c48213602f28158084c8eb8061319923f7a51c7d91650ff58b81b059323b5b9133a28b0bb04f6904d SHA512 f7e48662d02904f3f25976d61aa2cf4af0b8a52f65f184f23dfb6916bde9b86634b211f2696d3459a4f902ba5a79621b2fc47d18d487fd7a159018fe8933e370
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="C library and tools for interacting with the linux GPIO character device"
|
||||
HOMEPAGE="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/"
|
||||
SRC_URI="https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
# Reflects the ABI of libgpiod.so
|
||||
SLOT="0/1"
|
||||
KEYWORDS="amd64 arm arm64 ~riscv x86"
|
||||
IUSE="static-libs +tools cxx python test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
# --enable-tests enable libgpiod tests [default=no]
|
||||
# --enable-bindings-cxx enable C++ bindings [default=no]
|
||||
# --enable-bindings-python
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable tools)
|
||||
$(use_enable cxx bindings-cxx)
|
||||
$(use_enable test tests)
|
||||
$(multilib_native_use_enable python bindings-python)
|
||||
)
|
||||
|
||||
if ! multilib_is_native_abi; then
|
||||
myconf+=(
|
||||
--disable-tools
|
||||
)
|
||||
fi
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${D}" -name "*.a" -delete || die
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user