From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DFE95158094 for ; Sun, 11 Sep 2022 18:18:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D336E0837; Sun, 11 Sep 2022 18:18:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 052AFE0837 for ; Sun, 11 Sep 2022 18:18:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3AD1D335DE9 for ; Sun, 11 Sep 2022 18:18:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5A74599 for ; Sun, 11 Sep 2022 18:18:40 +0000 (UTC) From: "Rick Farina" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rick Farina" Message-ID: <1662920310.823f0b1076b5313d86cee929c0c7770beaf60d42.zerochaos@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/qdmr/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/qdmr/Manifest net-wireless/qdmr/qdmr-0.10.3.ebuild X-VCS-Directories: net-wireless/qdmr/ X-VCS-Committer: zerochaos X-VCS-Committer-Name: Rick Farina X-VCS-Revision: 823f0b1076b5313d86cee929c0c7770beaf60d42 X-VCS-Branch: master Date: Sun, 11 Sep 2022 18:18:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 255820cc-8d18-4672-8e7e-b11717cf4d74 X-Archives-Hash: 8536691eba322013e0f9b9c3796b6672 commit: 823f0b1076b5313d86cee929c0c7770beaf60d42 Author: Rick Farina gentoo org> AuthorDate: Sun Sep 11 18:17:27 2022 +0000 Commit: Rick Farina gentoo org> CommitDate: Sun Sep 11 18:18:30 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=823f0b10 net-wireless/qdmr: add 0.10.3 Signed-off-by: Rick Farina gentoo.org> net-wireless/qdmr/Manifest | 1 + net-wireless/qdmr/qdmr-0.10.3.ebuild | 59 ++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) 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 +}