Gentoo Archives: gentoo-commits

From: Richard Freeman <rich0@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/js8call/, media-radio/js8call/files/
Date: Mon, 23 Dec 2019 02:40:00
Message-Id: 1577068770.f1daa4d7f4e7b3965086d3826d84a8bef483c3c2.rich0@gentoo
1 commit: f1daa4d7f4e7b3965086d3826d84a8bef483c3c2
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 02:39:09 2019 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 02:39:30 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1daa4d7
7
8 media-radio/js8call: bump
9
10 Requires patch for current release hamlib. May need to revist for hamlib-3.4.
11 Dep adjusted anticipating this until the new version can be released.
12
13 Package-Manager: Portage-2.3.79, Repoman-2.3.16
14 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
15
16 media-radio/js8call/Manifest | 1 +
17 .../js8call/files/js8call-2.1.0-hamlib-type.patch | 27 ++++++++++++++
18 media-radio/js8call/js8call-2.1.0.ebuild | 41 ++++++++++++++++++++++
19 3 files changed, 69 insertions(+)
20
21 diff --git a/media-radio/js8call/Manifest b/media-radio/js8call/Manifest
22 index a57fd58c082..cf836677f65 100644
23 --- a/media-radio/js8call/Manifest
24 +++ b/media-radio/js8call/Manifest
25 @@ -1,3 +1,4 @@
26 DIST js8call-1.0.0.tar.bz2 15923224 BLAKE2B 646fd869e6029d57dfd1d9762ede2407e18a18170088df65d1b16a581709065cf45edb23533b9c89193b01a85ec326638efc99202489db54455298a5033696de SHA512 64f24821c9ffd86123ede2baac46bcefd33b5dc5e0496cd44e594e79706ec2f3fdde5ce13c379addbf2bded3e392a1f0fc0f2df0298ce57a22e434a6ab6a1e7a
27 DIST js8call-1.1.0.tar.bz2 15993553 BLAKE2B 3538f746b175d0623169d2a13b5c26b334561f604fa25c8dddc15ee2a41319df8bb4c0a905be6340d4d18d87bffd8bd4e9a4eb9ceec3310f33aa22005c0e1c19 SHA512 992408408888a59174811c30fcc07065bcb5e459c355955a59e638ca27da27c2c25df8fa7579ce1c322a76f12780c58821df9fc781cde2cb2b2851312d188787
28 DIST js8call-2.0.0.tar.bz2 14434190 BLAKE2B 2d016c93175fe41cd4c24b57fc0a6c65ff5d5630aff68aac4e3e941570f315abe9f083f1686cb95e49d90ea41ac82752fcdd37041727e95820d34bcd0e82e2b1 SHA512 58566d4e6009339ef9a1459bdf2902748200b7a002c8be22067ec97eae16cc42465001e7084ebc00b1e406ae47fe45092226e1c6568253a1bbf95c65f040ab75
29 +DIST js8call-2.1.0.tar.bz2 14432328 BLAKE2B 3f48be58905cf05af8230b715956ecfec71fd792fafb029cba84c799e51bb1189e158c16ef05bd8959572778aad556a11b0896647a47cc1e6b10ddd48bd033cd SHA512 0edfbc8cbbe3df551d7dc97c7362100d2714e2d37934a053233ca8107247f7fdc67a36b59b1fe701154c9348f27171ddab9c21ffc763072d390431f9dd5382a0
30
31 diff --git a/media-radio/js8call/files/js8call-2.1.0-hamlib-type.patch b/media-radio/js8call/files/js8call-2.1.0-hamlib-type.patch
32 new file mode 100644
33 index 00000000000..5fc71b7f294
34 --- /dev/null
35 +++ b/media-radio/js8call/files/js8call-2.1.0-hamlib-type.patch
36 @@ -0,0 +1,27 @@
37 +From af2ed2b67665a4bb891ffa01d45043bb197f06bf Mon Sep 17 00:00:00 2001
38 +From: Richard Freeman <rich0@g.o>
39 +Date: Sun, 22 Dec 2019 21:26:27 -0500
40 +Subject: [PATCH] Revert "Updated hamlib interface to use new unsigned int for
41 + vfo_t"
42 +
43 +This reverts commit 7728483481975bfe1527eab657cf636c4c3b9181.
44 +---
45 + HamlibTransceiver.hpp | 2 +-
46 + 1 file changed, 1 insertion(+), 1 deletion(-)
47 +
48 +diff --git a/HamlibTransceiver.hpp b/HamlibTransceiver.hpp
49 +index 509fe4e..c8c0f74 100644
50 +--- a/HamlibTransceiver.hpp
51 ++++ b/HamlibTransceiver.hpp
52 +@@ -14,7 +14,7 @@ extern "C"
53 + {
54 + typedef struct rig RIG;
55 + struct rig_caps;
56 +- typedef unsigned int vfo_t;
57 ++ typedef int vfo_t;
58 + }
59 +
60 + // hamlib transceiver and PTT mostly delegated directly to hamlib Rig class
61 +--
62 +2.24.1
63 +
64
65 diff --git a/media-radio/js8call/js8call-2.1.0.ebuild b/media-radio/js8call/js8call-2.1.0.ebuild
66 new file mode 100644
67 index 00000000000..d886436dd36
68 --- /dev/null
69 +++ b/media-radio/js8call/js8call-2.1.0.ebuild
70 @@ -0,0 +1,41 @@
71 +# Copyright 1999-2019 Gentoo Authors
72 +# Distributed under the terms of the GNU General Public License v2
73 +
74 +EAPI=6
75 +inherit cmake-utils vcs-snapshot
76 +
77 +MY_P=${P/_/-}
78 +
79 +DESCRIPTION="Weak signal ham radio communication"
80 +HOMEPAGE="https://groups.io/g/js8call"
81 +SRC_URI="https://bitbucket.org/widefido/js8call/get/v${PV}-ga.tar.bz2 -> ${P}.tar.bz2"
82 +
83 +LICENSE="GPL-3"
84 +SLOT="0"
85 +KEYWORDS="~amd64"
86 +IUSE="doc"
87 +
88 +RDEPEND="dev-qt/qtcore:5
89 + dev-qt/qtgui:5
90 + dev-qt/qtmultimedia:5
91 + dev-qt/qtnetwork:5
92 + dev-qt/qtwidgets:5
93 + dev-qt/qtconcurrent:5
94 + dev-qt/qtserialport:5
95 + dev-qt/qtprintsupport:5
96 + virtual/libusb:1
97 + media-libs/portaudio
98 + sci-libs/fftw:3.0[threads,fortran]
99 + virtual/fortran
100 + app-text/asciidoc
101 + <media-libs/hamlib-3.4
102 + doc? ( dev-ruby/asciidoctor )"
103 +DEPEND="${RDEPEND}"
104 +
105 +PATCHES=( "${FILESDIR}/${P}-hamlib-type.patch" )
106 +
107 +src_install() {
108 + cmake-utils_src_install
109 + rm "${D}"/usr/bin/rigctl{,d}-local || die
110 + rm "${D}"/usr/share/doc/JS8Call -R || die
111 +}