commit: d4594ccbe143cd21ffbe8a85f5e2c982d300be2f parent f6be5349d21b8731fd68dc9c6e1d31fc0eec6db4 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Fri, 31 May 2024 06:11:50 +0200 media-sound/sbagen: treeclean Closes: https://bugs.gentoo.org/807709Diffstat:
D | media-sound/sbagen/Manifest | 2 | -- |
D | media-sound/sbagen/metadata.xml | 11 | ----------- |
D | media-sound/sbagen/sbagen-1.4.5.ebuild | 53 | ----------------------------------------------------- |
3 files changed, 0 insertions(+), 66 deletions(-)diff --git a/media-sound/sbagen/Manifest b/media-sound/sbagen/Manifest
@@ -1,2 +0,0 @@ -DIST sbagen-1.4.5.tgz 713168 BLAKE2B ec0cd37517ab2673e265cd40fe8d001c2794f676df29ca735b747aa2223d2f3df680db321d262dc8c0427da47d570c7e76ad34cae8905b8a710822b4c7211337 SHA512 35a8cdf0ca59cef01200a102c6f718b163006eec6c3450e7ee32bac0454be2db4d9a4df2f1a52d6cc2beda1d45bf9a7816a2c9dfae710eef14dbe5667cec9bf9 -DIST sbagen-river-1.4.1.tgz 1773222 BLAKE2B f7e475a7c5e4af566c555820bb3589e4bf6a12e68164efc852bc82d65f328585d8cb1a10b861754e4a4c7ebad2661956b5e0b1098fadb257a8163e3bf2424031 SHA512 f61c9308c671dc9cef9b9e60ba37cc5a9dc6ac45b5ab34d0818e08f6006eeba0ede4756e0c5375b11963e04f4e1e801119af8df8726c867e3be399983b12bc30diff --git a/media-sound/sbagen/metadata.xml b/media-sound/sbagen/metadata.xml
@@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <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
@@ -1,53 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs flag-o-matic - -DESCRIPTION="Command line sequenced binaural beat generator" -HOMEPAGE="https://sbagen.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz - vorbis? ( sounds? ( https://uazu.net/sbagen/sbagen-river-1.4.1.tgz ) )" -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -RESTRICT="mirror" - -IUSE="mp3 vorbis sounds" - -DEPEND="mp3? ( media-libs/libmad ) - vorbis? ( media-libs/tremor )" -RDEPEND="${DEPEND} - virtual/pkgconfig" - -DOCS="README.txt SBAGEN.txt" - -src_prepare() { - default - rm -r libs || die "Removing third-party libs failed" - rm sbagen || die "Removing sbagen binary failed" - sed -i 's;"libs/mad.h";<mad.h>;' mp3dec.c || die "Fixing mp3dec.c include failed" - sed -i -r 's;include "libs/(.*.h)";include <tremor/\1>;' oggdec.c || die "Fixing oggdec.c include failed" -} - -src_compile() { - if use vorbis; then - append-flags -DOGG_DECODE $(pkg-config --libs vorbisidec) - fi - if use mp3; then - append-flags -DMP3_DECODE $(pkg-config --libs mad) - fi - - $(tc-getCC) ${CFLAGS} -DT_LINUX -Wall -lpthread ${LDFLAGS} sbagen.c -o sbagen || die "Sbagen: compilation failed" -} - -src_install() { - dobin sbagen - if use sounds; then - cd ../sbagen-1.4.1 - insinto "/usr/share/${PN}" - doins *.ogg - fi - einstalldocs -}