summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2022-09-11 14:17:27 -0400
committerRick Farina <zerochaos@gentoo.org>2022-09-11 14:18:30 -0400
commit823f0b1076b5313d86cee929c0c7770beaf60d42 (patch)
tree48c3eb37707ed74f3cc6b19ffc05af8b6a9a609e /net-wireless/qdmr
parentnet-wireless/qdmr: drop 0.9.1 (diff)
downloadgentoo-823f0b1076b5313d86cee929c0c7770beaf60d42.tar.gz
gentoo-823f0b1076b5313d86cee929c0c7770beaf60d42.tar.bz2
gentoo-823f0b1076b5313d86cee929c0c7770beaf60d42.zip
net-wireless/qdmr: add 0.10.3
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.3.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index 3482c6dc382a..f06f1b38b045 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -1 +1,2 @@
DIST qdmr-0.10.2.tar.gz 5903169 BLAKE2B 1ef4e9846dd4206d1eae3cfb5562fccec24b156bfd77a82e801e8d1194b969bbda0f14e99c1b6505d18abba4a79d87c5eee2232110969faf4c078c1fe781a8ee SHA512 96a3fd22be2b8f77a4925cfb426de12a55b29ee73eaf78869091fd0ecd36d2df51195f2ca70689857e190767c4651d3d4915a0b7aa9f5c6e429f46a53edb991c
+DIST qdmr-0.10.3.tar.gz 5918281 BLAKE2B cbbb3e7d60f8114e2823186a1576ad384a7ce89c36b90d9352b02c60cc8dc436c0e94b1c69057cd0ef1ca45c3e51a6a40d32c1dc24bce8797597dea9ad5f780d SHA512 ab52c7169c39b10e7ea298473bc1e7aaca5141ad300df96a6e4b2da5776eb16a7679e961c72d9e16277b6d9aa39764b565ca252b146aba3eb8ce705568883f1f
diff --git a/net-wireless/qdmr/qdmr-0.10.3.ebuild b/net-wireless/qdmr/qdmr-0.10.3.ebuild
new file mode 100644
index 000000000000..2408bd6b897c
--- /dev/null
+++ b/net-wireless/qdmr/qdmr-0.10.3.ebuild
@@ -0,0 +1,59 @@
+# 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}"
+BDEPEND="dev-qt/linguist-tools:5"
+
+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
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}