diff options
Diffstat (limited to 'media-radio/qrq')
-rw-r--r-- | media-radio/qrq/Manifest | 2 | ||||
-rw-r--r-- | media-radio/qrq/qrq-0.3.5.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/media-radio/qrq/Manifest b/media-radio/qrq/Manifest index 062e1163d33f..3666d9a37770 100644 --- a/media-radio/qrq/Manifest +++ b/media-radio/qrq/Manifest @@ -1,4 +1,6 @@ AUX qrq-0.3.2-tinfo.patch 642 BLAKE2B e7d865bf046c3fca8b5d100054e6408321cb8452db59a7be1786acf71c23142174bf73783e49dd072885cb7196bd9597a4645145ea318a3851ed7771b5515302 SHA512 3c732f033aa33b44f225b0b6302db3d629a9adabf92dcac4715d2236ab77715705a646d29fdc04d790cad624d9fde547f4ea841a39089d49cd52d4368f6b42ac DIST qrq-0.3.3.tar.gz 159832 BLAKE2B 7af974175777f6166303ece0e0cfa0a035d49e0c265cd513b771a280dc7ac0772a979f45923a14737ff58a64147f8c97a3978ccd7e4cd81fe4a38f3156766057 SHA512 025f0a350600a9f3f24cb00afcaa0e99c0be881e40684cc7ccbb9927d883372336c0b668bae21f232ce52dd221eb4ed950d306a32bab34e65f9f3cba9f28a484 +DIST qrq-0.3.5.tar.gz 195012 BLAKE2B 55787fae08f730beda4c61b347da0c6ea874eaeb1c3fbadb57019eca62f24a3cb8b4c6dd43b4afab81d3b55d4ca1986a870d5d1d0da32ebc6033498741188c42 SHA512 f4db39cce484f9c2b7a55ec4aaf57bf720ae3a2465b5420a46c1100008c20ad245088be691174c9221683a70ac4c3af5f8fb48577706d4db24a55fe90624d034 EBUILD qrq-0.3.3.ebuild 942 BLAKE2B 3ebc21f7477067a14ed26cbc05fef590dc5bf967075f547eb3d406834629c67d78845c86028062bde8231e1a7b8b7d96313bceda3de857ce525bacb8d9bfd9ed SHA512 293e2120591f3895010fbfe459ea8e7705dc1a8636568f0050eca57d19451d1b6bd0c03d8c0468c58439edcce17ea9745c06bb18119450316c9e525ac12420fe +EBUILD qrq-0.3.5.ebuild 946 BLAKE2B 7f580f68c62d92e7574e0f7e6ddda5bf96e9bbd6aed10c4042bfb9551e246d2bde868f67fcabc25c82520f46694c41ce3d4af4a9686a4765057e61093c2152ce SHA512 b5866b9ca5a51087fdaf6ec4d04c1c015386b7ec2d57ec655c4fed5f0504f13f51bb24afe43dc9e70282ecaaff74ac109571597ebcaee194139f4f8e0b6be4c0 MISC metadata.xml 250 BLAKE2B 73afdd27824ddad49c748f845fb81e8b64d10b29a271175198b7c893096d6d5c64bf736446ec01c9679b7978925de4df8159761e1c3fdb83436468c882a72f85 SHA512 f5d1c70de88ecdf2edd6f5d68f44e26fd99705a91c52269b39c03240b06ab1d8299d03a2af5828c8f22198ec1188f14f957064c8459f27a8f2efea25398bdf4d 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 +} |