summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZero_Chaos <zerochaos@gentoo.org>2018-09-04 20:53:00 +0000
committerZero_Chaos <zerochaos@gentoo.org>2018-09-04 20:54:28 +0000
commit600fde3abe0fc1c4d197cd383c8405370a317457 (patch)
treeb8ae51ca18ee0f21a359a0bd0809078c757ba10f /net-libs/libiio
parentnet-wireless/soapysdr: add plutosdr support (diff)
downloadgentoo-600fde3abe0fc1c4d197cd383c8405370a317457.tar.gz
gentoo-600fde3abe0fc1c4d197cd383c8405370a317457.tar.bz2
gentoo-600fde3abe0fc1c4d197cd383c8405370a317457.zip
net-libs/libiio: import from pentoo
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'net-libs/libiio')
-rw-r--r--net-libs/libiio/Manifest1
-rw-r--r--net-libs/libiio/libiio-0.15-r1.ebuild27
-rw-r--r--net-libs/libiio/libiio-9999.ebuild27
-rw-r--r--net-libs/libiio/metadata.xml18
4 files changed, 73 insertions, 0 deletions
diff --git a/net-libs/libiio/Manifest b/net-libs/libiio/Manifest
new file mode 100644
index 000000000000..e9bb388854d0
--- /dev/null
+++ b/net-libs/libiio/Manifest
@@ -0,0 +1 @@
+DIST libiio-0.15.tar.gz 192704 BLAKE2B 7eeaad1535f69ca11fe3f716ac70a161f98d24513fe910cb34ca11a0b63c07f5b5321447c96c247cc9a76ed838d806fa9f160e87fd10f1aeac5025edfa16b8f6 SHA512 7e3ca1a8b97486f20baf38afecfd26c626bed1fef535d88020d11eb4e49fc1226390c6383799222f6811c13b8b7e5cc77fb899c776c150a9d1c2024bf8ab338b
diff --git a/net-libs/libiio/libiio-0.15-r1.ebuild b/net-libs/libiio/libiio-0.15-r1.ebuild
new file mode 100644
index 000000000000..64bf1679f217
--- /dev/null
+++ b/net-libs/libiio/libiio-0.15-r1.ebuild
@@ -0,0 +1,27 @@
+# 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"
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="https://github.com/analogdevicesinc/libiio"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+IUSE="+aio +avahi"
+
+RDEPEND="dev-libs/libxml2:=
+ virtual/libusb:1=
+ aio? ( dev-libs/libaio )
+ avahi? ( net-dns/avahi )"
+DEPEND="${RDEPEND}"
diff --git a/net-libs/libiio/libiio-9999.ebuild b/net-libs/libiio/libiio-9999.ebuild
new file mode 100644
index 000000000000..64bf1679f217
--- /dev/null
+++ b/net-libs/libiio/libiio-9999.ebuild
@@ -0,0 +1,27 @@
+# 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"
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="https://github.com/analogdevicesinc/libiio"
+ inherit git-r3
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/analogdevicesinc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+IUSE="+aio +avahi"
+
+RDEPEND="dev-libs/libxml2:=
+ virtual/libusb:1=
+ aio? ( dev-libs/libaio )
+ avahi? ( net-dns/avahi )"
+DEPEND="${RDEPEND}"
diff --git a/net-libs/libiio/metadata.xml b/net-libs/libiio/metadata.xml
new file mode 100644
index 000000000000..01dc3884d2c9
--- /dev/null
+++ b/net-libs/libiio/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zerochaos@gentoo.org</email>
+ <name>Rick Farina</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <use>
+ <flag name="aio">Enable asynchronous IO support</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">analogdevicesinc/libiio</remote-id>
+ </upstream>
+</pkgmetadata>