/[gentoo-x86]/media-sound/split2flac/split2flac-9999.ebuild
Gentoo

Contents of /media-sound/split2flac/split2flac-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat May 19 09:11:44 2012 UTC (2 years, 1 month ago) by ssuominen
Branch: MAIN
Changes since 1.3: +3 -3 lines
Ensure libmp4v2 headers and tools are present by forcing correct SLOT

(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/split2flac-9999.ebuild,v 1.3 2011/11/10 17:00:54 maksbotan Exp $
4
5 EAPI="4"
6
7 inherit mercurial
8
9 DESCRIPTION="sh script to split one big APE/FLAC/WV/WAV audio image with CUE sheet into tracks"
10 HOMEPAGE="https://code.google.com/p/split2flac/"
11 EHG_REPO_URI="https://code.google.com/p/split2flac/"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS=""
16 IUSE="enca flake imagemagick mac mp3 mp4 ogg replaygain wavpack"
17
18 RDEPEND="
19 app-cdr/cuetools
20 media-sound/shntool[mac?]
21 virtual/libiconv
22 media-libs/flac
23 enca? ( app-i18n/enca )
24 flake? ( media-sound/flake )
25 mp3? ( media-sound/lame || ( media-libs/mutagen media-libs/id3lib ) )
26 mp4? ( media-libs/faac media-libs/libmp4v2:0[utils] )
27 ogg? ( media-sound/vorbis-tools )
28 wavpack? ( media-sound/wavpack )
29 replaygain? (
30 mp3? ( media-sound/mp3gain )
31 mp4? ( media-sound/aacgain )
32 ogg? ( media-sound/vorbisgain )
33 )
34 imagemagick? ( media-gfx/imagemagick )
35 "
36
37 src_install() {
38 dobin "${PN}.sh"
39 dosym "${PN}.sh" /usr/bin/split2wav.sh
40 for i in mp3 mp4 ogg
41 do
42 use $i && dosym "${PN}.sh" /usr/bin/split2${i/mp4/m4a}.sh
43 done
44 }

  ViewVC Help
Powered by ViewVC 1.1.20