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/unixcw/
Date: Sat, 24 Jun 2017 10:58:43
Message-Id: 1498301910.c896d4c2e257eaef2695cd89445084fbf5aef70e.tomjbe@gentoo
1 commit: c896d4c2e257eaef2695cd89445084fbf5aef70e
2 Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 24 10:58:30 2017 +0000
4 Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 24 10:58:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c896d4c2
7
8 Drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-radio/unixcw/Manifest | 2 -
13 media-radio/unixcw/unixcw-3.4.2.ebuild | 67 -----------------------------
14 media-radio/unixcw/unixcw-3.5.0-r1.ebuild | 70 -------------------------------
15 media-radio/unixcw/unixcw-3.5.0.ebuild | 69 ------------------------------
16 4 files changed, 208 deletions(-)
17
18 diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest
19 index dcc85630ca4..7fcd0442475 100644
20 --- a/media-radio/unixcw/Manifest
21 +++ b/media-radio/unixcw/Manifest
22 @@ -1,3 +1 @@
23 -DIST unixcw-3.4.2.tar.gz 730461 SHA256 ace7d16cfc8f84ffe041de6774baa0727ed0230657cf8a93cb4addf1cb4e8b2a SHA512 118e4f7fcca78713e5be5aa2faccec4e26979e95dcc300bf259534bb417eee7b21591ecb778467591b1a3b61c9ede18f229f88cd1bba2d6bc54f4d410096e0c9 WHIRLPOOL e8959ccb6eca32f4d468dbdb1add61dad6be30b453369385a1c857309ea89d052e4ef5577c4e17f101a79ee762f10ead3ec1fae72a394455ac473c4758fe0e3c
24 -DIST unixcw-3.5.0.tar.gz 739258 SHA256 82c455b67c6444165ec59f75bc29ad0665b79d70489bd09e3166fd1ccde718e6 SHA512 82128656dce56558f4a41be394afd1579f9de43f170c695e09e25e231b8416993b1cb94215325b39645391b2a43ede8119291efad284fecc35eb8a753669e8ec WHIRLPOOL 3c6dd3bcfa4d43f114938a1048e04f21a63199bb7c291e415e5b035dfe6c59031c60760ad65721cea84ee942ef6263f1938fa9093e6ab6c620875433b415c878
25 DIST unixcw-3.5.1.tar.gz 740331 SHA256 63b6253e29083e1e27c65150f580792aab912c989ae2d47c6df16e80cc79e07e SHA512 b59499723d810a537a2f5ab2b4b34c83a1c8c815af82a60ba29f4d9cee445525e530136f4e202db6b87305ac7a818fa6e59214a45c6bffce299eb50b58c866e1 WHIRLPOOL d9ff9ea9548852c68f6948e4aa630cb58ae8487161723361644c4f7b93708123ca2e82e6860be33156ae15db482a6fc7eb6ae81792783f6f47c7e2ff08d05be6
26
27 diff --git a/media-radio/unixcw/unixcw-3.4.2.ebuild b/media-radio/unixcw/unixcw-3.4.2.ebuild
28 deleted file mode 100644
29 index 05f04ab9646..00000000000
30 --- a/media-radio/unixcw/unixcw-3.4.2.ebuild
31 +++ /dev/null
32 @@ -1,67 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -inherit eutils flag-o-matic multilib
39 -
40 -DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
41 -HOMEPAGE="http://unixcw.sourceforge.net"
42 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="GPL-2"
45 -SLOT="0"
46 -KEYWORDS="alpha amd64 ppc x86"
47 -IUSE="alsa ncurses pulseaudio suid qt4"
48 -
49 -RDEPEND="ncurses? ( sys-libs/ncurses:* )
50 - qt4? ( dev-qt/qtgui:4[qt3support] )
51 - alsa? ( media-libs/alsa-lib )
52 - pulseaudio? ( media-sound/pulseaudio )"
53 -DEPEND="${RDEPEND}
54 - virtual/pkgconfig
55 - sys-devel/libtool
56 - !<=app-misc/cw-1.0.16-r1"
57 -
58 -src_prepare() {
59 - append-cflags -std=gnu99
60 -}
61 -
62 -src_configure() {
63 - econf --libdir=/usr/$(get_libdir) \
64 - $(use_enable pulseaudio ) \
65 - $(use_enable alsa ) \
66 - $(use_enable ncurses cwcp ) \
67 - $(use_enable qt4 xcwcp )
68 -}
69 -
70 -src_install() {
71 - emake DESTDIR="${D}" install
72 - prune_libtool_files
73 - dodoc ChangeLog NEWS README
74 - if ! use suid ; then
75 - fperms 711 /usr/bin/cw
76 - if use ncurses ; then
77 - fperms 711 /usr/bin/cwcp
78 - fi
79 - if use qt4 ; then
80 - fperms 711 /usr/bin/xcwcp
81 - fi
82 - fi
83 -}
84 -
85 -pkg_postinst() {
86 - if use suid ; then
87 - ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
88 - ewarn "by setting USE=suid."
89 - ewarn "Be aware that this is a security risk and not recommended."
90 - ewarn ""
91 - ewarn "These files do only need root access if you want to use the"
92 - ewarn "PC speaker for morse sidetone output. You can alternativly"
93 - ewarn "drop USE=suid and use sudo."
94 - else
95 - elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
96 - elog "you want to use the PC speaker for morse sidetone output."
97 - elog "You can call the programs via sudo for that (see 'man sudo')."
98 - fi
99 -}
100
101 diff --git a/media-radio/unixcw/unixcw-3.5.0-r1.ebuild b/media-radio/unixcw/unixcw-3.5.0-r1.ebuild
102 deleted file mode 100644
103 index ebbca09eaee..00000000000
104 --- a/media-radio/unixcw/unixcw-3.5.0-r1.ebuild
105 +++ /dev/null
106 @@ -1,70 +0,0 @@
107 -# Copyright 1999-2016 Gentoo Foundation
108 -# Distributed under the terms of the GNU General Public License v2
109 -
110 -EAPI=5
111 -
112 -inherit eutils flag-o-matic multilib
113 -
114 -DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
115 -HOMEPAGE="http://unixcw.sourceforge.net"
116 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
117 -
118 -LICENSE="GPL-2"
119 -SLOT="0"
120 -KEYWORDS="~alpha ~amd64 ~ppc ~x86"
121 -IUSE="alsa ncurses pulseaudio suid qt5"
122 -
123 -RDEPEND="ncurses? ( sys-libs/ncurses:= )
124 - qt5? ( dev-qt/qtcore:5
125 - dev-qt/qtgui:5
126 - dev-qt/qtwidgets:5 )
127 - alsa? ( media-libs/alsa-lib )
128 - pulseaudio? ( media-sound/pulseaudio )"
129 -DEPEND="${RDEPEND}
130 - virtual/pkgconfig
131 - sys-devel/libtool
132 - !<=app-misc/cw-1.0.16-r1"
133 -
134 -src_prepare() {
135 - append-cflags -std=gnu11
136 - append-cxxflags -std=gnu++11
137 -}
138 -
139 -src_configure() {
140 - econf --libdir=/usr/$(get_libdir) \
141 - $(use_enable pulseaudio ) \
142 - $(use_enable alsa ) \
143 - $(use_enable ncurses cwcp ) \
144 - $(use_enable qt5 xcwcp )
145 -}
146 -
147 -src_install() {
148 - emake DESTDIR="${D}" install
149 - prune_libtool_files
150 - dodoc ChangeLog NEWS README
151 - if ! use suid ; then
152 - fperms 711 /usr/bin/cw
153 - if use ncurses ; then
154 - fperms 711 /usr/bin/cwcp
155 - fi
156 - if use qt5 ; then
157 - fperms 711 /usr/bin/xcwcp
158 - fi
159 - fi
160 -}
161 -
162 -pkg_postinst() {
163 - if use suid ; then
164 - ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
165 - ewarn "by setting USE=suid."
166 - ewarn "Be aware that this is a security risk and not recommended."
167 - ewarn ""
168 - ewarn "These files do only need root access if you want to use the"
169 - ewarn "PC speaker for morse sidetone output. You can alternativly"
170 - ewarn "drop USE=suid and use sudo."
171 - else
172 - elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
173 - elog "you want to use the PC speaker for morse sidetone output."
174 - elog "You can call the programs via sudo for that (see 'man sudo')."
175 - fi
176 -}
177
178 diff --git a/media-radio/unixcw/unixcw-3.5.0.ebuild b/media-radio/unixcw/unixcw-3.5.0.ebuild
179 deleted file mode 100644
180 index befd6c63fbc..00000000000
181 --- a/media-radio/unixcw/unixcw-3.5.0.ebuild
182 +++ /dev/null
183 @@ -1,69 +0,0 @@
184 -# Copyright 1999-2015 Gentoo Foundation
185 -# Distributed under the terms of the GNU General Public License v2
186 -
187 -EAPI=5
188 -
189 -inherit eutils flag-o-matic multilib
190 -
191 -DESCRIPTION="A package of programs that fit together to form a morse code tutor program"
192 -HOMEPAGE="http://unixcw.sourceforge.net"
193 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
194 -
195 -LICENSE="GPL-2"
196 -SLOT="0"
197 -KEYWORDS="alpha amd64 ppc x86"
198 -IUSE="alsa ncurses pulseaudio suid qt5"
199 -
200 -RDEPEND="ncurses? ( sys-libs/ncurses:= )
201 - qt5? ( dev-qt/qtcore:5
202 - dev-qt/qtgui:5
203 - dev-qt/qtwidgets:5 )
204 - alsa? ( media-libs/alsa-lib )
205 - pulseaudio? ( media-sound/pulseaudio )"
206 -DEPEND="${RDEPEND}
207 - virtual/pkgconfig
208 - sys-devel/libtool
209 - !<=app-misc/cw-1.0.16-r1"
210 -
211 -src_prepare() {
212 - append-cflags -std=gnu99
213 -}
214 -
215 -src_configure() {
216 - econf --libdir=/usr/$(get_libdir) \
217 - $(use_enable pulseaudio ) \
218 - $(use_enable alsa ) \
219 - $(use_enable ncurses cwcp ) \
220 - $(use_enable qt5 xcwcp )
221 -}
222 -
223 -src_install() {
224 - emake DESTDIR="${D}" install
225 - prune_libtool_files
226 - dodoc ChangeLog NEWS README
227 - if ! use suid ; then
228 - fperms 711 /usr/bin/cw
229 - if use ncurses ; then
230 - fperms 711 /usr/bin/cwcp
231 - fi
232 - if use qt5 ; then
233 - fperms 711 /usr/bin/xcwcp
234 - fi
235 - fi
236 -}
237 -
238 -pkg_postinst() {
239 - if use suid ; then
240 - ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid"
241 - ewarn "by setting USE=suid."
242 - ewarn "Be aware that this is a security risk and not recommended."
243 - ewarn ""
244 - ewarn "These files do only need root access if you want to use the"
245 - ewarn "PC speaker for morse sidetone output. You can alternativly"
246 - ewarn "drop USE=suid and use sudo."
247 - else
248 - elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if"
249 - elog "you want to use the PC speaker for morse sidetone output."
250 - elog "You can call the programs via sudo for that (see 'man sudo')."
251 - fi
252 -}