public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-14 23:09 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-14 23:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6fbbb0bad9f58552873df58c1b66a5558b4ed286
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Fri Jun 14 20:41:44 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jun 14 20:41:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6fbbb0ba

net-wireless/airspyhf: Remove ls from src_prepare

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index 16f619d61..dd34a139a 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -20,7 +20,6 @@ inherit cmake udev
 RDEPEND="${DEPEND}"
 
 src_prepare(){
-	ls
 	sed -i 's@DESTINATION "/etc/udev/rules.d"@DESTINATION "/lib/udev/rules.d"@' "tools/CMakeLists.txt" || die
 
 	cmake_src_prepare


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-14 23:47 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-14 23:47 UTC (permalink / raw
  To: gentoo-commits

commit:     4e4df143c0d6e983954b009c7b06f9a51d96701a
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Fri Jun 14 23:28:46 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Jun 14 23:29:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e4df143

net-wireless/airspyhf: Move inherit to correct spot

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index dd34a139a..0f2054a76 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit cmake udev
+
 DESCRIPTION="User mode driver for Airspy HF+"
 HOMEPAGE="https://airspy.com/airspy-hf-plus/"
 SRC_URI="https://github.com/airspy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
@@ -15,7 +17,6 @@ IUSE="udevrules"
 DEPEND="dev-build/cmake
 	dev-libs/libusb
 	dev-util/pkgconf"
-inherit cmake udev
 
 RDEPEND="${DEPEND}"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-15 15:55 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-15 15:55 UTC (permalink / raw
  To: gentoo-commits

commit:     efb123fd82d49276c1f22ad9e3c63a02e6b95add
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Sat Jun 15 15:17:28 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun 15 15:18:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=efb123fd

net-wireless/airspyhf: use get_udevdir, fix DEPEND issues

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index 0f2054a76..06016562c 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -14,14 +14,15 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 IUSE="udevrules"
-DEPEND="dev-build/cmake
-	dev-libs/libusb
-	dev-util/pkgconf"
+
+DEPEND="dev-libs/libusb"
 
 RDEPEND="${DEPEND}"
 
+BDEPEND="virtual/pkgconfig"
+
 src_prepare(){
-	sed -i 's@DESTINATION "/etc/udev/rules.d"@DESTINATION "/lib/udev/rules.d"@' "tools/CMakeLists.txt" || die
+	sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die
 
 	cmake_src_prepare
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-15 17:37 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-15 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     8ab84ae731e9085d4dfb95e4f82236fb240a70a9
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Sat Jun 15 17:36:29 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun 15 17:36:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ab84ae7

net-wireless/airspyhf: Add missing virtual/udev dep

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index bbcf67f22..1ccb88f4b 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -17,7 +17,9 @@ IUSE="udev"
 
 DEPEND="dev-libs/libusb"
 
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+	udev? ( virtual/udev )
+"
 
 BDEPEND="virtual/pkgconfig"
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-15 17:37 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-15 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     f01d7039ca2d410ba873bd4c6a9d6aeaf05cf232
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Sat Jun 15 17:32:28 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun 15 17:33:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f01d7039

net-wireless/airspyhf: Use global udev flag

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 8 ++++----
 net-wireless/airspyhf/metadata.xml          | 3 ---
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index 06016562c..bbcf67f22 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -13,7 +13,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="udevrules"
+IUSE="udev"
 
 DEPEND="dev-libs/libusb"
 
@@ -29,15 +29,15 @@ src_prepare(){
 
 src_configure(){
 	mycmakeargs+=(
-		-DINSTALL_UDEV_RULES=$(usex udevrules)
+		-DINSTALL_UDEV_RULES=$(usex udev)
 	)
 	cmake_src_configure
 }
 
 pkg_postinst(){
-	udev_reload
+	use udev && udev_reload
 }
 
 pkg_postrm(){
-	udev_reload
+	use udev && udev_reload
 }

diff --git a/net-wireless/airspyhf/metadata.xml b/net-wireless/airspyhf/metadata.xml
index ef1c2a49f..03ea4da0c 100644
--- a/net-wireless/airspyhf/metadata.xml
+++ b/net-wireless/airspyhf/metadata.xml
@@ -5,9 +5,6 @@
 		<email>eli.burch@burchbytes.com</email>
 		<name>Eli Burch</name>
 	</maintainer>
-	<use>
-		<flag name="udevrules">Install udev rules</flag>
-	</use>
 	<upstream>
 		<remote-id type="github">airspy/airspyhf</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/
@ 2024-06-17 21:40 Julien Roy
  0 siblings, 0 replies; 6+ messages in thread
From: Julien Roy @ 2024-06-17 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     d465b6f0014e6d1c50bab3e046f53a3621f2d491
Author:     Eli Burch <eli.burch <AT> burchbytes <DOT> com>
AuthorDate: Mon Jun 17 16:58:44 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Jun 17 16:58:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d465b6f0

net-wireless/airspyhf: Fix patch filename

Signed-off-by: Eli Burch <eli.burch <AT> burchbytes.com>

 net-wireless/airspyhf/airspyhf-1.6.8.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
index d4a3ffb6f..03530b7af 100644
--- a/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
+++ b/net-wireless/airspyhf/airspyhf-1.6.8.ebuild
@@ -23,11 +23,13 @@ RDEPEND="${DEPEND}
 
 BDEPEND="virtual/pkgconfig"
 
+PATCHES=(
+	"${FILESDIR}/airspyhf-1.6.8-remove-static.patch"
+)
+
 src_prepare(){
 	sed -i "s@DESTINATION \"/etc/udev/rules.d\"@DESTINATION \"$(get_udevdir)/rules.d\"@" "tools/CMakeLists.txt" || die
 
-	eapply "${FILESDIR}/static.patch"
-
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-17 21:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 23:47 [gentoo-commits] repo/proj/guru:master commit in: net-wireless/airspyhf/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-06-17 21:40 Julien Roy
2024-06-15 17:37 Julien Roy
2024-06-15 17:37 Julien Roy
2024-06-15 15:55 Julien Roy
2024-06-14 23:09 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox