summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2009-04-17 03:32:50 +0000
committerJeremy Olexa <darkside@gentoo.org>2009-04-17 03:32:50 +0000
commitb8bfd34b9d6cdd0dc88737c1d916b140e6980469 (patch)
tree03307acd8e892ccd21eb0e23d7b246911158dafa /media-radio
parent2.0 version bump for people having issues with 2.1 (diff)
downloadgentoo-2-b8bfd34b9d6cdd0dc88737c1d916b140e6980469.tar.gz
gentoo-2-b8bfd34b9d6cdd0dc88737c1d916b140e6980469.tar.bz2
gentoo-2-b8bfd34b9d6cdd0dc88737c1d916b140e6980469.zip
Version bump by Thomas Beierlein
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/tucnak2/ChangeLog10
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.25-appname.diff21
-rw-r--r--media-radio/tucnak2/tucnak2-2.25.ebuild54
3 files changed, 83 insertions, 2 deletions
diff --git a/media-radio/tucnak2/ChangeLog b/media-radio/tucnak2/ChangeLog
index 88cd10e83ee9..1f1aae23f592 100644
--- a/media-radio/tucnak2/ChangeLog
+++ b/media-radio/tucnak2/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-radio/tucnak2
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.6 2008/12/27 17:02:58 darkside Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/ChangeLog,v 1.7 2009/04/17 03:32:49 darkside Exp $
+
+*tucnak2-2.25 (17 Apr 2009)
+
+ 17 Apr 2009; Jeremy Olexa <darkside@gentoo.org>
+ +files/tucnak2-2.25-appname.diff, +tucnak2-2.25.ebuild:
+ Version bump by Thomas Beierlein
*tucnak2-2.23 (27 Dec 2008)
diff --git a/media-radio/tucnak2/files/tucnak2-2.25-appname.diff b/media-radio/tucnak2/files/tucnak2-2.25-appname.diff
new file mode 100644
index 000000000000..fc15a81de2c5
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.25-appname.diff
@@ -0,0 +1,21 @@
+--- src/Makefile.am.orig 2009-01-02 09:13:14.000000000 +0100
++++ src/Makefile.am 2009-03-21 08:31:21.000000000 +0100
+@@ -1,7 +1,7 @@
+ #bin_PROGRAMS = tucnak soundwrapper stucnak
+-bin_PROGRAMS = tucnak soundwrapper
++bin_PROGRAMS = tucnak2 soundwrapper
+
+-tucnak_SOURCES = adif.c alsa.c bfu.c charsets.c codepage.h codepage.inc \
++tucnak2_SOURCES = adif.c alsa.c bfu.c charsets.c codepage.h codepage.inc \
+ control.c cor.c cor.h cordata.c cordata.h cordata.inc \
+ cwdaemon.c cwdb.c cwwindow.c davac4.c dsp.c dwdb.c dxc.c ebw.c edi.c \
+ error.c excdb.c fhs.c fifo.c font.c font.inc gfx_png.c ghash.c \
+@@ -15,7 +15,7 @@
+ ssbd.c stats.c subwin.c terminal.c threadpipe.c titlpage.c trig.c \
+ ttys.c txts.c txts.h txts.inc uni_7b.inc winkey.c wizz.c zstring.c
+
+-tucnak_LDADD = @TUCNAK_LDADD@
++tucnak2_LDADD = @TUCNAK_LDADD@
+
+ soundwrapper_SOURCES = soundwrapper.c
+
diff --git a/media-radio/tucnak2/tucnak2-2.25.ebuild b/media-radio/tucnak2/tucnak2-2.25.ebuild
new file mode 100644
index 000000000000..289aedb767e7
--- /dev/null
+++ b/media-radio/tucnak2/tucnak2-2.25.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.25.ebuild,v 1.1 2009/04/17 03:32:49 darkside Exp $
+
+inherit eutils autotools
+
+DESCRIPTION="Amateur Radio VHF Contest Logbook"
+HOMEPAGE="http://tucnak.nagano.cz"
+SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa ftdi gpm hamlib"
+
+RDEPEND=">=dev-libs/glib-2
+ media-libs/libsndfile
+ >=media-libs/libsdl-1.2
+ alsa? ( media-libs/alsa-lib )
+ ftdi? ( dev-embedded/libftdi )
+ gpm? ( sys-libs/gpm )
+ hamlib? ( media-libs/hamlib )
+ >=media-libs/libpng-1.2"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-2.19-doc.diff" \
+ "${FILESDIR}/${PN}-2.25-appname.diff"
+ eautoreconf
+}
+
+src_compile() {
+ econf $(use_with alsa) $(use_with ftdi) \
+ $(use_with gpm) $(use_with hamlib) --with-sdl
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ doman debian/tucnak2.1 || die "doman failed"
+ dodoc AUTHORS ChangeLog TODO doc/NAVOD.sxw doc/NAVOD.pdf || die "dodoc failed"
+}
+
+pkg_postinst() {
+ elog "In order to use sound with tucnak2 add yourself to the 'audio' group"
+ elog "and to key your rig via the parport add yourself to the 'lp' group"
+ elog ""
+ elog "tucnak2 can be used with the following additional packages:"
+ elog " media-radio/cwdaemon : Morse output via code cwdaemon"
+ elog " (No need to recompile)"
+}