summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-04-05 16:04:54 -0400
committerRick Farina <zerochaos@gentoo.org>2021-04-05 16:05:36 -0400
commitd2a937664013700e69776a9c5b79627c2ae85de4 (patch)
tree874f777e8c8fb6da8fbaafbde07b9b4f07970e57 /net-wireless/qdmr
parentdev-php/composer: bump to v2.0.12 (diff)
downloadgentoo-d2a937664013700e69776a9c5b79627c2ae85de4.tar.gz
gentoo-d2a937664013700e69776a9c5b79627c2ae85de4.tar.bz2
gentoo-d2a937664013700e69776a9c5b79627c2ae85de4.zip
net-wireless/qdmr: initial ebuild
Package-Manager: Portage-3.0.18, Repoman-3.0.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/metadata.xml11
-rw-r--r--net-wireless/qdmr/qdmr-0.6.4.ebuild33
3 files changed, 45 insertions, 0 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
new file mode 100644
index 000000000000..97f71a1c692f
--- /dev/null
+++ b/net-wireless/qdmr/Manifest
@@ -0,0 +1 @@
+DIST qdmr-0.6.4.tar.gz 3711165 BLAKE2B 06371cd5ee964c3919ab18c272a7ca7f742f697b4a400d7f3e1a1f0081287047cfea29f6b13035409b22aa6cfa220b9383e8fbafb8e6fccd2ea6d4cb867b91e1 SHA512 43fe77f5b77868193d8af908f329730d7391ed44523119079a802dec6dcc0d254049a86943b80215fb2efa75c7d1c0e01a68f6b6986300a35851b479d47e535d
diff --git a/net-wireless/qdmr/metadata.xml b/net-wireless/qdmr/metadata.xml
new file mode 100644
index 000000000000..2bf1ce776204
--- /dev/null
+++ b/net-wireless/qdmr/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">hmatuschek/qdmr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-wireless/qdmr/qdmr-0.6.4.ebuild b/net-wireless/qdmr/qdmr-0.6.4.ebuild
new file mode 100644
index 000000000000..fb3bf2b398ed
--- /dev/null
+++ b/net-wireless/qdmr/qdmr-0.6.4.ebuild
@@ -0,0 +1,33 @@
+# 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/"
+SRC_URI="https://github.com/hmatuschek/qdmr/archive/refs/tags/v0.6.4.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ 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
+"
+RDEPEND="${DEPEND}"
+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
+}