diff options
author | Rick Farina <zerochaos@gentoo.org> | 2021-10-04 12:45:00 -0400 |
---|---|---|
committer | Rick Farina <zerochaos@gentoo.org> | 2021-10-04 12:45:30 -0400 |
commit | eb8c8ba78b79aef423dcd9439076a463bda60d0e (patch) | |
tree | 7b46558cd9b995bb2b962dacec785ace179f939e /net-wireless | |
parent | sys-apps/haveged: version bump 1.9.15 (diff) | |
download | gentoo-eb8c8ba78b79aef423dcd9439076a463bda60d0e.tar.gz gentoo-eb8c8ba78b79aef423dcd9439076a463bda60d0e.tar.bz2 gentoo-eb8c8ba78b79aef423dcd9439076a463bda60d0e.zip |
net-wireless/qdmr: stabilize 0.8.1
add 0.9.0_alpha2 for testing
Package-Manager: Portage-3.0.26, Repoman-3.0.3
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/qdmr/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/qdmr/qdmr-0.8.1.ebuild | 2 | ||||
-rw-r--r-- | net-wireless/qdmr/qdmr-0.9.0_alpha2.ebuild | 52 |
3 files changed, 54 insertions, 1 deletions
diff --git a/net-wireless/qdmr/Manifest b/net-wireless/qdmr/Manifest index a00474802bf8..3687793b63dd 100644 --- a/net-wireless/qdmr/Manifest +++ b/net-wireless/qdmr/Manifest @@ -1 +1,2 @@ DIST qdmr-0.8.1.tar.gz 3870631 BLAKE2B 3be78a398a41cb105abac07b2a3c3ddaf0a5e51b5af855860c5ea06a407447d71ae89d4f3be5d46ba8fd50c38baec42663977373c643813f4db193ab034cfb88 SHA512 068eaad49393dca4384146b5254342d57921fd2e3f972057dd0f6abc1f8ce1412ae544ab09f50ce0ffa50f48f7fb2145fc36e82c2c8f9cf534fedb60e947130d +DIST qdmr-0.9.0_alpha2.tar.gz 5560663 BLAKE2B dfbc09001990ed7b464ea7f58e8528d9c5c3ec890cdb8d0859a7f79f3cf2567b9c6fbaa81cf0fc7474320e200f1de98807c2f5232261261fd3f9950723ab6e70 SHA512 51c31ea3985d9e22437f5e4543633f4b0c866e0875152c65fc3dba429a650c013bd3b81425d373768a4e26783ccffd7339430087c1f0a3a756b041c0bd87ed6f diff --git a/net-wireless/qdmr/qdmr-0.8.1.ebuild b/net-wireless/qdmr/qdmr-0.8.1.ebuild index 21f42f59eb72..c17d694d921a 100644 --- a/net-wireless/qdmr/qdmr-0.8.1.ebuild +++ b/net-wireless/qdmr/qdmr-0.8.1.ebuild @@ -12,7 +12,7 @@ if [ "${PV}" = "9999" ]; then 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" + KEYWORDS="amd64 x86" fi LICENSE="GPL-3+" diff --git a/net-wireless/qdmr/qdmr-0.9.0_alpha2.ebuild b/net-wireless/qdmr/qdmr-0.9.0_alpha2.ebuild new file mode 100644 index 000000000000..d80ff7599869 --- /dev/null +++ b/net-wireless/qdmr/qdmr-0.9.0_alpha2.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |