1 |
tomjbe 15/07/04 15:55:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unixcw-3.4.2.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x24083D3E28343508) |
9 |
|
10 |
Revision Changes Path |
11 |
1.30 media-radio/unixcw/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?rev=1.30&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?rev=1.30&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?r1=1.29&r2=1.30 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v |
20 |
retrieving revision 1.29 |
21 |
retrieving revision 1.30 |
22 |
diff -u -r1.29 -r1.30 |
23 |
--- ChangeLog 3 Jul 2015 10:21:41 -0000 1.29 |
24 |
+++ ChangeLog 4 Jul 2015 15:55:31 -0000 1.30 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-radio/unixcw |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.29 2015/07/03 10:21:41 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.30 2015/07/04 15:55:31 tomjbe Exp $ |
30 |
+ |
31 |
+*unixcw-3.4.2 (04 Jul 2015) |
32 |
+ |
33 |
+ 04 Jul 2015; Thomas Beierlein <tomjbe@g.o> +unixcw-3.4.2.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
03 Jul 2015; Agostino Sarubbo <ago@g.o> unixcw-3.4.1.ebuild: |
37 |
Stable for alpha, wrt bug #552662 |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-radio/unixcw/unixcw-3.4.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/unixcw-3.4.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/unixcw-3.4.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: unixcw-3.4.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/unixcw-3.4.2.ebuild,v 1.1 2015/07/04 15:55:31 tomjbe Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
inherit eutils flag-o-matic multilib |
55 |
|
56 |
DESCRIPTION="A package of programs that fit together to form a morse code tutor program" |
57 |
HOMEPAGE="http://unixcw.sourceforge.net" |
58 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
63 |
IUSE="alsa ncurses pulseaudio suid qt4" |
64 |
|
65 |
RDEPEND="ncurses? ( sys-libs/ncurses ) |
66 |
qt4? ( dev-qt/qtgui:4[qt3support] ) |
67 |
alsa? ( media-libs/alsa-lib ) |
68 |
pulseaudio? ( media-sound/pulseaudio )" |
69 |
DEPEND="${RDEPEND} |
70 |
virtual/pkgconfig |
71 |
sys-devel/libtool |
72 |
!<=app-misc/cw-1.0.16-r1" |
73 |
|
74 |
src_prepare() { |
75 |
append-cflags -std=gnu99 |
76 |
} |
77 |
|
78 |
src_configure() { |
79 |
econf --libdir=/usr/$(get_libdir) \ |
80 |
$(use_enable pulseaudio ) \ |
81 |
$(use_enable alsa ) \ |
82 |
$(use_enable ncurses cwcp ) \ |
83 |
$(use_enable qt4 xcwcp ) |
84 |
} |
85 |
|
86 |
src_install() { |
87 |
emake DESTDIR="${D}" install |
88 |
prune_libtool_files |
89 |
dodoc ChangeLog NEWS README |
90 |
if ! use suid ; then |
91 |
fperms 711 /usr/bin/cw |
92 |
if use ncurses ; then |
93 |
fperms 711 /usr/bin/cwcp |
94 |
fi |
95 |
if use qt4 ; then |
96 |
fperms 711 /usr/bin/xcwcp |
97 |
fi |
98 |
fi |
99 |
} |
100 |
|
101 |
pkg_postinst() { |
102 |
if use suid ; then |
103 |
ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid" |
104 |
ewarn "by setting USE=suid." |
105 |
ewarn "Be aware that this is a security risk and not recommended." |
106 |
ewarn "" |
107 |
ewarn "These files do only need root access if you want to use the" |
108 |
ewarn "PC speaker for morse sidetone output. You can alternativly" |
109 |
ewarn "drop USE=suid and use sudo." |
110 |
else |
111 |
elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if" |
112 |
elog "you want to use the PC speaker for morse sidetone output." |
113 |
elog "You can call the programs via sudo for that (see 'man sudo')." |
114 |
fi |
115 |
} |