summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-11-10 23:49:11 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-11-10 23:49:11 +0000
commit2b6540d1802742b26399f31e1c4fa10005507e7f (patch)
tree8b9c808d6a371f208f3b4d00c4f552425c6eed6a /media-radio
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-2b6540d1802742b26399f31e1c4fa10005507e7f.tar.gz
gentoo-2-2b6540d1802742b26399f31e1c4fa10005507e7f.tar.bz2
gentoo-2-2b6540d1802742b26399f31e1c4fa10005507e7f.zip
initial commit, bug #241284
(Portage version: 2.2_rc13/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/tucnak2/ChangeLog12
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.16-doc.diff19
-rw-r--r--media-radio/tucnak2/files/tucnak2-2.17-appname.diff21
-rw-r--r--media-radio/tucnak2/metadata.xml18
-rw-r--r--media-radio/tucnak2/tucnak2-2.18.ebuild54
5 files changed, 124 insertions, 0 deletions
diff --git a/media-radio/tucnak2/ChangeLog b/media-radio/tucnak2/ChangeLog
new file mode 100644
index 000000000000..9edbb29007bc
--- /dev/null
+++ b/media-radio/tucnak2/ChangeLog
@@ -0,0 +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.1 2008/11/10 23:49:11 darkside Exp $
+
+*tucnak2-2.18 (10 Nov 2008)
+
+ 10 Nov 2008; Jeremy Olexa <darkside@gentoo.org>
+ +files/tucnak2-2.16-doc.diff, +files/tucnak2-2.17-appname.diff,
+ +metadata.xml, +tucnak2-2.18.ebuild:
+ added tucnak2 for bug #241284 - Thomas Beierlein will be maintaining this
+ and I will be proxy commiting it for him
+
diff --git a/media-radio/tucnak2/files/tucnak2-2.16-doc.diff b/media-radio/tucnak2/files/tucnak2-2.16-doc.diff
new file mode 100644
index 000000000000..5702be03a2bf
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.16-doc.diff
@@ -0,0 +1,19 @@
+--- Makefile.am.orig 2008-06-29 13:55:18.000000000 +0200
++++ Makefile.am 2008-06-29 13:56:03.000000000 +0200
+@@ -1,4 +1,4 @@
+-SUBDIRS=data doc share src
++SUBDIRS=data share src
+
+ MAINTAINERCLEANFILES = aclocal.m4 config.h.in configure Makefile.in stamp-h.in
+
+@@ -4,10 +4,6 @@
+
+ EXTRA_DIST = COPYING INSTALL rebuild debian/* intl/* win32/* pkg/*
+
+-docsdir = $(datadir)/tucnak2/doc
+-
+-docs_DATA = AUTHORS ChangeLog TODO
+-
+ stamp = `date +%Y%m%d_%H%M%S`
+
+ distd: dist
diff --git a/media-radio/tucnak2/files/tucnak2-2.17-appname.diff b/media-radio/tucnak2/files/tucnak2-2.17-appname.diff
new file mode 100644
index 000000000000..5bec860998f6
--- /dev/null
+++ b/media-radio/tucnak2/files/tucnak2-2.17-appname.diff
@@ -0,0 +1,21 @@
+--- src/Makefile.am.orig 2008-09-03 13:35:33.000000000 +0200
++++ src/Makefile.am 2008-09-11 10:57:05.000000000 +0200
+@@ -1,7 +1,7 @@
+ #bin_PROGRAMS = tucnak soundwrapper stucnak
+-bin_PROGRAMS = tucnak soundwrapper
++bin_PROGRAMS = tucnak2 soundwrapper
+
+-tucnak_SOURCES = winkey.c excdb.c adif.c alsa.c bfu.c charsets.c codepage.h codepage.inc \
++tucnak2_SOURCES = winkey.c excdb.c adif.c alsa.c bfu.c charsets.c codepage.h codepage.inc \
+ control.c cor.c cor.h cor.inc \
+ cwdaemon.c cwdb.c cwwindow.c davac4.c dsp.c dwdb.c dxc.c ebw.c edi.c \
+ error.c fhs.c fifo.c font.c font.inc gfx_png.c ghash.c \
+@@ -14,7 +14,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 wizz.c zstring.c
+
+-tucnak_LDADD = @TUCNAK_LDADD@
++tucnak2_LDADD = @TUCNAK_LDADD@
+
+ soundwrapper_SOURCES = soundwrapper.c
+
diff --git a/media-radio/tucnak2/metadata.xml b/media-radio/tucnak2/metadata.xml
new file mode 100644
index 000000000000..8bef678105c1
--- /dev/null
+++ b/media-radio/tucnak2/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>darkside@gentoo.org</email>
+ <description>Proxy committer</description>
+ </maintainer>
+ <maintainer>
+ <email>tb@forth-ev.de</email>
+ <description>Proxy maintainer, please CC on bugs</description>
+ </maintainer>
+ <use>
+ <flag name='ftdi'>Enable support for FTDI USB chips</flag>
+ <flag name='hamlib'>Enables support by the Hamlib amateur radio
+ rig control library to get/set frequency and mode of the ham radio</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-radio/tucnak2/tucnak2-2.18.ebuild b/media-radio/tucnak2/tucnak2-2.18.ebuild
new file mode 100644
index 000000000000..2edf75d34577
--- /dev/null
+++ b/media-radio/tucnak2/tucnak2-2.18.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/tucnak2/tucnak2-2.18.ebuild,v 1.1 2008/11/10 23:49:11 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.16-doc.diff" \
+ "${FILESDIR}/${PN}-2.17-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 ""
+ elog "tucnak2 can be used with the following additional packages:"
+ elog " media-radio/cwdaemon : Morse output via code cwdaemon"
+ elog " (No need to recompile)"
+}