summaryrefslogtreecommitdiff
path: root/net-wireless
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/Manifest.gzbin14910 -> 14922 bytes
-rw-r--r--net-wireless/gr-air-modes/Manifest4
-rw-r--r--net-wireless/gr-air-modes/gr-air-modes-9999.ebuild5
-rw-r--r--net-wireless/gr-air-modes/metadata.xml1
-rw-r--r--net-wireless/iw/Manifest2
-rw-r--r--net-wireless/iw/iw-4.9.ebuild2
-rw-r--r--net-wireless/rtl_433/Manifest4
-rw-r--r--net-wireless/rtl_433/rtl_433-0.1_p20180223.ebuild26
-rw-r--r--net-wireless/rtl_433/rtl_433-9999.ebuild18
-rw-r--r--net-wireless/uhd/Manifest5
-rw-r--r--net-wireless/uhd/metadata.xml12
-rw-r--r--net-wireless/uhd/uhd-3.11.0.0.ebuild132
12 files changed, 196 insertions, 15 deletions
diff --git a/net-wireless/Manifest.gz b/net-wireless/Manifest.gz
index 58863fb64608..fec3bfe442e9 100644
--- a/net-wireless/Manifest.gz
+++ b/net-wireless/Manifest.gz
Binary files differ
diff --git a/net-wireless/gr-air-modes/Manifest b/net-wireless/gr-air-modes/Manifest
index 0d2b6193e88a..c16f06cb139d 100644
--- a/net-wireless/gr-air-modes/Manifest
+++ b/net-wireless/gr-air-modes/Manifest
@@ -1,2 +1,2 @@
-EBUILD gr-air-modes-9999.ebuild 951 BLAKE2B 21c75d0d39a889ec7a98b35712e9b286ea76461ec63e596b87e1722e6b8ca99ddfef79e7649239cd6b264b7d97956ad3d239b2f9c8564581f19f860a7349776c SHA512 704f794b4f9c9e3f2cabc0655df758770e4513fa9d7ddde79cade55d1847861662fccf070c0b475a78b21d8aadab18d5d4317d8dbd458eb6256a4f8bcfe5d1aa
-MISC metadata.xml 486 BLAKE2B 110d418b3bdfe76e8b9445534808e5e4cc9b8556aeecb26a4fdd9400fab3b4521180bed3ec712cfa0e9eaff6f0e27e306d634e8ae9d6301aba89ca3491929455 SHA512 5d3b89831677a72bc5f749bda6ad387fad9be6a17eec2b211286086ceb926d8dbdb4eeb2f7e0e9bdea4dcbd9857fdfcbbb7a54a10d566a7870b417e27875c907
+EBUILD gr-air-modes-9999.ebuild 901 BLAKE2B 02b3be5a369f7357237a21171ca34e891a5525f241a545c7c90fdeaa30a20a5233e941031f92b5e713d5bcae6ca914de59b6eba17350f1a941e382c4e5d09dea SHA512 4e42d94e3fd0487367bcdc49e0bdc7c7fd6240cb447192472366181d04701e9c6e7e10aeb8318a3ca35e547588650b563af56936ba08bcceab78a5f797b510f8
+MISC metadata.xml 447 BLAKE2B 3d205cace1b2c5446d3b3db17116f0e8d071cc1a1e59b17597c1a083b781e6ea1bc9e2f52de22d685ca53a96b08a13965e121f5924559040da23a827243579d3 SHA512 d05f480160792ec408d852a61ddaebe4088e38a7efbee14e8b576fb4ac2e2c98e5196b0c6fe62457e7de9ed2db80317e452061e90d5c6a760f5b5cf941027f0c
diff --git a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
index 61b17370d943..355f3c208e6d 100644
--- a/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
+++ b/net-wireless/gr-air-modes/gr-air-modes-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -15,7 +15,7 @@ KEYWORDS=""
LICENSE="GPL-3"
SLOT="0"
-IUSE="rtlsdr fgfs +gui uhd"
+IUSE="rtlsdr fgfs uhd"
DEPEND=">=net-wireless/gnuradio-3.7.0:=
net-wireless/gr-osmosdr
dev-python/pyzmq[${PYTHON_USEDEP}]
@@ -23,7 +23,6 @@ DEPEND=">=net-wireless/gnuradio-3.7.0:=
games-simulation/flightgear )
rtlsdr? ( net-wireless/rtl-sdr )
uhd? ( >=net-wireless/uhd-3.4.0 )
- gui? ( dev-python/pyqwt[${PYTHON_USEDEP}] )
${PYTHON_DEPS}"
RDEPEND="${DEPEND}"
diff --git a/net-wireless/gr-air-modes/metadata.xml b/net-wireless/gr-air-modes/metadata.xml
index 759e8cf8027c..5ede75ce7e74 100644
--- a/net-wireless/gr-air-modes/metadata.xml
+++ b/net-wireless/gr-air-modes/metadata.xml
@@ -9,6 +9,5 @@
<flag name="rtlsdr">Build with Realtek RTL2832U (rtlsdr) support</flag>
<flag name="uhd">Build with Ettus Research USRP Hardware Driver support</flag>
<flag name="fgfs">Support FlightGear</flag>
- <flag name="gui">Build the GUI</flag>
</use>
</pkgmetadata>
diff --git a/net-wireless/iw/Manifest b/net-wireless/iw/Manifest
index bb4974263581..bf1231b715a7 100644
--- a/net-wireless/iw/Manifest
+++ b/net-wireless/iw/Manifest
@@ -9,5 +9,5 @@ EBUILD iw-4.0.ebuild 753 BLAKE2B 0dcafdc4d190d6786d32ff487056184789d60745d1e7ab5
EBUILD iw-4.14.ebuild 771 BLAKE2B bdf9689a1784e513ba927bf4674abbb060f0065b066ef5aaa5ed49b128b480ec8253968fccd671feb683cf9d4e858ce2c8c64c135ef7c636845b63a45fe0dc71 SHA512 33b81ff5cbf786b406a759dd2b72d8e914c805df99d442c07bbf79723be063608ddab0851c3728862ef71e4d37b7baeb4b1a8b560836f4f4e93eb65c628e5d1f
EBUILD iw-4.3.ebuild 755 BLAKE2B d9c359eb34d37efc6ef28f44aea898bf6d89e622c4db6fe206b2d04c2c40d543954498df913fa43c3ccd47338b1bb07290c91045e4a29f83d95b092e43443227 SHA512 46429aae6cc69881d3a1320df9e11f28c5e01d010839b99cab83c5f455ed986b4972c698f71c72b9063b3475be062bc7e05e8dd64de18727bf5978b75e165fa5
EBUILD iw-4.7.ebuild 762 BLAKE2B 417d038aa7efece0cfd2dadeb4bdfc7fb10834053d1e4a0c72706c69deb06b8ba0210e663ff7b0c3ce48358e77a1df80992b2277d567ea76f689979a1d35c84e SHA512 4788121468e574ed343a9a8f781c3e83d15fef389661ffbf17032f29ba984e1bff46f837ec30cedbbb3f52ffaea558ed1794357bbde49be7384546acb5ec7d72
-EBUILD iw-4.9.ebuild 767 BLAKE2B 24d03718a38935e17656d47b36aa9d6e864dc60c51c4f83af82816c52e448fcaea24e2952ad9d5dc5151aadce6cdf4c15f918e244fcf66f3db75c9e33c695f41 SHA512 2bf8724c33a3690ff91b659fa65f4991030ce3c677bed98026a9121c714da0018c7364e0c021c6d1ff9494304749fd3f6e354e45cc47acbf7551ec76b3ccef53
+EBUILD iw-4.9.ebuild 766 BLAKE2B 2689a280313e2aff91f4ae7e274ca7a872e6221893d3ab873ed15ad3776f09e43da9d0ceceb29567f2a2d08a86f3a2de15852041d50492d2a16f4a521ba70e2d SHA512 e1e8faadccd4e6c7615ff0c19c04b4dd9ed8e0931b8e51e7f9800da5a615f40bd4c023da487dfcdfe00a76008caab226adddca682667cb51758ec2d83e61b051
MISC metadata.xml 367 BLAKE2B 5ae9e15ee49ff0aff8cd3316c12dc5079e6bf11ae7e702af54126ae6bd09e070eb998e2bc24fa28994e7fffcc729702ad1b91d990ade9d6695d06bd499cc9056 SHA512 a69fac0438f4d6a7e4e7689634088c83bd26a4faceb124b9d5af9138171b7bcc8700538288afd2bfa3b20dc0e08cb061e96c14ff27bae5dc2389a9eed8306604
diff --git a/net-wireless/iw/iw-4.9.ebuild b/net-wireless/iw/iw-4.9.ebuild
index ca557ca3ebc7..bcaeb511ad9d 100644
--- a/net-wireless/iw/iw-4.9.ebuild
+++ b/net-wireless/iw/iw-4.9.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz"
LICENSE="ISC"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~amd64-linux ~x86-linux"
IUSE=""
RDEPEND="dev-libs/libnl"
diff --git a/net-wireless/rtl_433/Manifest b/net-wireless/rtl_433/Manifest
index 401cbf87fb7f..7aa86adebcea 100644
--- a/net-wireless/rtl_433/Manifest
+++ b/net-wireless/rtl_433/Manifest
@@ -1,2 +1,4 @@
-EBUILD rtl_433-9999.ebuild 383 BLAKE2B 8cf49250a3210b1dc858c293cd5e5d9768457ccaac68d61318a05aa827761827a8ba4cad457d0d992c6e5eabcc7e9a757b1784181c9cc336b5590208d03ba7b0 SHA512 50d55b662a43a8871fd9298df099577931e9997f266cec06f2ce4a5e9864e41373a884d42ffe7bcd8e036c9aa3153c68b3d62e9302163bc740ff6ec2ef6348b2
+DIST 51d275cd08c517d5445b568bf9c2f1b4103bec9f.tar.gz 228857 BLAKE2B a2fc4e49ce62a5908426fa8a35b0f305c1b09ac62c4f0e299141d1bd85c5c48824868197244307797a21e9919c284d04d6f981ed66c4c11745c7ce1772aebb8b SHA512 68a36159eadf9180969e8ad587db553829cd77d0d9c7226d29a32e39867387025a8ff373a0cf553aec07243685510ec3dbecedfcb96970e379265cd3def7a674
+EBUILD rtl_433-0.1_p20180223.ebuild 612 BLAKE2B b9cb21176f1c5e851d4996d14eca6aa9e064c8c38c154ff86084ac3b6ecbace94f2ddfddbd4133f47a4b2a4c1755b791c207a30b7331a4aec07a6f5b7b4f26f2 SHA512 9871a0a51d4106c5d6f052bf8ac675f33a70ac2fc45e875f954c88d598bcedf15ebe54d19ec908e4923e25b18ea51ddab6c3e16802ebe7cebc1b98355c1b56ec
+EBUILD rtl_433-9999.ebuild 612 BLAKE2B b9cb21176f1c5e851d4996d14eca6aa9e064c8c38c154ff86084ac3b6ecbace94f2ddfddbd4133f47a4b2a4c1755b791c207a30b7331a4aec07a6f5b7b4f26f2 SHA512 9871a0a51d4106c5d6f052bf8ac675f33a70ac2fc45e875f954c88d598bcedf15ebe54d19ec908e4923e25b18ea51ddab6c3e16802ebe7cebc1b98355c1b56ec
MISC metadata.xml 329 BLAKE2B beaa09efbaecc4e65a2b82f94eda432b93182b63afbd7879f053911c7a935741577e99929d5247bfa921c51bc40746e0b73ba7c45c09aaa6edc6fe93d4028b6a SHA512 1af5cd3514c72c9e8e676a8c09a47ffeb17a1ea24a765e0701b26b1f89af35673f1d7f160cbf3021fe108c935d81870a72147bbcc5a76f2b325a854337640b98
diff --git a/net-wireless/rtl_433/rtl_433-0.1_p20180223.ebuild b/net-wireless/rtl_433/rtl_433-0.1_p20180223.ebuild
new file mode 100644
index 000000000000..04955a8a9d01
--- /dev/null
+++ b/net-wireless/rtl_433/rtl_433-0.1_p20180223.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Decode OOK modulated signals"
+HOMEPAGE="https://github.com/merbanan/rtl_433"
+if [[ $PV == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/merbanan/rtl_433"
+ KEYWORDS=""
+else
+ COMMIT="51d275cd08c517d5445b568bf9c2f1b4103bec9f"
+ SRC_URI="https://github.com/merbanan/rtl_433/archive/${COMMIT}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="net-wireless/rtl-sdr:="
+RDEPEND="${DEPEND}"
diff --git a/net-wireless/rtl_433/rtl_433-9999.ebuild b/net-wireless/rtl_433/rtl_433-9999.ebuild
index d491724df404..04955a8a9d01 100644
--- a/net-wireless/rtl_433/rtl_433-9999.ebuild
+++ b/net-wireless/rtl_433/rtl_433-9999.ebuild
@@ -1,18 +1,26 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-inherit cmake-utils git-r3
+inherit cmake-utils
DESCRIPTION="Decode OOK modulated signals"
HOMEPAGE="https://github.com/merbanan/rtl_433"
-EGIT_REPO_URI="https://github.com/merbanan/rtl_433"
+if [[ $PV == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/merbanan/rtl_433"
+ KEYWORDS=""
+else
+ COMMIT="51d275cd08c517d5445b568bf9c2f1b4103bec9f"
+ SRC_URI="https://github.com/merbanan/rtl_433/archive/${COMMIT}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
IUSE=""
-DEPEND="net-wireless/rtl-sdr"
+DEPEND="net-wireless/rtl-sdr:="
RDEPEND="${DEPEND}"
diff --git a/net-wireless/uhd/Manifest b/net-wireless/uhd/Manifest
index d161ec5098e4..53bde86a49a4 100644
--- a/net-wireless/uhd/Manifest
+++ b/net-wireless/uhd/Manifest
@@ -1,9 +1,12 @@
AUX uhd-3.10.3.0-tinfo.patch 1680 BLAKE2B 6b31b95c4b63d043e66e5fb41f75b3e73d0e9327d304a211d950bc982209f12425ee716ff2218ceace317ba978ddfe7d0b94961c9feeb0a08dd5454515df7505 SHA512 2c0e6163ddb005b5d02a380033030d111d1eff23f8327aff802e80e449594e48bdd8f2656ffd21c6281233a36ac89d52aa6833e2ea0349276baaef497c463cba
AUX uhd-3.9.6-tinfo.patch 1824 BLAKE2B bbbd4f17e7e24532d49847f7ab476bc2105d4de63346d73cecc77cf422e471a9f8cb6bec6545eac8226da12e66ee6be9088070970408ec2aa48867e817fa0aeb SHA512 66d1b7197b727c1e16469e47fa7392585e68f30e61c23114152f8cb0dab41bb074236f33637bba4e7b03421468e43943ad65b8f148a341666cc407ebc10f5522
DIST EttusResearch-UHD-3.10.3.0.tar.gz 7566274 BLAKE2B 4267f1cb2e30808e54709946c74fbab8612560d38ad32f58745085b2b8c18f1c376e642ff430db476dd829bc0ecfca62faa211fe8800ce8589223f9123a1c608 SHA512 398fdaa29daf4a0d49172afce46ec57a8a96861a8d3262fdd19f78a29dc7d17ae7cb3731639950784420eca50c0a2f0dc8bf83da7be0b63af208b7bf0b382f6b
+DIST EttusResearch-UHD-3.11.0.0.tar.gz 9279808 BLAKE2B b0c083d0ad04b7012b0a7bfa866f26db0e159d6daa2209b56ab8733d8d5288e8ff039aa3e2a27e5d715d08022e175a4e04e65f465ceea5da77dc4339d9ba5951 SHA512 63a50f2736c4ba05e06517cfdcb3eae465f78d506e75df36055d8cdec5259ffeebdd6e7ef352c64dfd6b9ef7fbd0df572515bdedefcabe2006abbecb012b169f
DIST EttusResearch-UHD-3.9.6.tar.gz 2458419 BLAKE2B 39859c9c7a520b91fd0ad11b82a454ae267d0e04bbb3d3f474ab31ea8daac69c03e5abe4ed54f3eec5810d180d00aa700e67b10d989295fdedf73cb198ae324d SHA512 f8e89f67659e9509d90fb63a91c75b7a5fe037821ccd2f33313ac0b20d856cbdc2cab79715f7fca035ba0e28b240c73408d6764cb09b01700c4ddbdcafa71da1
DIST uhd-images_003.009.006-release.zip 26268656 BLAKE2B 7d8c1b0bbd627a0180d5e2de996eb68b1fb995ea2c28ed12fa73705cda680d6304ff013a80cfd4ea5928137c16ac128546bdb9ed3cf932a837faa6dfe0866ffa SHA512 3b07a054583a55424edeb37d3ee70b9bd8c7b6cb4c83a10faf4dd518aa148be17af7cb8b5e4fb7cbb643eae32d7a3295a94d9a0eb031823ccf1f414da0cef631
DIST uhd-images_003.010.003.000-release.zip 57008597 BLAKE2B 9fc93404860956e217c1bac6d3ade6fb5fb160afa6b07e5f4ccf10bf48a932d29068cca8730796797c66f36e9e30bd1d699359fad02b191ba4a224e096bf5fc3 SHA512 a211cc9e40e3ff718150e4fed92a2acd0c5612524e0127b7f5ae0b20242e479cd9a44d4e48e7dfebc1a555555e4d2adea6c0e0517d3e81817d8d50f03cd7e8f7
+DIST uhd_3.11.0.0_images.tar.xz 73634376 BLAKE2B 1d6ff5ec976082e1b3f6db3e8277e277591c7b2a96698c93407099a3543c6787632724d385f319828a9fe8e6ea750e0cd2256cd1cb32aeddda7dfa6ab88ffb3e SHA512 1a665ea58ef545f0a0b643916b822127d55cf81a59c6f447d8006619200d1be69ebebf47261ac318d6ecd1d0e265b9cf4b5da83b082b649496aadd9b4293c6c8
EBUILD uhd-3.10.3.0.ebuild 2043 BLAKE2B 299a8f73dbabe40dafae728cca63636e29ba90b0ee48bec4637bbab4c61668fb2121f6a65808a44696a2c4f8bf5f2bc773d4485a2b6556bc6e7c3e819b5bf1cd SHA512 777d6d6fd40bd74816916dc94e712de0cecc9e5a4275bfff67d69cef63866e9ae75cdaf0ed75bf17591b8667e3f73fda35f513ab13070c40d855b807bc53d93e
+EBUILD uhd-3.11.0.0.ebuild 3902 BLAKE2B 34d21ac5fca3a00b255bb0dbae36d5930416013d79a7544d0c365c0f3cdd6df5a9418cc5a4196968e15b469312522545ce6c360103bfd76191aa6595a777e5fe SHA512 1ee713c893dbf749851df9a4e628504b7a3bd907b3a9f06de3444656e101d63ab6f85a0b201658da3afce3a03389dba027fde92b09076976289694cb091ab498
EBUILD uhd-3.9.6.ebuild 1900 BLAKE2B 99a2bb4b1e3a391408c48222a4ebb0e7a423d48400468993554e127bd3c16a7a5f415f91a8ba8d39d766ff3ee4361e51d89ea580f0114f67af8ba9dfa8084e39 SHA512 38673ebcb6d9acff3be5173dec793fc0a8f3dcc3839c92e80dabcfeae34a5cfbeadd5bd2acb48cbbd5834abe7416ec1d232714d1ec3f91a965bbfe22a9522bec
-MISC metadata.xml 539 BLAKE2B 9cca11848a29f0af91766974dad1fb2edb48aea214c4d24115af5bc2539e15f5351cab70c65fee8477ec7796fb8153b6185b191be9e58e5a983fa8c7e70fe12d SHA512 b5e66134c30244fa689a554543686eac535908aed543eb6179a8c51a98c11d0f1d204518a40e0f79990dba2806b027ea97f6edac382a5bb76fb041231eb61451
+MISC metadata.xml 1159 BLAKE2B 59bc09885a8911e12ceda3558007e33f57bbd5e672540d56d41c1f637bd30166eb0260789fc4d2769a40f9e820fae18641d19ee2c8b204e34c4bc99cc7f6d20a SHA512 2ae758d9366e815bb099c0bf71a526787a810f3911294e0ec6cde4b4c3d924a67028d2c1bb0ef3922dae4c03d4cc5ccb2f1dd44da31ad58f87bd4403f1e2a777
diff --git a/net-wireless/uhd/metadata.xml b/net-wireless/uhd/metadata.xml
index 9e9978797401..c6f847e4feb3 100644
--- a/net-wireless/uhd/metadata.xml
+++ b/net-wireless/uhd/metadata.xml
@@ -16,4 +16,16 @@
<upstream>
<remote-id type="github">EttusResearch/uhd</remote-id>
</upstream>
+ <use>
+ <flag name="b100">support B100 hardware</flag>
+ <flag name="b200">support B200, B210, B200mini, B205mini hardware</flag>
+ <flag name="e300">support E300, E310 hardware</flag>
+ <flag name="mpmd">support N300, N310 hardware</flag>
+ <flag name="octoclock">Octoclock Network Support</flag>
+ <flag name="n230">support N230 harware</flag>
+ <flag name="usrp1">support USRP1 hardware</flag>
+ <flag name="usrp2">support USRP2, N200, N210 hardware</flag>
+ <flag name="utils">utilities needed to list, query, calibrate, or update FPGA/Firmware</flag>
+ <flag name="x300">support X300, X310 hardware</flag>
+ </use>
</pkgmetadata>
diff --git a/net-wireless/uhd/uhd-3.11.0.0.ebuild b/net-wireless/uhd/uhd-3.11.0.0.ebuild
new file mode 100644
index 000000000000..c3489e4e0be5
--- /dev/null
+++ b/net-wireless/uhd/uhd-3.11.0.0.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit versionator python-single-r1 gnome2-utils cmake-utils multilib
+
+DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver"
+HOMEPAGE="https://kb.ettus.com"
+
+image_version=uhd-images_00$(get_version_component_range 1).0$(get_version_component_range 2).00$(get_version_component_range 3).00$(get_version_component_range 4)-release
+SRC_URI="https://github.com/EttusResearch/uhd/archive/release_00$(get_version_component_range 1)_0$(get_version_component_range 2)_00$(get_version_component_range 3)_00$(get_version_component_range 4).tar.gz -> EttusResearch-UHD-${PV}.tar.gz \
+ https://github.com/EttusResearch/uhd/releases/download/release_003_011_000_000/uhd_${PV}_images.tar.xz"
+#https://github.com/EttusResearch/UHD-Mirror/tags
+#http://files.ettus.com/binaries/images/
+
+LICENSE="GPL-3"
+SLOT="0/$(get_version_component_range 1).$(get_version_component_range 2)"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="b100 b200 doc e300 examples mpmd octoclock n230 test usb usrp1 usrp2 +utils x300"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ b100? ( usb )
+ b200? ( usb )
+ usrp1? ( usb )
+ usrp2? ( usb )
+ || ( b100 b200 e300 mpmd n230 usrp1 usrp2 x300 )"
+
+RDEPEND="${PYTHON_DEPS}
+ e300? ( virtual/udev )
+ usb? ( virtual/libusb:1 )
+ dev-libs/boost:=
+ sys-libs/ncurses:0[tinfo]
+"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ dev-python/mako
+ app-arch/unzip
+ app-arch/gzip
+"
+
+PATCHES=( "${FILESDIR}/${PN}-3.10.3.0-tinfo.patch" )
+
+S="${WORKDIR}/uhd-release_00$(get_version_component_range 1)_0$(get_version_component_range 2)_00$(get_version_component_range 3)_00$(get_version_component_range 4)/host"
+
+src_unpack() {
+ unpack EttusResearch-UHD-${PV}.tar.gz
+ mkdir images || die
+ cd images || die
+ unpack uhd_${PV}_images.tar.xz
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ gnome2_environment_reset #534582
+
+ #this may not be needed in 3.4.3 and above, please verify
+ sed -i 's#SET(PKG_LIB_DIR ${PKG_DATA_DIR})#SET(PKG_LIB_DIR ${LIBRARY_DIR}/uhd)#g' CMakeLists.txt || die
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DENABLE_LIBUHD=ON
+ -DENABLE_C_API=ON
+ -DENABLE_LIBERIO=OFF
+ -DENABLE_MAN_PAGES=ON
+ -DENABLE_GPSD=OFF
+ -DENABLE_EXAMPLES="$(usex examples)"
+ -DENABLE_TESTS="$(usex test)"
+ -DENABLE_USB="$(usex usb)"
+ -DENABLE_UTILS="$(usex utils)"
+ -DENABLE_MANUAL="$(usex doc)"
+ -DENABLE_DOXYGEN="$(usex doc)"
+ -DENABLE_B100="$(usex b100)"
+ -DENABLE_B200="$(usex b200)"
+ -DENABLE_E300="$(usex e300)"
+ -DENABLE_USRP1="$(usex usrp1)"
+ -DENABLE_USRP2="$(usex usrp2)"
+ -DENABLE_X300="$(usex x300)"
+ -DENABLE_N230="$(usex n230)"
+ -DENABLE_MPMD="$(usex mpmd)"
+ -DENABLE_OCTOCLOCK="$(usex octoclock)"
+ )
+ cmake-utils_src_configure
+}
+src_install() {
+ cmake-utils_src_install
+ use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
+ if [ "${PV}" != "9999" ]; then
+ rm -rf "${ED}/usr/bin/uhd_images_downloader"
+ rm -rf "${ED}/usr/share/man/man1/uhd_images_downloader.1.gz"
+ fi
+
+ insinto /lib/udev/rules.d/
+ doins "${S}/utils/uhd-usrp.rules"
+
+ rm -rf "${WORKDIR}/images/winusb_driver"
+ if ! use b100; then
+ rm "${WORKDIR}"/images/usrp_b100* || die
+ fi
+ if ! use b200; then
+ rm "${WORKDIR}"/images/usrp_b2[01]* || die
+ fi
+ if ! use e300; then
+ rm "${WORKDIR}"/images/usrp_e3* || die
+ fi
+ if ! use mpmd; then
+ rm "${WORKDIR}"/images/usrp_n310* || die
+ fi
+ if ! use n230; then
+ rm "${WORKDIR}"/images/usrp_n230* || die
+ fi
+ if ! use octoclock; then
+ rm "${WORKDIR}"/images/octoclock* || die
+ fi
+ if ! use usrp1; then
+ rm "${WORKDIR}"/images/usrp1* || die
+ fi
+ if ! use usrp2; then
+ rm "${WORKDIR}"/images/usrp2* || die
+ rm "${WORKDIR}"/images/usrp_n2[01]* || die
+ rm -r "${WORKDIR}"/images/bit || die
+ fi
+ if ! use x300; then
+ rm "${WORKDIR}/"images/usrp_x3* || die
+ fi
+ insinto /usr/share/${PN}
+ doins -r "${WORKDIR}/images"
+}