remove ia64 keywords
[gentoo-zh.git] / sci-electronics / openfpgaloader / openfpgaloader-0.12.1.ebuild
blob106a72faaf94c1482903f68fd18cdf80e5557f8c
1 # Copyright 2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
4 EAPI=8
6 inherit cmake
8 DESCRIPTION="Universal utility for programming FPGAs"
9 HOMEPAGE="https://trabucayre.github.io/openFPGALoader"
10 SRC_URI="https://github.com/trabucayre/openFPGALoader/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
11 MY_PN="openFPGALoader"
12 S="${WORKDIR}/${MY_PN}-${PV}"
14 LICENSE="Apache-2.0"
15 SLOT="0"
16 KEYWORDS="~amd64"
17 IUSE="+cmsisdap +gpio remote static"
19 DEPEND="
20 dev-libs/libgpiod
21 dev-libs/libusb
22 sys-libs/libcap
23 sys-libs/zlib
24 dev-embedded/libftdi
25 cmsisdap? ( dev-libs/hidapi )
27 RDEPEND="${DEPEND}"
29 src_configure() {
31 # TODO: -DISE_DIR
32 # TODO: _DBLASTERII_DIR
33 local mycmakeargs=(
34 -DENABLE_UDEV="on"
35 -DENABLE_CMSISDAP=$(usex cmsisdap)
36 -DENABLE_LIBGPIOD=$(usex gpio)
37 -DENABLE_REMOTEBITBANG=$(usex remote)
38 -DBUILD_STATIC=$(usex static)
40 cmake_src_configure