Gentoo Archives: gentoo-commits

From: Thomas Beierlein <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/svxlink/files/, media-radio/svxlink/
Date: Sat, 24 Feb 2018 17:24:40
Message-Id: 1519493054.bb08c1bf8bad4b37d7ee6ccf13f1e15d77952a3b.tomjbe@gentoo
1 commit: bb08c1bf8bad4b37d7ee6ccf13f1e15d77952a3b
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 24 17:24:14 2018 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 24 17:24:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb08c1bf
7
8 media-radio/svxlink: Drop old
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-radio/svxlink/Manifest | 1 -
13 .../svxlink/files/svxlink-15.11-gcc72.patch | 12 ----
14 media-radio/svxlink/svxlink-15.11-r1.ebuild | 76 ----------------------
15 media-radio/svxlink/svxlink-15.11.ebuild | 74 ---------------------
16 4 files changed, 163 deletions(-)
17
18 diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest
19 index 143694cf07b..03bc52d7e31 100644
20 --- a/media-radio/svxlink/Manifest
21 +++ b/media-radio/svxlink/Manifest
22 @@ -1,2 +1 @@
23 -DIST svxlink-15.11.tar.gz 1528034 BLAKE2B 70a8f0f0181aee836738fba0b570d5fe5a896685267b8a9bbd09e6f6139fd764f5dac58dd57cff1ec2531b748511bb210a2aacc30704c5aee7d378489316a9b5 SHA512 b5c36e1a5e1dd0f954b7c2318d32d1bd52d8ec0a94a98e9c2de0b61ebbc6d0809d87fefbf13271c20a1a55e1a965e1a98f14c819df7b16a523b7cfc0fd4562ac
24 DIST svxlink-17.12.1.tar.gz 1621559 BLAKE2B 8a1d9498f451a730ee8d961d4ebd548f34f977367069658bdf4af7d91726e558c9e1ab084423b0238ae1f5fdcafd8e88480b818491e5f91d176d07d81fced5a3 SHA512 90bd74420fcd78d974d12ee13ac792f2a0ecd7cb483ec36ef1085e905f9d6c62af707cb65d04079ec66d7df6da615080a2058a0a559c82171b4882a4b20289f9
25
26 diff --git a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch b/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
27 deleted file mode 100644
28 index a55894c62f3..00000000000
29 --- a/media-radio/svxlink/files/svxlink-15.11-gcc72.patch
30 +++ /dev/null
31 @@ -1,12 +0,0 @@
32 -# backported fix for newer compilers
33 ---- src/async/audio/AsyncAudioDeviceAlsa.cpp.orig 2017-12-27 16:32:27.185098621 +0000
34 -+++ src/async/audio/AsyncAudioDeviceAlsa.cpp 2017-12-27 16:33:33.468067578 +0000
35 -@@ -548,7 +548,7 @@
36 - return false;
37 - }
38 -
39 -- if (::abs(real_rate - sample_rate) > 100)
40 -+ if (::abs(static_cast<int>(real_rate) - sample_rate) > 100)
41 - {
42 - cerr << "*** ERROR: The sample rate could not be set to "
43 - << sample_rate << "Hz for ALSA device \"" << dev_name << "\". "
44
45 diff --git a/media-radio/svxlink/svxlink-15.11-r1.ebuild b/media-radio/svxlink/svxlink-15.11-r1.ebuild
46 deleted file mode 100644
47 index 5dfe0e89f9b..00000000000
48 --- a/media-radio/svxlink/svxlink-15.11-r1.ebuild
49 +++ /dev/null
50 @@ -1,76 +0,0 @@
51 -# Copyright 1999-2017 Gentoo Foundation
52 -# Distributed under the terms of the GNU General Public License v2
53 -
54 -EAPI=5
55 -inherit cmake-utils eutils qt4-r2 systemd user
56 -
57 -CMAKE_USE_DIR="${S}/src"
58 -
59 -DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
60 -HOMEPAGE="http://www.svxlink.org"
61 -SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz"
62 -
63 -LICENSE="GPL-2 LGPL-2.1"
64 -SLOT="0"
65 -KEYWORDS="~amd64 ~x86"
66 -IUSE=""
67 -
68 -RDEPEND="dev-lang/tcl:0
69 - dev-qt/qtcore:4
70 - dev-qt/qtgui:4
71 - media-libs/alsa-lib
72 - media-sound/gsm
73 - dev-libs/libgcrypt:0
74 - media-libs/speex
75 - media-libs/opus
76 - dev-libs/libsigc++:2
77 - dev-libs/popt"
78 -DEPEND="${RDEPEND}
79 - virtual/pkgconfig"
80 -
81 -pkg_setup() {
82 - enewgroup svxlink
83 - enewuser svxlink -1 -1 -1 svxlink
84 -}
85 -
86 -src_prepare() {
87 - # fix compilation problem with newer gcc bug #639592
88 - epatch "${FILESDIR}"/${P}-gcc72.patch
89 -
90 - cmake-utils_src_prepare
91 - # drop deprecated desktop category (bug #475730)
92 - sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
93 -}
94 -
95 -src_configure() {
96 - local mycmakeargs=(
97 - -DSYSCONF_INSTALL_DIR=/etc
98 - -DLOCAL_STATE_DIR=/var
99 - )
100 - cmake-utils_src_configure
101 -}
102 -
103 -src_compile() {
104 - cmake-utils_src_compile
105 -}
106 -
107 -src_install() {
108 - cmake-utils_src_install
109 -
110 - fowners -R svxlink.svxlink /var/spool/svxlink
111 -
112 - rm -R "${D}"/usr/share/doc/svxlink || die
113 - dodoc src/doc/README-${PV}.adoc
114 - doman src/doc/man/*.1 src/doc/man/*.5
115 -
116 - insinto /etc/logrotate.d
117 - doins distributions/gentoo/etc/logrotate.d/*
118 -
119 - newinitd "${FILESDIR}"/remotetrx.init remotetrx
120 - newinitd "${FILESDIR}"/svxlink.init svxlink
121 - newconfd "${FILESDIR}"/remotetrx.rc remotetrx
122 - newconfd "${FILESDIR}"/svxlink.rc svxlink
123 -
124 - systemd_dounit "${FILESDIR}"/remotetrx.service
125 - systemd_dounit "${FILESDIR}"/svxlink.service
126 -}
127
128 diff --git a/media-radio/svxlink/svxlink-15.11.ebuild b/media-radio/svxlink/svxlink-15.11.ebuild
129 deleted file mode 100644
130 index 0eac5fc40fe..00000000000
131 --- a/media-radio/svxlink/svxlink-15.11.ebuild
132 +++ /dev/null
133 @@ -1,74 +0,0 @@
134 -# Copyright 1999-2017 Gentoo Foundation
135 -# Distributed under the terms of the GNU General Public License v2
136 -
137 -EAPI=5
138 -inherit cmake-utils eutils qt4-r2 user
139 -
140 -CMAKE_USE_DIR="${S}/src"
141 -
142 -DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink"
143 -HOMEPAGE="http://www.svxlink.org"
144 -SRC_URI="https://github.com/sm0svx/${PN}/archive/15.11.tar.gz -> ${P}.tar.gz"
145 -
146 -LICENSE="GPL-2 LGPL-2.1"
147 -SLOT="0"
148 -KEYWORDS="amd64 x86"
149 -IUSE=""
150 -
151 -RDEPEND="dev-lang/tcl:0
152 - dev-qt/qtcore:4
153 - dev-qt/qtgui:4
154 - media-libs/alsa-lib
155 - media-sound/gsm
156 - dev-libs/libgcrypt:0
157 - media-libs/speex
158 - media-libs/opus
159 - dev-libs/libsigc++:2
160 - dev-libs/popt"
161 -DEPEND="${RDEPEND}
162 - virtual/pkgconfig"
163 -
164 -pkg_setup() {
165 - enewgroup svxlink
166 - enewuser svxlink -1 -1 -1 svxlink
167 -}
168 -
169 -src_prepare() {
170 - # fix compilation problem with newer gcc bug #639592
171 - epatch "${FILESDIR}"/${P}-gcc72.patch
172 -
173 - cmake-utils_src_prepare
174 - # drop deprecated desktop category (bug #475730)
175 - sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die
176 -}
177 -
178 -src_configure() {
179 - local mycmakeargs=(
180 - -DSYSCONF_INSTALL_DIR=/etc
181 - -DLOCAL_STATE_DIR=/var
182 - )
183 - cmake-utils_src_configure
184 -}
185 -
186 -src_compile() {
187 - cmake-utils_src_compile
188 -}
189 -
190 -src_install() {
191 - cmake-utils_src_install
192 -
193 - fowners -R svxlink.svxlink /var/spool/svxlink
194 -
195 - rm -R "${D}"/usr/share/doc/svxlink || die
196 - dodoc src/doc/README-${PV}.adoc
197 - doman src/doc/man/*.1 src/doc/man/*.5
198 -
199 - insinto /etc/logrotate.d
200 - doins distributions/gentoo/etc/logrotate.d/*
201 -
202 - newinitd "${FILESDIR}"/remotetrx.init remotetrx
203 - newinitd "${FILESDIR}"/svxlink.init svxlink
204 - newconfd "${FILESDIR}"/remotetrx.rc remotetrx
205 - newconfd "${FILESDIR}"/svxlink.rc svxlink
206 -
207 -}