From 5359200eb15a6971057f9d072426be01a78d1ebd Mon Sep 17 00:00:00 2001 From: Rick Farina Date: Tue, 28 Sep 2021 12:07:09 -0400 Subject: 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 --- net-wireless/qdmr/Manifest | 2 +- net-wireless/qdmr/qdmr-0.8.0.ebuild | 41 ------------------------------- net-wireless/qdmr/qdmr-0.8.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++ net-wireless/qdmr/qdmr-9999.ebuild | 10 +++++++- 4 files changed, 59 insertions(+), 43 deletions(-) delete mode 100644 net-wireless/qdmr/qdmr-0.8.0.ebuild create mode 100644 net-wireless/qdmr/qdmr-0.8.1.ebuild (limited to 'net-wireless/qdmr') 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.0.ebuild deleted file mode 100644 index ae09930cdab3..000000000000 --- a/net-wireless/qdmr/qdmr-0.8.0.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake udev - -DESCRIPTION="GUI application for configuring and programming cheap DMR radios" -HOMEPAGE="https://dm3mat.darc.de/qdmr/" -if [ "${PV}" = "9999" ]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hmatuschek/qdmr.git" -else - SRC_URI="https://github.com/hmatuschek/qdmr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="GPL-3+" -SLOT="0" - -RDEPEND=" - dev-qt/designer:5 - dev-qt/qttest:5 - dev-qt/qtwidgets:5 - dev-qt/qtgui:5 - dev-qt/qtcore:5 - dev-qt/qtnetwork:5 - dev-qt/qtpositioning:5 - dev-qt/qtserialport:5 - virtual/libusb:1 -" -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5" -BDEPEND="" - -src_prepare() { - #no devil perms - sed -i 's#666#660#' dist/99-qdmr.rules - sed -i "s#/etc/udev/rules.d/#$(get_udevdir)/rules.d#" lib/CMakeLists.txt - cmake_src_prepare -} diff --git a/net-wireless/qdmr/qdmr-0.8.1.ebuild b/net-wireless/qdmr/qdmr-0.8.1.ebuild new file mode 100644 index 000000000000..21f42f59eb72 --- /dev/null +++ b/net-wireless/qdmr/qdmr-0.8.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake udev linux-info + +DESCRIPTION="GUI application for configuring and programming cheap DMR radios" +HOMEPAGE="https://dm3mat.darc.de/qdmr/" +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hmatuschek/qdmr.git" +else + SRC_URI="https://github.com/hmatuschek/qdmr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +RDEPEND=" + dev-qt/designer:5 + dev-qt/qttest:5 + dev-qt/qtwidgets:5 + dev-qt/qtgui:5 + dev-qt/qtcore:5 + dev-qt/qtnetwork:5 + dev-qt/qtpositioning:5 + dev-qt/qtserialport:5 + virtual/libusb:1 +" +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 + sed -i "s#/etc/udev/rules.d/#$(get_udevdir)/rules.d#" lib/CMakeLists.txt + cmake_src_prepare +} 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 -- cgit v1.2.3-65-gdbad