commit: 6bce09ad1f3ac65679428ae402a6c6425ed412c6
Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 10 20:19:40 2020 +0000
Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Fri Apr 10 20:19:54 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bce09ad
net-wireless/uhd: fix a ton of QA issues
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
net-wireless/uhd/{uhd-3.15.0.0.ebuild => uhd-3.15.0.0-r1.ebuild} | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net-wireless/uhd/uhd-3.15.0.0.ebuild
b/net-wireless/uhd/uhd-3.15.0.0-r1.ebuild
similarity index 93%
rename from net-wireless/uhd/uhd-3.15.0.0.ebuild
rename to net-wireless/uhd/uhd-3.15.0.0-r1.ebuild
index aa3efa300c7..0bc67971a97 100644
--- a/net-wireless/uhd/uhd-3.15.0.0.ebuild
+++ b/net-wireless/uhd/uhd-3.15.0.0-r1.ebuild
@@ -67,6 +67,9 @@ src_prepare() {
#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
+
+ #rpath is set for apple and no one else, just remove the conditional
+ sed -i -e '/if(APPLE)/d' -e '/endif(APPLE)/d' CMakeLists.txt || die
}
src_configure() {
@@ -92,11 +95,14 @@ src_configure() {
-DENABLE_N230="$(usex n230)"
-DENABLE_MPMD="$(usex mpmd)"
-DENABLE_OCTOCLOCK="$(usex octoclock)"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ -DPKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
+ python_optimize
use utils && python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
if [ "${PV}" != "9999" ]; then
rm -rf "${ED}/usr/bin/uhd_images_downloader"