blob: c88475815f935d16627830089f53f5778972471d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# 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.3 2011/11/10 17:00:54 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="MIT"
SLOT="0"
KEYWORDS=""
IUSE="enca flake imagemagick mac mp3 mp4 ogg replaygain wavpack"
RDEPEND="
app-cdr/cuetools
media-sound/shntool[mac?]
virtual/libiconv
media-libs/flac
enca? ( app-i18n/enca )
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
}
|