logo

overlay

My (experimental) gentoo overlay
commit: f6795df6f6b9add75e782f75107fe51ef0d9dee8
parent: 963f901c7ac22aa151042c57c0902b62dfbf6e5c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Wed,  7 Mar 2018 04:07:57 +0100

media-sound/sbagen: Fix sounds

Diffstat:

Mmedia-sound/sbagen/Manifest1+
Mmedia-sound/sbagen/metadata.xml3+++
Mmedia-sound/sbagen/sbagen-1.4.5.ebuild14++++++++------
3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/media-sound/sbagen/Manifest b/media-sound/sbagen/Manifest @@ -1 +1,2 @@ DIST sbagen-1.4.5.tgz 713168 SHA256 02b05d0f89f1baa6e6b282f4a5db279b4c59ee6fc400a5a9686aa11287f220e4 SHA512 35a8cdf0ca59cef01200a102c6f718b163006eec6c3450e7ee32bac0454be2db4d9a4df2f1a52d6cc2beda1d45bf9a7816a2c9dfae710eef14dbe5667cec9bf9 WHIRLPOOL fb7f7802aedf5ff08c76080cf61c53945145a3b219e1f75bc5535b2ff52f8f4844aac624d2e6a9f7dfb3f643da2a86f044fad13b1ca05091dc00655fd3a8a578 +DIST sbagen-river-1.4.1.tgz 1773222 SHA256 81545ec71461421f938dc2febd9379dc36886a84df30deee20cd43eae81a5765 SHA512 f61c9308c671dc9cef9b9e60ba37cc5a9dc6ac45b5ab34d0818e08f6006eeba0ede4756e0c5375b11963e04f4e1e801119af8df8726c867e3be399983b12bc30 WHIRLPOOL 42a4b6d67232d8eb928247ba31a308df81808eff57432903d1685e2b6703faff3d7111e24506a06a6631e0054bd778d44bade214cae24ac1dcb910091527868d diff --git a/media-sound/sbagen/metadata.xml b/media-sound/sbagen/metadata.xml @@ -5,4 +5,7 @@ <email>contact@hacktivis.me</email> <name>Haelwenn (lanodan) Monnier</name> </maintainer> +<use> + <flag name="sounds">Downloads extra sounds (in Vorbis)</flag> +</use> </pkgmetadata> diff --git a/media-sound/sbagen/sbagen-1.4.5.ebuild b/media-sound/sbagen/sbagen-1.4.5.ebuild @@ -7,18 +7,19 @@ inherit toolchain-funcs flag-o-matic DESCRIPTION="Command line sequenced binaural beat generator" HOMEPAGE="http://sbagen.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz + vorbis? ( sounds? ( http://uazu.net/sbagen/sbagen-river-1.4.1.tgz ) )" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" RESTRICT="mirror" -IUSE="mp3 vorbis" +IUSE="mp3 vorbis sounds" -RDEPEND="${DEPEND} - virtual/pkgconfig" DEPEND="mp3? ( media-libs/libmad ) vorbis? ( media-libs/tremor )" +RDEPEND="${DEPEND} + virtual/pkgconfig" DOCS="README.txt SBAGEN.txt" @@ -43,8 +44,9 @@ src_compile() { src_install() { dobin sbagen - if use vorbis; then - insinto ${EPREFIX}/usr/share/${PN} + if use sounds; then + cd ../sbagen-1.4.1 + insinto "/usr/share/${PN}" doins *.ogg fi einstalldocs