diff options
Diffstat (limited to 'media-sound/split2flac')
-rw-r--r-- | media-sound/split2flac/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/split2flac/split2flac-114.ebuild | 55 |
2 files changed, 61 insertions, 1 deletions
diff --git a/media-sound/split2flac/ChangeLog b/media-sound/split2flac/ChangeLog index 6ce360d56a0a..060e37909b64 100644 --- a/media-sound/split2flac/ChangeLog +++ b/media-sound/split2flac/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/split2flac # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/ChangeLog,v 1.13 2013/10/21 07:56:37 tomwij Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/ChangeLog,v 1.14 2013/12/06 18:44:57 maksbotan Exp $ + +*split2flac-114 (06 Dec 2013) + + 06 Dec 2013; Maxim Koltsov <maksbotan@gentoo.org> +split2flac-114.ebuild: + Bump to 114, change SRC_URI to github. Thanks to Nikoli. *split2flac-113_p20131017 (21 Oct 2013) diff --git a/media-sound/split2flac/split2flac-114.ebuild b/media-sound/split2flac/split2flac-114.ebuild new file mode 100644 index 000000000000..3cea87bd37d0 --- /dev/null +++ b/media-sound/split2flac/split2flac-114.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/split2flac/split2flac-114.ebuild,v 1.1 2013/12/06 18:44:57 maksbotan Exp $ + +EAPI="5" + +EGIT_REPO_URI="https://github.com/ftrvxmtrx/split2flac.git" + +inherit bash-completion-r1 +[[ ${PV} == *9999* ]] && inherit git-2 + +DESCRIPTION="sh script to split one big APE/FLAC/WV/WAV audio image with CUE sheet into tracks" +HOMEPAGE="https://github.com/ftrvxmtrx/split2flac" +[[ ${PV} == *9999* ]] || \ +SRC_URI="https://github.com/ftrvxmtrx/split2flac/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +[[ ${PV} == *9999* ]] || \ +KEYWORDS="~amd64 ~x86" +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:0[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_configure() { :; } + +src_compile() { :; } + +src_install() { + dobin ${PN} + newbashcomp ${PN}-bash-completion.sh ${PN} + + dosym ${PN} /usr/bin/split2wav + for i in mp3 mp4 ogg + do + use $i && dosym ${PN} /usr/bin/split2${i/mp4/m4a} + done +} |