diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2019-05-11 13:33:15 +0200 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2019-05-11 13:34:32 +0200 |
commit | d159828393be7f5ed5faa15f73ddd21529fa58e3 (patch) | |
tree | 37fec8ea1c048e6b1f98a74623af1743704f6fab /media-radio/qrq | |
parent | xfce4-playercontrol-plugin: remove last rited package (diff) | |
download | gentoo-d159828393be7f5ed5faa15f73ddd21529fa58e3.tar.gz gentoo-d159828393be7f5ed5faa15f73ddd21529fa58e3.tar.bz2 gentoo-d159828393be7f5ed5faa15f73ddd21529fa58e3.zip |
media-radio/qrq: Version bump
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'media-radio/qrq')
-rw-r--r-- | media-radio/qrq/Manifest | 1 | ||||
-rw-r--r-- | media-radio/qrq/qrq-0.3.3.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/media-radio/qrq/Manifest b/media-radio/qrq/Manifest index ea249a83a8a5..8e66b620d1e8 100644 --- a/media-radio/qrq/Manifest +++ b/media-radio/qrq/Manifest @@ -1,2 +1,3 @@ DIST qrq-0.3.1.tar.gz 131508 BLAKE2B f33f970b7d94291740ad4a7f0136a4ecf98aa9e7ef927e776326792da3dee884e114ea265354c2f5e15048a4979cfc195b9f5b827b76a11a267b15e6f9f58cc6 SHA512 ce6e3b6f79575f11457f56e1044267dbefda20b13ba43fd79b2ad5821b4502a8a2badacbd891e154472d6f26334a0a8fcddf9521d905d8e7a72d8a687346e23d DIST qrq-0.3.2.tar.gz 132546 BLAKE2B a19be5742deb719471c43e873c387995ab51a776d0f5b303f0f2fa15a87c697961cd5c93cc615a496f7377e0ab43ac8a2c12edbc7bc11ac44997b1b6788ad809 SHA512 1513428ee836610c7d755315a1cfc03dadacc33d78605fa9d0dd84786f4122f7ba7f928afa40a4fdc0bb9b19151fb8acdd1a7684a2ac6a76703379b9121e6ac5 +DIST qrq-0.3.3.tar.gz 159832 BLAKE2B 7af974175777f6166303ece0e0cfa0a035d49e0c265cd513b771a280dc7ac0772a979f45923a14737ff58a64147f8c97a3978ccd7e4cd81fe4a38f3156766057 SHA512 025f0a350600a9f3f24cb00afcaa0e99c0be881e40684cc7ccbb9927d883372336c0b668bae21f232ce52dd221eb4ed950d306a32bab34e65f9f3cba9f28a484 diff --git a/media-radio/qrq/qrq-0.3.3.ebuild b/media-radio/qrq/qrq-0.3.3.ebuild new file mode 100644 index 000000000000..f718c220fa2f --- /dev/null +++ b/media-radio/qrq/qrq-0.3.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +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}" + +PATCHES=( "${FILESDIR}/${PN}-0.3.2-tinfo.patch" ) + +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 + default +} + +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 + dodoc AUTHORS ChangeLog README +} |