Gentoo Archives: gentoo-commits

From: Rick Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libhackrf/
Date: Fri, 30 Sep 2022 13:53:29
Message-Id: 1664546002.47d312a25cc0d8c6917787a41a37c4e73d7d0eab.zerochaos@gentoo
1 commit: 47d312a25cc0d8c6917787a41a37c4e73d7d0eab
2 Author: Rick Farina <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 13:51:51 2022 +0000
4 Commit: Rick Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 13:53:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47d312a2
7
8 net-libs/libhackrf: build only shared lib (no-op)
9
10 So, this actually does nothing, because the applied patch ALSO builds
11 only shared libs. That said, it's the first step toward not needing the
12 patch and I don't want to forget later when/if upstream fixes their bug
13 which won't allow install for only shared libs.
14
15 Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>
16
17 net-libs/libhackrf/libhackrf-2022.09.1.ebuild | 4 ++++
18 net-libs/libhackrf/libhackrf-9999.ebuild | 4 ++++
19 2 files changed, 8 insertions(+)
20
21 diff --git a/net-libs/libhackrf/libhackrf-2022.09.1.ebuild b/net-libs/libhackrf/libhackrf-2022.09.1.ebuild
22 index 586e9f4bd1ec..126023d3e828 100644
23 --- a/net-libs/libhackrf/libhackrf-2022.09.1.ebuild
24 +++ b/net-libs/libhackrf/libhackrf-2022.09.1.ebuild
25 @@ -42,6 +42,10 @@ src_configure() {
26 cmake_src_configure
27 }
28
29 +src_compile() {
30 + cmake_build hackrf
31 +}
32 +
33 pkg_postinst() {
34 if use udev; then
35 einfo "Users in the usb group can use hackrf."
36
37 diff --git a/net-libs/libhackrf/libhackrf-9999.ebuild b/net-libs/libhackrf/libhackrf-9999.ebuild
38 index 586e9f4bd1ec..126023d3e828 100644
39 --- a/net-libs/libhackrf/libhackrf-9999.ebuild
40 +++ b/net-libs/libhackrf/libhackrf-9999.ebuild
41 @@ -42,6 +42,10 @@ src_configure() {
42 cmake_src_configure
43 }
44
45 +src_compile() {
46 + cmake_build hackrf
47 +}
48 +
49 pkg_postinst() {
50 if use udev; then
51 einfo "Users in the usb group can use hackrf."