net-libs/*iio: moved to gentoo

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-09-04 20:55:39 +00:00
parent 2273949e2f
commit 9048eed33e
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A
8 changed files with 1 additions and 120 deletions

View file

@ -1 +0,0 @@
DIST libad9361-iio-0.1.tar.gz 27495 BLAKE2B d46873d69c494835e028ba1de7d17d48e5ed6bf1a73e96cf958dcfe44142cd39a9df3b00d61d3d3b8934bcb59fff3bd33c82f5c11de65f332185fe0e8c296f54 SHA512 64df3d4ce5e1c10fb44b6e39c11bac119ef77f2cc5b9785023b22670ca4905a1afd13c6923b3056f957789a911a3cae3cb7208770e1a112d849e7e3d2feb2fdc

View file

@ -1,36 +0,0 @@
From 7206bb2a9b655be3bdb66c6cf03aa504817ed240 Mon Sep 17 00:00:00 2001
From: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue, 14 Aug 2018 09:48:59 +0200
Subject: [PATCH] Fix building outside git repository
Currently when building the project on a machine that has git installed,
but the source is not inside a git repository cmake fails with the
following error.
CMake Error at CMakeLists.txt:35 (if):
if given arguments:
"STREQUAL" "/home/lars/libad9361-iio"
This is due to LIBAD9361_GIT_REPO variable being empty. In order to handle
empty variables in CMake in a string comparison they need to be
encapsulated in quotes.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7af5444..8d04ba0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -32,7 +32,7 @@ if (GIT_FOUND)
OUTPUT_STRIP_TRAILING_WHITESPACE
)
-if (${LIBAD9361_GIT_REPO} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
+if ("${LIBAD9361_GIT_REPO}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
execute_process(
COMMAND ${GIT_EXECUTABLE} rev-parse --short HEAD
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}

View file

@ -1,24 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc."
HOMEPAGE="https://github.com/analogdevicesinc/libad9361-iio"
SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="net-libs/libiio:="
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch"
cmake-utils_src_prepare
eapply_user
}

View file

@ -1,19 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils git-r3
DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc."
HOMEPAGE="https://github.com/analogdevicesinc/libad9361-iio"
EGIT_REPO_URI="https://github.com/analogdevicesinc/libad9361-iio"
KEYWORDS=""
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="net-libs/libiio:="
DEPEND="${RDEPEND}"

View file

@ -1 +0,0 @@
DIST libiio-0.15.tar.gz 192704 BLAKE2B 7eeaad1535f69ca11fe3f716ac70a161f98d24513fe910cb34ca11a0b63c07f5b5321447c96c247cc9a76ed838d806fa9f160e87fd10f1aeac5025edfa16b8f6 SHA512 7e3ca1a8b97486f20baf38afecfd26c626bed1fef535d88020d11eb4e49fc1226390c6383799222f6811c13b8b7e5cc77fb899c776c150a9d1c2024bf8ab338b

View file

@ -1,19 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cmake-utils
DESCRIPTION="Library for interfacing with IIO devices"
HOMEPAGE="https://github.com/analogdevicesinc/libiio"
SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="dev-libs/libxml2:=
virtual/libusb:1="
DEPEND="${RDEPEND}"

View file

@ -1,20 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Library for interfacing with IIO devices"
HOMEPAGE="https://github.com/analogdevicesinc/libiio"
EGIT_REPO_URI="https://github.com/analogdevicesinc/libiio"
KEYWORDS=""
LICENSE="LGPL-2.1"
SLOT="0"
RDEPEND="dev-libs/libxml2:=
virtual/libusb:1="
DEPEND="${RDEPEND}"
inherit cmake-utils git-r3

View file

@ -13,6 +13,7 @@ net-wireless/soapyhackrf
net-wireless/soapyrtlsdr
net-wireless/soapyuhd
net-wireless/soapybladerf
net-wireless/soapyplutosdr
net-wireless/soapy_power
net-wireless/qspectrumanalyzer