From 91d2f1bd6421196c5b9d3c2051504e469336f9fc Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Tue, 11 Oct 2011 16:56:37 +0000 Subject: Add split2flac-20110712 (Portage version: 2.1.10.26/cvs/Linux x86_64) --- media-sound/split2flac/ChangeLog | 8 +++- media-sound/split2flac/split2flac-20110712.ebuild | 47 +++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 media-sound/split2flac/split2flac-20110712.ebuild (limited to 'media-sound') diff --git a/media-sound/split2flac/ChangeLog b/media-sound/split2flac/ChangeLog index 0dd5e8506235..1c997f91173e 100644 --- a/media-sound/split2flac/ChangeLog +++ b/media-sound/split2flac/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/split2flac # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/ChangeLog,v 1.2 2011/09/22 18:34:43 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/ChangeLog,v 1.3 2011/10/11 16:56:37 maksbotan Exp $ + +*split2flac-20110712 (11 Oct 2011) + + 11 Oct 2011; Maxim Koltsov + +split2flac-20110712.ebuild: + Add snapshot version from last upstream HG commit 22 Sep 2011; Maxim Koltsov split2flac-9999.ebuild: Fix license to be MIT instead of GPL-2 diff --git a/media-sound/split2flac/split2flac-20110712.ebuild b/media-sound/split2flac/split2flac-20110712.ebuild new file mode 100644 index 000000000000..b73d37d60c39 --- /dev/null +++ b/media-sound/split2flac/split2flac-20110712.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/split2flac-20110712.ebuild,v 1.1 2011/10/11 16:56:37 maksbotan Exp $ + +EAPI="4" + +DESCRIPTION="sh script to split one big APE/FLAC/WV/WAV audio image with CUE sheet into tracks" +HOMEPAGE="https://code.google.com/p/split2flac/" +SRC_URI="http://dev.gentoo.org/~maksbotan/${PN}-${PV}.sh" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="flake imagemagick mac mp3 mp4 ogg replaygain wavpack" + +RDEPEND=" + app-cdr/cuetools + media-sound/shntool[mac?] + virtual/libiconv + media-libs/flac + flake? ( media-sound/flake ) + mp3? ( media-sound/lame || ( media-libs/mutagen media-libs/id3lib ) ) + mp4? ( media-libs/faac media-libs/libmp4v2[utils] ) + ogg? ( media-sound/vorbis-tools ) + wavpack? ( media-sound/wavpack ) + replaygain? ( + mp3? ( media-sound/mp3gain ) + mp4? ( media-sound/aacgain ) + ogg? ( media-sound/vorbisgain ) + ) + imagemagick? ( media-gfx/imagemagick ) +" + +S="${WORKDIR}" + +src_unpack() { + cp "${DISTDIR}"/${PN}-${PV}.sh "${WORKDIR}"/${PN}.sh +} + +src_install() { + dobin "${PN}.sh" + dosym "${PN}.sh" /usr/bin/split2wav.sh + for i in mp3 mp4 ogg + do + use $i && dosym "${PN}.sh" /usr/bin/split2${i/mp4/m4a}.sh + done +} -- cgit v1.2.3-65-gdbad