summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-09-28 12:07:09 -0400
committerRick Farina <zerochaos@gentoo.org>2021-09-28 12:07:19 -0400
commit5359200eb15a6971057f9d072426be01a78d1ebd (patch)
tree37d0bc71df0db3f6f2276a54eac8fb85cafe72aa /net-wireless/qdmr
parentdev-qt/qtwayland: Drop 5.15.2-r12 (diff)
downloadgentoo-5359200eb15a6971057f9d072426be01a78d1ebd.tar.gz
gentoo-5359200eb15a6971057f9d072426be01a78d1ebd.tar.bz2
gentoo-5359200eb15a6971057f9d072426be01a78d1ebd.zip
net-wireless/qdmr: bump
add some config warnings as suggested by Anarchy Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/qdmr')
-rw-r--r--net-wireless/qdmr/Manifest2
-rw-r--r--net-wireless/qdmr/qdmr-0.8.1.ebuild (renamed from net-wireless/qdmr/qdmr-0.8.0.ebuild)10
-rw-r--r--net-wireless/qdmr/qdmr-9999.ebuild10
3 files changed, 19 insertions, 3 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index ea4483787daf..a00474802bf8 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -1 +1 @@
-DIST qdmr-0.8.0.tar.gz 3858103 BLAKE2B 1e3e16854ae12b4ae7d1b484c03ee6bea16b06d4b7b8619b084b93216fdafc0b5f9736a32f8b195b73fabc04503a0c3c0f874f4ec2ed81bd2cf564ae6cf4525f SHA512 1964981e77e738215abf3459ccaf46e7b0207f31a8e315b4d36f902e722472b1e37348a87e0cc724294df7a843244b15096b591722490b9955da9a27a8843c79
+DIST qdmr-0.8.1.tar.gz 3870631 BLAKE2B 3be78a398a41cb105abac07b2a3c3ddaf0a5e51b5af855860c5ea06a407447d71ae89d4f3be5d46ba8fd50c38baec42663977373c643813f4db193ab034cfb88 SHA512 068eaad49393dca4384146b5254342d57921fd2e3f972057dd0f6abc1f8ce1412ae544ab09f50ce0ffa50f48f7fb2145fc36e82c2c8f9cf534fedb60e947130d
diff --git a/net-wireless/qdmr/qdmr-0.8.0.ebuild b/net-wireless/qdmr/qdmr-0.8.1.ebuild
index ae09930cdab3..21f42f59eb72 100644
--- a/net-wireless/qdmr/qdmr-0.8.0.ebuild
+++ b/net-wireless/qdmr/qdmr-0.8.1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake udev
+inherit cmake udev linux-info
DESCRIPTION="GUI application for configuring and programming cheap DMR radios"
HOMEPAGE="https://dm3mat.darc.de/qdmr/"
@@ -33,6 +33,14 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
BDEPEND=""
+pkg_setup() {
+ CONFIG_CHECK="~USB_ACM"
+ WARNING_USB_ACM="Some radios require CONFIG_USB_ACM to work, you may need to enable this driver to talk to your radio"
+ CONFIG_CHECK="~USB_SERIAL"
+ WARNING_USB_SERIAL="Some radios require CONFIG_USB_SERIAL to work, you may need to enable this driver to talk to your radio"
+ check_extra_config
+}
+
src_prepare() {
#no devil perms
sed -i 's#666#660#' dist/99-qdmr.rules
diff --git a/net-wireless/qdmr/qdmr-9999.ebuild b/net-wireless/qdmr/qdmr-9999.ebuild
index ae09930cdab3..21f42f59eb72 100644
--- a/net-wireless/qdmr/qdmr-9999.ebuild
+++ b/net-wireless/qdmr/qdmr-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake udev
+inherit cmake udev linux-info
DESCRIPTION="GUI application for configuring and programming cheap DMR radios"
HOMEPAGE="https://dm3mat.darc.de/qdmr/"
@@ -33,6 +33,14 @@ DEPEND="${RDEPEND}
dev-qt/linguist-tools:5"
BDEPEND=""
+pkg_setup() {
+ CONFIG_CHECK="~USB_ACM"
+ WARNING_USB_ACM="Some radios require CONFIG_USB_ACM to work, you may need to enable this driver to talk to your radio"
+ CONFIG_CHECK="~USB_SERIAL"
+ WARNING_USB_SERIAL="Some radios require CONFIG_USB_SERIAL to work, you may need to enable this driver to talk to your radio"
+ check_extra_config
+}
+
src_prepare() {
#no devil perms
sed -i 's#666#660#' dist/99-qdmr.rules