summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-11-23 02:18:13 -0500
committerTim Harder <radhermit@gentoo.org>2016-11-23 02:19:16 -0500
commit1a35ac312381a25dae0500d46ed833c8e84972d2 (patch)
treee70b3441cc6bdd323234030542deaef562b3c64c /media-sound/moc/moc-2.6_alpha3.ebuild
parentdev-ruby/vcard: add 0.2.14 (diff)
downloadgentoo-1a35ac312381a25dae0500d46ed833c8e84972d2.tar.gz
gentoo-1a35ac312381a25dae0500d46ed833c8e84972d2.tar.bz2
gentoo-1a35ac312381a25dae0500d46ed833c8e84972d2.zip
media-sound/moc: version bumps to 2.5.2 and 2.6_alpha3
Diffstat (limited to 'media-sound/moc/moc-2.6_alpha3.ebuild')
-rw-r--r--media-sound/moc/moc-2.6_alpha3.ebuild95
1 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/moc/moc-2.6_alpha3.ebuild b/media-sound/moc/moc-2.6_alpha3.ebuild
new file mode 100644
index 000000000000..1ab69ac7f2a8
--- /dev/null
+++ b/media-sound/moc/moc-2.6_alpha3.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P=${PN}-${PV/_/-}
+DESCRIPTION="Music On Console - ncurses interface for playing audio files"
+HOMEPAGE="http://moc.daper.net"
+SRC_URI="http://ftp.daper.net/pub/soft/moc/unstable/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aac alsa +cache curl debug ffmpeg flac jack libsamplerate mad +magic modplug musepack
+ oss sid sndfile speex timidity tremor +unicode vorbis wavpack"
+
+RDEPEND="
+ >=dev-libs/libltdl-2:0
+ dev-libs/popt
+ sys-libs/ncurses:0=[unicode?]
+ aac? ( media-libs/faad2 )
+ alsa? ( >=media-libs/alsa-lib-1.0.11 )
+ cache? ( >=sys-libs/db-4.1:= )
+ curl? ( >=net-misc/curl-7.15.1 )
+ ffmpeg? ( >=virtual/ffmpeg-9 )
+ flac? ( >=media-libs/flac-1.1.3 )
+ jack? ( >=media-sound/jack-audio-connection-kit-0.4 )
+ libsamplerate? ( >=media-libs/libsamplerate-0.1.0 )
+ mad? (
+ media-libs/libmad
+ sys-libs/zlib
+ media-libs/libid3tag
+ )
+ magic? ( sys-apps/file )
+ modplug? ( >=media-libs/libmodplug-0.7 )
+ musepack? (
+ media-sound/musepack-tools
+ >=media-libs/taglib-1.5
+ )
+ sid? ( >=media-libs/libsidplay-2.1.1 )
+ sndfile? ( >=media-libs/libsndfile-1.0.0 )
+ speex? ( >=media-libs/speex-1.0.0 )
+ timidity? (
+ >=media-libs/libtimidity-0.1.0
+ media-sound/timidity++
+ )
+ vorbis? (
+ >=media-libs/libogg-1.0
+ tremor? ( media-libs/tremor )
+ !tremor? ( >=media-libs/libvorbis-1.0 )
+ )
+ wavpack? ( >=media-sound/wavpack-4.31 )
+"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ local myconf=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ --without-rcc
+ $(use_enable debug)
+ $(use_enable cache)
+ $(use_with oss)
+ $(use_with alsa)
+ $(use_with jack)
+ $(use_with magic)
+ $(use_with unicode ncursesw)
+ $(use_with libsamplerate samplerate)
+ $(use_with aac)
+ $(use_with ffmpeg)
+ $(use_with flac)
+ $(use_with modplug)
+ $(use_with mad mp3)
+ $(use_with musepack)
+ $(use_with sid sidplay2)
+ $(use_with sndfile)
+ $(use_with speex)
+ $(use_with timidity)
+ $(use_with vorbis vorbis $(usex tremor tremor ""))
+ $(use_with wavpack)
+ $(use_with curl)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}