summaryrefslogtreecommitdiff
path: root/net-wireless/qdmr
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/qdmr')
-rw-r--r--net-wireless/qdmr/Manifest4
-rw-r--r--net-wireless/qdmr/qdmr-0.10.0.ebuild52
-rw-r--r--net-wireless/qdmr/qdmr-9999.ebuild4
3 files changed, 57 insertions, 3 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index e97b06dc4866..5eff176c9e04 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -1,4 +1,6 @@
+DIST qdmr-0.10.0.tar.gz 5819245 BLAKE2B 5beb4cb876742911d00f34953d30c6e26ba41db3e6bf653bbde57d003fee712e2d5652cf9fba15332629491f8b3c43da7408094e187d47532976c088dc38046d SHA512 1764b6af3e90744ebe8300fd8e46038bca0ff1ba6ac0789a2b947ed9310efa8ca867a10a50f12a41cb150728a7b88c129df03e806d95b48533356b8142e2ada9
DIST qdmr-0.9.1.tar.gz 5629155 BLAKE2B 7ffa285c784af1416361c8c2fd74c976c490854d24f348983a0a8c294f8213bfa48a768c9148d40d3e71b7347b908960ed6dbf2ca54bfae155414e9a2254c32d SHA512 7df32462fd7555c791fe643f2632f218aef85614bee442422bf542910cb3c48b0d8606fc1797bbd02b16c7c30825cad51774bd4bd2ed1d89446d672b874dd2b1
+EBUILD qdmr-0.10.0.ebuild 1338 BLAKE2B b39f547f3d89dc38f369731545f2512cb0c82cad3783e6db12e2567b2aaf48a22a614df58e2039c387ec72a0103d40ac6202b7598af0496309f3482c140c5423 SHA512 abb0c74ab4736b8812d67e06d9318c0dae8debdbe45327b3f5804566929b6bd8346632080ece67a4ced62fc9132dc7a2d281778e1de7cdb87016030b204e2388
EBUILD qdmr-0.9.1.ebuild 1331 BLAKE2B e8fdd54df680b737bfe10ce343ecb044ffe798685cc521ad89be0ebec2242c3c0a5ee2a11d00dff87784c9a71f2ab71785536c6f654d5e253a63b5d4389d0898 SHA512 529fe241cee0626936f237e709ebaf5214f561f5306648e3340ab81e7087374024a14616093962324f48e51520a1372e511b00a6e2e35d3e6397c93b046ddd37
-EBUILD qdmr-9999.ebuild 1333 BLAKE2B ca4c64386d6deb373b18ad7b13c73c28a34af22e0205d5a0bafca86f9e81db144d1808e2136147076cee62a34f0d04cb3b7176b3a04e8bb811d5321a00a3c04a SHA512 d75c019dcb65af2bc49ea8d380a646749e2d36e942549d5b852af2fcaff1512158efd2767f1addd351d1ebbcfb643222e26b09920ff049354ef0a7eee0ae31db
+EBUILD qdmr-9999.ebuild 1338 BLAKE2B b39f547f3d89dc38f369731545f2512cb0c82cad3783e6db12e2567b2aaf48a22a614df58e2039c387ec72a0103d40ac6202b7598af0496309f3482c140c5423 SHA512 abb0c74ab4736b8812d67e06d9318c0dae8debdbe45327b3f5804566929b6bd8346632080ece67a4ced62fc9132dc7a2d281778e1de7cdb87016030b204e2388
MISC metadata.xml 319 BLAKE2B 1ce9d4701527c9ba9f8d990413aa07b22bea984360611162da0baa235a71fffcd16fe13cd5ce6c8f4192e9533e0886358f40890756d9220cae5a6d6af7e903fb SHA512 b59a65526d21586cc142876a59fea232d8d8e34cc9faf85a05b17b45ea3e98383e3e4be92d639e489ec5c62c74c53253a4de26adf4151b877135c754cb08de70
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..f46aebabe549 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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake udev linux-info