summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-09-22 18:10:41 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-09-22 18:10:41 +0000
commitfde59508914866bef44058f90e37ea2b0bfbb6cb (patch)
tree21cf1f95d9cc25cd82baf37b5b19c70cc5322f45 /media-sound/split2flac
parentFix manifest (diff)
downloadgentoo-2-fde59508914866bef44058f90e37ea2b0bfbb6cb.tar.gz
gentoo-2-fde59508914866bef44058f90e37ea2b0bfbb6cb.tar.bz2
gentoo-2-fde59508914866bef44058f90e37ea2b0bfbb6cb.zip
Add media-sound/split2flac-9999. Thanks to Nikoli
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/split2flac')
-rw-r--r--media-sound/split2flac/ChangeLog11
-rw-r--r--media-sound/split2flac/metadata.xml21
-rw-r--r--media-sound/split2flac/split2flac-9999.ebuild43
3 files changed, 75 insertions, 0 deletions
diff --git a/media-sound/split2flac/ChangeLog b/media-sound/split2flac/ChangeLog
new file mode 100644
index 000000000000..0793883f5f3a
--- /dev/null
+++ b/media-sound/split2flac/ChangeLog
@@ -0,0 +1,11 @@
+# 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.1 2011/09/22 18:10:41 maksbotan Exp $
+
+*split2flac-9999 (22 Sep 2011)
+
+ 22 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> +split2flac-9999.ebuild,
+ +metadata.xml:
+ (ChangeLog by Nikoli <nikoli@lavabit.com>)
+ initial ebuild
+
diff --git a/media-sound/split2flac/metadata.xml b/media-sound/split2flac/metadata.xml
new file mode 100644
index 000000000000..633927b46c8a
--- /dev/null
+++ b/media-sound/split2flac/metadata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>nikoli@lavabit.com</email>
+ <name>Nikoli</name>
+ </maintainer>
+ <maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+ </maintainer>
+ <longdescription lang="en">
+ Split2flac splits one big APE/FLAC/WV/WAV audio image (or a collection of such files, recursively) with CUE sheet into FLAC/M4A/MP3/OGG_VORBIS/WAV tracks with tagging, renaming, charset conversion of cue sheet, album cover images. It also uses configuration file, so no need to pass a lot of arguments every time, only an input file. Should work in any POSIX-compliant shell.
+ </longdescription>
+ <use>
+ <flag name='flake'>Add support for Flake, alternative FLAC encoder</flag>
+ <flag name='mac'>Add support for Monkey's Audio files</flag>
+ <flag name='replaygain'>Support for Replay Gain metadata, for relative volume adjustment</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-sound/split2flac/split2flac-9999.ebuild b/media-sound/split2flac/split2flac-9999.ebuild
new file mode 100644
index 000000000000..e2f9e292a31b
--- /dev/null
+++ b/media-sound/split2flac/split2flac-9999.ebuild
@@ -0,0 +1,43 @@
+# 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-9999.ebuild,v 1.1 2011/09/22 18:10:41 maksbotan Exp $
+
+EAPI="4"
+
+inherit mercurial
+
+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/"
+EHG_REPO_URI="https://code.google.com/p/split2flac/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+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 )
+"
+
+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
+}