summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-12-11 04:25:10 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-12-11 04:25:10 +0000
commitd48955c9f32f152ae5b4a1af87afdc0abe97c3eb (patch)
tree454562c88d7a7adedd5d07bb7c30291695352d7a /media-sound/moc
parentFix build with tests enabled (diff)
downloadgentoo-2-d48955c9f32f152ae5b4a1af87afdc0abe97c3eb.tar.gz
gentoo-2-d48955c9f32f152ae5b4a1af87afdc0abe97c3eb.tar.bz2
gentoo-2-d48955c9f32f152ae5b4a1af87afdc0abe97c3eb.zip
New snapshot.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/moc')
-rw-r--r--media-sound/moc/ChangeLog8
-rw-r--r--media-sound/moc/moc-2.5.0_alpha4_p20111211.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog
index 31900948d94e..455d7d83d99f 100644
--- a/media-sound/moc/ChangeLog
+++ b/media-sound/moc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/moc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.86 2011/05/01 17:05:43 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.87 2011/12/11 04:25:10 ssuominen Exp $
+
+*moc-2.5.0_alpha4_p20111211 (11 Dec 2011)
+
+ 11 Dec 2011; Samuli Suominen <ssuominen@gentoo.org>
+ +moc-2.5.0_alpha4_p20111211.ebuild:
+ New snapshot.
01 May 2011; Tomáš Chvátal <scarabeus@gentoo.org>
moc-2.5.0_alpha4_p20110428.ebuild, +files/moc-ffmpeg.patch:
diff --git a/media-sound/moc/moc-2.5.0_alpha4_p20111211.ebuild b/media-sound/moc/moc-2.5.0_alpha4_p20111211.ebuild
new file mode 100644
index 000000000000..12eecb4e736f
--- /dev/null
+++ b/media-sound/moc/moc-2.5.0_alpha4_p20111211.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/moc-2.5.0_alpha4_p20111211.ebuild,v 1.1 2011/12/11 04:25:10 ssuominen Exp $
+
+EAPI=4
+inherit autotools
+
+DESCRIPTION="Music On Console - ncurses interface for playing audio files"
+HOMEPAGE="http://moc.daper.net"
+SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aac alsa curl debug ffmpeg flac jack libsamplerate mad modplug musepack oss sid sndfile speex timidity +unicode vorbis wavpack"
+
+# libltdl from libtool is used at runtime
+RDEPEND=">=sys-devel/libtool-2.2.6b
+ >=sys-libs/db-4
+ sys-libs/ncurses[unicode?]
+ aac? ( media-libs/faad2 )
+ alsa? ( media-libs/alsa-lib )
+ curl? ( net-misc/curl )
+ ffmpeg? ( virtual/ffmpeg )
+ flac? ( media-libs/flac )
+ jack? ( media-sound/jack-audio-connection-kit )
+ libsamplerate? ( media-libs/libsamplerate )
+ mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag )
+ modplug? ( media-libs/libmodplug )
+ musepack? ( media-sound/musepack-tools media-libs/taglib )
+ sid? ( >=media-libs/libsidplay-2 )
+ sndfile? ( media-libs/libsndfile )
+ speex? ( media-libs/speex )
+ timidity? ( media-libs/libtimidity media-sound/timidity++ )
+ vorbis? ( media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_enable debug)
+ $(use_with oss)
+ $(use_with alsa)
+ $(use_with jack)
+ $(use_with unicode ncursesw)
+ $(use_with libsamplerate samplerate)
+ $(use_with aac)
+ $(use_with ffmpeg)
+ $(use_with flac)
+ $(use_with modplug)
+ $(use_with mad mp3)
+ --without-rcc
+ $(use_with musepack)
+ $(use_with sid sidplay2)
+ $(use_with sndfile)
+ $(use_with speex)
+ $(use_with timidity)
+ $(use_with vorbis)
+ $(use_with wavpack)
+ $(use_with curl)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS NEWS TODO # The rest is installed by doc_DATA from "${S}"/Makefile.am
+ find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
+}