summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2022-01-06 10:31:59 -0500
committerRick Farina <zerochaos@gentoo.org>2022-01-06 10:31:59 -0500
commit40e0de6fb65c2aff1f29ada94af7376a311a3018 (patch)
tree4755e9132fa0fae50cf2ce6b9d69092a3f823c80 /net-wireless/qdmr
parentnet-vpn/tor: version bumps to 0.4.6.9 and 0.4.7.3_alpha (diff)
downloadgentoo-40e0de6fb65c2aff1f29ada94af7376a311a3018.tar.gz
gentoo-40e0de6fb65c2aff1f29ada94af7376a311a3018.tar.bz2
gentoo-40e0de6fb65c2aff1f29ada94af7376a311a3018.zip
net-wireless/qdmr: add 0.10.0
eapi bump to 8 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/qdmr')
-rw-r--r--net-wireless/qdmr/Manifest1
-rw-r--r--net-wireless/qdmr/qdmr-0.10.0.ebuild52
-rw-r--r--net-wireless/qdmr/qdmr-9999.ebuild4
3 files changed, 55 insertions, 2 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index fe86c25eb24f..1299d849372d 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -1 +1,2 @@
+DIST qdmr-0.10.0.tar.gz 5819245 BLAKE2B 5beb4cb876742911d00f34953d30c6e26ba41db3e6bf653bbde57d003fee712e2d5652cf9fba15332629491f8b3c43da7408094e187d47532976c088dc38046d SHA512 1764b6af3e90744ebe8300fd8e46038bca0ff1ba6ac0789a2b947ed9310efa8ca867a10a50f12a41cb150728a7b88c129df03e806d95b48533356b8142e2ada9
DIST qdmr-0.9.1.tar.gz 5629155 BLAKE2B 7ffa285c784af1416361c8c2fd74c976c490854d24f348983a0a8c294f8213bfa48a768c9148d40d3e71b7347b908960ed6dbf2ca54bfae155414e9a2254c32d SHA512 7df32462fd7555c791fe643f2632f218aef85614bee442422bf542910cb3c48b0d8606fc1797bbd02b16c7c30825cad51774bd4bd2ed1d89446d672b874dd2b1
diff --git a/net-wireless/qdmr/qdmr-0.10.0.ebuild b/net-wireless/qdmr/qdmr-0.10.0.ebuild
new file mode 100644
index 000000000000..f46aebabe549
--- /dev/null
+++ b/net-wireless/qdmr/qdmr-0.10.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+ MY_PV="${PV/_/-}"
+ SRC_URI="https://github.com/hmatuschek/qdmr/archive/refs/tags/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${MY_PV}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ dev-cpp/yaml-cpp:=
+ 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 d80ff7599869..a5d1f8754844 100644
--- a/net-wireless/qdmr/qdmr-9999.ebuild
+++ b/net-wireless/qdmr/qdmr-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake udev linux-info