diff options
author | Rick Farina <zerochaos@gentoo.org> | 2020-04-28 13:19:42 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2020-04-28 13:19:42 -0400 |
commit | b13ad6350738f22961f02af13a2608d5494e936c (patch) | |
tree | 74d4cdc5228af10e321ae56e50ecf19d7032a333 /net-wireless/rtl-sdr | |
parent | dev-python/pip: Mark ALLARCHES (diff) | |
download | gentoo-b13ad6350738f22961f02af13a2608d5494e936c.tar.gz gentoo-b13ad6350738f22961f02af13a2608d5494e936c.tar.bz2 gentoo-b13ad6350738f22961f02af13a2608d5494e936c.zip |
net-wireless/rtl-sdr: add zerocopy use flag
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/rtl-sdr')
-rw-r--r-- | net-wireless/rtl-sdr/metadata.xml | 3 | ||||
-rw-r--r-- | net-wireless/rtl-sdr/rtl-sdr-9999.ebuild | 7 |
2 files changed, 7 insertions, 3 deletions
diff --git a/net-wireless/rtl-sdr/metadata.xml b/net-wireless/rtl-sdr/metadata.xml index 1570f891c6a3..0fd1a19caca6 100644 --- a/net-wireless/rtl-sdr/metadata.xml +++ b/net-wireless/rtl-sdr/metadata.xml @@ -5,4 +5,7 @@ <email>radio@gentoo.org</email> <name>Radio</name> </maintainer> + <use> + <flag name="zerocopy">may cause a bus error on some ARM systems</flag> + </use> </pkgmetadata> diff --git a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild index 5b9fb0899d30..2f3140b29d22 100644 --- a/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild +++ b/net-wireless/rtl-sdr/rtl-sdr-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit cmake-utils multilib @@ -23,7 +23,7 @@ fi LICENSE="GPL-2" SLOT="0" -IUSE="" +IUSE="+zerocopy" DEPEND="virtual/libusb:1" RDEPEND="${DEPEND}" @@ -41,6 +41,7 @@ src_configure() { mycmakeargs=( -DINSTALL_UDEV_RULES=OFF -DDETACH_KERNEL_DRIVER=ON + -DENABLE_ZEROCOPY="$(usex zerocopy)" -DLIB_INSTALL_DIR=$(get_libdir) ) cmake-utils_src_configure |