/[gentoo-x86]/media-sound/split2flac/split2flac-0.1_pre20111110-r2.ebuild
Gentoo

Contents of /media-sound/split2flac/split2flac-0.1_pre20111110-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat May 19 09:11:44 2012 UTC (2 years, 7 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +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-0.1_pre20111110-r2.ebuild,v 1.1 2011/11/28 18:17:42 maksbotan Exp $
4
5 EAPI="4"
6
7 DESCRIPTION="sh script to split one big APE/FLAC/WV/WAV audio image with CUE sheet into tracks"
8 HOMEPAGE="https://code.google.com/p/split2flac/"
9 SRC_URI="http://dev.gentoo.org/~maksbotan/${PN}-${PV##*_pre}-r1.sh"
10
11 LICENSE="MIT"
12 SLOT="0"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="enca flake imagemagick mac mp3 mp4 ogg replaygain wavpack"
15
16 RDEPEND="
17 app-cdr/cuetools
18 media-sound/shntool[mac?]
19 virtual/libiconv
20 media-libs/flac
21 enca? ( app-i18n/enca )
22 flake? ( media-sound/flake )
23 mp3? ( media-sound/lame || ( media-libs/mutagen media-libs/id3lib ) )
24 mp4? ( media-libs/faac media-libs/libmp4v2:0[utils] )
25 ogg? ( media-sound/vorbis-tools )
26 wavpack? ( media-sound/wavpack )
27 replaygain? (
28 mp3? ( media-sound/mp3gain )
29 mp4? ( media-sound/aacgain )
30 ogg? ( media-sound/vorbisgain )
31 )
32 imagemagick? ( media-gfx/imagemagick )
33 "
34
35 S="${WORKDIR}"
36
37 src_unpack() {
38 cp "${DISTDIR}"/${PN}-${PV##*_pre}-r1.sh "${WORKDIR}"/${PN}.sh
39 }
40
41 src_install() {
42 dobin "${PN}.sh"
43 dosym "${PN}.sh" /usr/bin/split2wav.sh
44 for i in mp3 mp4 ogg
45 do
46 use $i && dosym "${PN}.sh" /usr/bin/split2${i/mp4/m4a}.sh
47 done
48 }

  ViewVC Help
Powered by ViewVC 1.1.20