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/direwolf/
Date: Thu, 22 Apr 2021 19:08:34
Message-Id: 1619118493.5c4bf3475b2561e946e5ed4b38eb5665ba497420.rich0@gentoo
1 commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
2 Author: Richard Freeman <rich0 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 22 19:08:13 2021 +0000
4 Commit: Richard Freeman <rich0 <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 22 19:08:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347
7
8 media-radio/direwolf: remove old revision
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Richard Freeman <rich0 <AT> gentoo.org>
12
13 media-radio/direwolf/direwolf-1.5.ebuild | 63 --------------------------------
14 1 file changed, 63 deletions(-)
15
16 diff --git a/media-radio/direwolf/direwolf-1.5.ebuild b/media-radio/direwolf/direwolf-1.5.ebuild
17 deleted file mode 100644
18 index 5cb4b02481d..00000000000
19 --- a/media-radio/direwolf/direwolf-1.5.ebuild
20 +++ /dev/null
21 @@ -1,63 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -inherit systemd toolchain-funcs
28 -
29 -DESCRIPTION="Decoded Information from Radio Emissions for Windows Or Linux Fans"
30 -HOMEPAGE="https://github.com/wb2osz/direwolf/blob/master/README.md"
31 -SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 -
33 -LICENSE="GPL-2 BSD"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE="gps hamlib udev"
37 -
38 -RDEPEND="
39 - media-libs/alsa-lib:=
40 - gps? ( sci-geosciences/gpsd )
41 - hamlib? ( media-libs/hamlib )
42 - udev? ( virtual/libudev )
43 -"
44 -BDEPEND="hamlib? ( virtual/pkgconfig )"
45 -DEPEND="${RDEPEND}"
46 -
47 -DOCS=( CHANGES.md README.md doc/2400-4800-PSK-for-APRS-Packet-Radio.pdf doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf doc/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf doc/APRS-Telemetry-Toolkit.pdf doc/APRStt-Implementation-Notes.pdf doc/APRStt-interface-for-SARTrack.pdf doc/APRStt-Listening-Example.pdf doc/Going-beyond-9600-baud.pdf doc/Raspberry-Pi-APRS.pdf doc/Raspberry-Pi-APRS-Tracker.pdf doc/Raspberry-Pi-SDR-IGate.pdf doc/README.md doc/Successful-APRS-IGate-Operation.pdf doc/User-Guide.pdf doc/WA8LMF-TNC-Test-CD-Results.pdf direwolf.conf dw-start.sh sdr.conf telemetry-toolkit/telem-m0xer-3.txt telemetry-toolkit/telem-balloon.conf telemetry-toolkit/telem-volts.conf )
48 -
49 -INSTALLDIR="${D}"
50 -
51 -src_prepare() {
52 - eapply "${FILESDIR}/${PV}-makefile.patch"
53 - eapply "${FILESDIR}/direwolf-gpsd-API-9.patch"
54 -
55 - eapply_user
56 -
57 - if use gps ; then
58 - sed -i -e 's/#enable_gpsd/enable_gpsd/' Makefile.linux || die "Sed failed!"
59 - fi
60 -
61 - if use hamlib; then
62 - sed -i -e 's/#enable_hamlib/enable_hamlib/' Makefile.linux || die "Sed failed!"
63 - fi
64 -
65 - if use udev ; then
66 - sed -i -e 's/#enable_cm108/enable_cm108/' Makefile.linux || die "Sed failed!"
67 - fi
68 -}
69 -
70 -src_compile() {
71 - emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
72 -}
73 -
74 -src_install() {
75 - dodir /usr
76 - dodir /usr/bin
77 - keepdir /var/log/direwolf
78 - emake DESTDIR="${D}" install
79 - insinto /etc/direwolf/
80 - doins direwolf.conf
81 - einstalldocs
82 - systemd_dounit "${FILESDIR}"/direwolf.service
83 - systemd_dounit "${FILESDIR}"/direwolf-kiss.service
84 -}