summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-04-29 10:18:05 -0400
committerRick Farina <zerochaos@gentoo.org>2021-04-29 10:18:23 -0400
commitd7d78201f7c19bd7581b328313f78ab4b7c81af0 (patch)
tree1079ce8f927699c7b48ddee04181bab3e8421ac2 /net-wireless
parentsci-mathematics/ginac: bump to 1.8.0 (diff)
downloadgentoo-d7d78201f7c19bd7581b328313f78ab4b7c81af0.tar.gz
gentoo-d7d78201f7c19bd7581b328313f78ab4b7c81af0.tar.bz2
gentoo-d7d78201f7c19bd7581b328313f78ab4b7c81af0.zip
net-wireless/qdmr: bump
updates for anytone 868 support Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/qdmr/Manifest2
-rw-r--r--net-wireless/qdmr/qdmr-0.7.2.ebuild (renamed from net-wireless/qdmr/qdmr-0.7.0.ebuild)9
-rw-r--r--net-wireless/qdmr/qdmr-9999.ebuild41
3 files changed, 49 insertions, 3 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index 6f48f497ace4..78bddfb1ef33 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -1 +1 @@
-DIST qdmr-0.7.0.tar.gz 3743078 BLAKE2B 779329fcf8f091f237cdb851e03359c9a4679f687f3d9e995ee41869ce38b8f56baadd58bcba302a7f4c43ad76663946c90ebcb5b3bb1e01f94fa5bb6b2e8929 SHA512 d585e4331c267ff2d25de4e66ecc6f51b57190ab493a18699e40a870e5db07342183ce947b2b063a36a38fc7d122aaa174ebe3fd0695ea56dcde7f707ee0dfc5
+DIST qdmr-0.7.2.tar.gz 3749310 BLAKE2B 31df190a4054c3314e25d40d8eb494664871dd551302227e90bfda13d7270ba66dc6c8ecd2b852f780894c601f57b91988e4e3fae6dba1a43c98bedbba82f703 SHA512 68df43f54045794c4d1c0bc90dc4680fe1bac0078d2092a4267d6e24caaf3e1207f9a1fe78b95360b872dd0010c38b7580502dd5bb00d17e5a2ec45ff906265d
diff --git a/net-wireless/qdmr/qdmr-0.7.0.ebuild b/net-wireless/qdmr/qdmr-0.7.2.ebuild
index 3ac2b78f8923..ae09930cdab3 100644
--- a/net-wireless/qdmr/qdmr-0.7.0.ebuild
+++ b/net-wireless/qdmr/qdmr-0.7.2.ebuild
@@ -7,11 +7,16 @@ inherit cmake udev
DESCRIPTION="GUI application for configuring and programming cheap DMR radios"
HOMEPAGE="https://dm3mat.darc.de/qdmr/"
-SRC_URI="https://github.com/hmatuschek/qdmr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+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"
-KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-qt/designer:5
diff --git a/net-wireless/qdmr/qdmr-9999.ebuild b/net-wireless/qdmr/qdmr-9999.ebuild
new file mode 100644
index 000000000000..ae09930cdab3
--- /dev/null
+++ b/net-wireless/qdmr/qdmr-9999.ebuild
@@ -0,0 +1,41 @@
+# 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
+}