Gentoo Archives: gentoo-commits

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