summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2013-01-30 06:26:38 +0000
committerThomas Beierlein <tomjbe@gentoo.org>2013-01-30 06:26:38 +0000
commit84995e07e7f7f1845b3df9b41ab48be3d4437e31 (patch)
tree91283167aed1cd9aa95fcfb1368fdf551110e16b /media-radio/qrq
parentMinor maintainance release (diff)
downloadgentoo-2-84995e07e7f7f1845b3df9b41ab48be3d4437e31.tar.gz
gentoo-2-84995e07e7f7f1845b3df9b41ab48be3d4437e31.tar.bz2
gentoo-2-84995e07e7f7f1845b3df9b41ab48be3d4437e31.zip
Version bump
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key 0x762053D5)
Diffstat (limited to 'media-radio/qrq')
-rw-r--r--media-radio/qrq/ChangeLog9
-rw-r--r--media-radio/qrq/qrq-0.3.1.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/media-radio/qrq/ChangeLog b/media-radio/qrq/ChangeLog
index 3c903957ec53..3a6ea52589d8 100644
--- a/media-radio/qrq/ChangeLog
+++ b/media-radio/qrq/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-radio/qrq
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-radio/qrq/ChangeLog,v 1.10 2012/06/18 06:37:57 tomjbe Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/qrq/ChangeLog,v 1.11 2013/01/30 06:26:38 tomjbe Exp $
+
+*qrq-0.3.1 (30 Jan 2013)
+
+ 30 Jan 2013; Thomas Beierlein <tomjbe@gentoo.org> +qrq-0.3.1.ebuild:
+ Version bump
18 Jun 2012; Thomas Beierlein <tomjbe@gentoo.org> -qrq-0.2.0.ebuild,
-qrq-0.2.1.ebuild:
diff --git a/media-radio/qrq/qrq-0.3.1.ebuild b/media-radio/qrq/qrq-0.3.1.ebuild
new file mode 100644
index 000000000000..4473f82f457a
--- /dev/null
+++ b/media-radio/qrq/qrq-0.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-radio/qrq/qrq-0.3.1.ebuild,v 1.1 2013/01/30 06:26:38 tomjbe Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Yet another CW trainer for Linux/Unix"
+HOMEPAGE="http://fkurz.net/ham/qrq.html"
+SRC_URI="http://fkurz.net/ham/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="pulseaudio"
+
+DEPEND="sys-libs/ncurses
+ pulseaudio? ( media-sound/pulseaudio )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # avoid prestripping of 'qrq' binary
+ sed -i -e "s/install -s -m/install -m/" Makefile || die
+ sed -i -e "s/CC=gcc/CC=$(tc-getCC)/" Makefile || die
+}
+
+src_compile() {
+ CONF="USE_PA=NO USE_OSS=YES"
+ if use pulseaudio; then
+ CONF="USE_PA=YES USE_OSS=NO"
+ fi
+ emake $CONF
+}
+
+src_install() {
+ emake $CONF DESTDIR="${D}/usr" install || die
+ dodoc AUTHORS ChangeLog README || die
+}