summaryrefslogtreecommitdiff
path: root/net-wireless/qdmr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-30 20:59:34 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-30 20:59:34 +0000
commit182063dd85a03f2086258946276c8967945ffe95 (patch)
tree94440d3476f11273b5072685640990ec95042468 /net-wireless/qdmr
parent268511f85b0606dd23fda1991345568dd3e1976b (diff)
gentoo auto-resync : 30:01:2023 - 20:59:33
Diffstat (limited to 'net-wireless/qdmr')
-rw-r--r--net-wireless/qdmr/Manifest2
-rw-r--r--net-wireless/qdmr/qdmr-0.11.2.ebuild67
2 files changed, 69 insertions, 0 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest
index 330456c07e9e..0e876096abdb 100644
--- a/net-wireless/qdmr/Manifest
+++ b/net-wireless/qdmr/Manifest
@@ -2,8 +2,10 @@ AUX qdmr-0.10.2-musl.patch 1192 BLAKE2B 8426b283ca468f16af35a36efe9dd5a73fff1caa
DIST qdmr-0.10.2.tar.gz 5903169 BLAKE2B 1ef4e9846dd4206d1eae3cfb5562fccec24b156bfd77a82e801e8d1194b969bbda0f14e99c1b6505d18abba4a79d87c5eee2232110969faf4c078c1fe781a8ee SHA512 96a3fd22be2b8f77a4925cfb426de12a55b29ee73eaf78869091fd0ecd36d2df51195f2ca70689857e190767c4651d3d4915a0b7aa9f5c6e429f46a53edb991c
DIST qdmr-0.10.4.tar.gz 6013877 BLAKE2B 32da2984620e162e049f4017e29bff7d500f293fa6125246fdd2e7640ed9dd1e0e066c03297c365b9b5dc2e76dee1e1511fed327690c9a611fd7aa1abc26f988 SHA512 4ba75274bcaa4a7b8887edf7a1725863ee4dc00730d9386673b5c149e7ac30a32f06b7341ebd327cae337eac7a445999a17606cbbb22734216df2c14cb03c322
DIST qdmr-0.11.1.tar.gz 6385924 BLAKE2B 09cfea153b215a7c7fbd52ef3be8295a5728d363afc83364f29215ce94bce2fd6927b15b11a1d1e1ed84b9389c9478a403cf33884690415a27867d68ee336585 SHA512 42b65c7543c64ad9ee792742aa358b96b1b0be8fc9fb33671ae242ffb3a88676ada85cb8c8bee6567765513d75521de5ce77ed8b5aedd74d4e484417d866fe6c
+DIST qdmr-0.11.2.tar.gz 6391759 BLAKE2B d45c934a0bad8c92a10a1f183007310137c8ad04a95f5f1471bac2a54f7f33e3af44b386e4ff2803a42934b575ce2e414bb6090a7e474e7aa1ac82b1d722598e SHA512 cd8dfc9eb9d6efad08efcaaa7b6e2ae61823982bd2ffa7bc41826c9fea3c21bd63f5a2114dc63d88e01a0c56f2fb615cbe0ddef62b87deebb798beda937de5d0
EBUILD qdmr-0.10.2.ebuild 1410 BLAKE2B d7ea821a6b73d7b67d35fa73d3e25ac43d3e9501cd1deedf16544db9235d48f0ed98cd5af5e12866f2007445be504713d2d089fb6cd65217897525cc4ce8e353 SHA512 96dc6791dc21540ce432361a5b5f854c2d0f9339ea8c7eada3338e2e232ee6c741bbb221beddc4f7f4e0eae055b0303c42ecc83522fd6a12018c42f43be2cb24
EBUILD qdmr-0.10.4.ebuild 1400 BLAKE2B 85bac426629654ef0498dc55a8ccc1ecd83ab62add86d8ba491cd9f3b1e5b00e6ab5b9b0312e3759100ddcf466ea0d261053c97ad8e7b90fd7342af774269729 SHA512 33b1b94975b754435485ec336eb66f55a9a85663645d9d476f26bdbb9057b72760419f9f772c2a8355d29201caf6133760709013e3baaab7651507e16bbcdc8c
EBUILD qdmr-0.11.1.ebuild 1490 BLAKE2B ed47bcbebe070e66e34fe07d73449f1244d437a73b49b0963a8a28ba8eefd704d1197a960641105ef62d086e0f4701b1801dbd9045828f2a4a24448caa9f3618 SHA512 dfaa8102e2d7e288d4d74f2ea2b63c2aab3f59bbd37d8f99549b3319a8ebeea0e358c862f734deeb07408302370f34e50df3357090f2fa0edbc71a140331d765
+EBUILD qdmr-0.11.2.ebuild 1490 BLAKE2B ed47bcbebe070e66e34fe07d73449f1244d437a73b49b0963a8a28ba8eefd704d1197a960641105ef62d086e0f4701b1801dbd9045828f2a4a24448caa9f3618 SHA512 dfaa8102e2d7e288d4d74f2ea2b63c2aab3f59bbd37d8f99549b3319a8ebeea0e358c862f734deeb07408302370f34e50df3357090f2fa0edbc71a140331d765
EBUILD qdmr-9999.ebuild 1490 BLAKE2B ed47bcbebe070e66e34fe07d73449f1244d437a73b49b0963a8a28ba8eefd704d1197a960641105ef62d086e0f4701b1801dbd9045828f2a4a24448caa9f3618 SHA512 dfaa8102e2d7e288d4d74f2ea2b63c2aab3f59bbd37d8f99549b3319a8ebeea0e358c862f734deeb07408302370f34e50df3357090f2fa0edbc71a140331d765
MISC metadata.xml 427 BLAKE2B 0435094250074437ba1f88146a4a0b7d109b473311316840f498c5c7e0f7386b17e6f2bddcda187e586bb766b81374296d27c8cf273e3baeb7d2c1d65dfd359e SHA512 9a6aa1424549762fab24407eace1ebac36564e46dbcdf17dbe7ba3853a552763dbf765c67ce20e6a536ce1ee063ac1932bc1426a1061f697c6f0bc462a017125
diff --git a/net-wireless/qdmr/qdmr-0.11.2.ebuild b/net-wireless/qdmr/qdmr-0.11.2.ebuild
new file mode 100644
index 000000000000..1ba9c2ff8c36
--- /dev/null
+++ b/net-wireless/qdmr/qdmr-0.11.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 2021-2023 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
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ dev-cpp/yaml-cpp:=
+ 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/designer:5
+ test? ( dev-qt/qttest:5 )
+"
+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() {
+ sed -i "s#/etc/udev/rules.d/#$(get_udevdir)/rules.d#" lib/CMakeLists.txt
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTS="$(usex test)"
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}