Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-radio/tucnak2: ChangeLog tucnak2-2.37.ebuild
Date: Wed, 03 Nov 2010 18:31:55
Message-Id: 20101103183149.795C420051@flycatcher.gentoo.org
1 tomjbe 10/11/03 18:31:49
2
3 Modified: ChangeLog
4 Added: tucnak2-2.37.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.9.24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.24 media-radio/tucnak2/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/tucnak2/ChangeLog?rev=1.24&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/tucnak2/ChangeLog?rev=1.24&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/tucnak2/ChangeLog?r1=1.23&r2=1.24
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v
20 retrieving revision 1.23
21 retrieving revision 1.24
22 diff -u -r1.23 -r1.24
23 --- ChangeLog 17 Jul 2010 10:45:02 -0000 1.23
24 +++ ChangeLog 3 Nov 2010 18:31:49 -0000 1.24
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-radio/tucnak2
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.23 2010/07/17 10:45:02 tomjbe Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.24 2010/11/03 18:31:49 tomjbe Exp $
30 +
31 +*tucnak2-2.37 (03 Nov 2010)
32 +
33 + 03 Nov 2010; Thomas Beierlein <tomjbe@g.o> +tucnak2-2.37.ebuild,
34 + +files/tucnak2-2.37-hamlib.diff:
35 + Version bump
36
37 17 Jul 2010; Thomas Beierlein <tomjbe@g.o>
38 -files/tucnak2-2.25-appname.diff, -tucnak2-2.26.ebuild,
39
40
41
42 1.1 media-radio/tucnak2/tucnak2-2.37.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/tucnak2/tucnak2-2.37.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/tucnak2/tucnak2-2.37.ebuild?rev=1.1&content-type=text/plain
46
47 Index: tucnak2-2.37.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.37.ebuild,v 1.1 2010/11/03 18:31:49 tomjbe Exp $
52
53 EAPI=2
54 inherit eutils autotools
55
56 DESCRIPTION="Amateur Radio VHF Contest Logbook"
57 HOMEPAGE="http://tucnak.nagano.cz"
58 SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="alsa fftw ftdi gpm hamlib suid"
64
65 RDEPEND=">=dev-libs/glib-2
66 media-libs/libsndfile
67 >=media-libs/libsdl-1.2
68 alsa? ( media-libs/alsa-lib )
69 fftw? ( sci-libs/fftw:3.0 )
70 ftdi? ( dev-embedded/libftdi )
71 gpm? ( sys-libs/gpm )
72 hamlib? ( media-libs/hamlib )
73 >=media-libs/libpng-1.2"
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig"
76
77 src_prepare() {
78 epatch "${FILESDIR}/${PN}-2.19-doc.diff" \
79 "${FILESDIR}/${PN}-2.32-appname.diff" \
80 "${FILESDIR}/${P}-hamlib.diff"
81 eautoreconf
82 }
83
84 src_configure() {
85 econf $(use_with alsa) $(use_with ftdi) \
86 $(use_with gpm) $(use_with hamlib) \
87 $(use_with fftw fftw3) --with-sdl
88 }
89
90 src_install() {
91 emake DESTDIR="${D}" install || die "install failed"
92 doman debian/tucnak2.1 || die "doman failed"
93 dodoc AUTHORS ChangeLog TODO doc/NAVOD.pdf || die "dodoc failed"
94 if use suid ; then
95 fperms 4711 /usr/bin/soundwrapper || die "fperms failed"
96 fi
97 }
98
99 pkg_postinst() {
100 elog "In order to use sound with tucnak2 add yourself to the 'audio' group"
101 elog "and to key your rig via the parport add yourself to the 'lp' group"
102 elog ""
103 elog "tucnak2 can be used with the following additional packages:"
104 elog " media-radio/cwdaemon : Morse output via code cwdaemon"
105 elog " (No need to recompile)"
106 if use suid ; then
107 ewarn "You have choosen to install the little helper program 'soundwrapper'"
108 ewarn "setuid by setting USE=suid. That helper is only needed if you"
109 ewarn "want to use morse sidetone output via the PC speaker."
110 ewarn ""
111 ewarn "While the helper should be safe by design be aware that setting"
112 ewarn "any program setuid is a security risk."
113 fi
114 }