diff options
author | Thomas Beierlein <tomjbe@gentoo.org> | 2022-02-05 13:14:53 +0100 |
---|---|---|
committer | Thomas Beierlein <tomjbe@gentoo.org> | 2022-02-05 13:16:26 +0100 |
commit | bcd5a3da0368969c71e1fa0d9616e79d1b6415bb (patch) | |
tree | ae3c9265525247d5b5828c46e05a0f6d9b638603 /media-radio/qrq | |
parent | sys-kernel/vanilla-sources: Linux version bumps (diff) | |
download | gentoo-bcd5a3da0368969c71e1fa0d9616e79d1b6415bb.tar.gz gentoo-bcd5a3da0368969c71e1fa0d9616e79d1b6415bb.tar.bz2 gentoo-bcd5a3da0368969c71e1fa0d9616e79d1b6415bb.zip |
media-radio/qrq: Version bump
Package-Manager: Portage-3.0.30, Repoman-3.0.3
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.5.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-radio/qrq/Manifest b/media-radio/qrq/Manifest index a15abfa10112..898fb800e4ff 100644 --- a/media-radio/qrq/Manifest +++ b/media-radio/qrq/Manifest @@ -1 +1,2 @@ DIST qrq-0.3.3.tar.gz 159832 BLAKE2B 7af974175777f6166303ece0e0cfa0a035d49e0c265cd513b771a280dc7ac0772a979f45923a14737ff58a64147f8c97a3978ccd7e4cd81fe4a38f3156766057 SHA512 025f0a350600a9f3f24cb00afcaa0e99c0be881e40684cc7ccbb9927d883372336c0b668bae21f232ce52dd221eb4ed950d306a32bab34e65f9f3cba9f28a484 +DIST qrq-0.3.5.tar.gz 195012 BLAKE2B 55787fae08f730beda4c61b347da0c6ea874eaeb1c3fbadb57019eca62f24a3cb8b4c6dd43b4afab81d3b55d4ca1986a870d5d1d0da32ebc6033498741188c42 SHA512 f4db39cce484f9c2b7a55ec4aaf57bf720ae3a2465b5420a46c1100008c20ad245088be691174c9221683a70ac4c3af5f8fb48577706d4db24a55fe90624d034 diff --git a/media-radio/qrq/qrq-0.3.5.ebuild b/media-radio/qrq/qrq-0.3.5.ebuild new file mode 100644 index 000000000000..5a47c640e5d0 --- /dev/null +++ b/media-radio/qrq/qrq-0.3.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 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}" +BDEPEND="virtual/pkgconfig" + +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 PKG_CONFIG="$(tc-getPKG_CONFIG)" ${CONF} +} + +src_install() { + emake ${CONF} DESTDIR="${D}/usr" install + dodoc AUTHORS ChangeLog README +} |