summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-10-14 20:49:06 +0000
committerTim Harder <radhermit@gentoo.org>2012-10-14 20:49:06 +0000
commitb78dc118adab9ec317d60049a56404f0085e7fb4 (patch)
treef93f72bf6812f4ca14fd38523f56a94255079ef4 /media-sound/moc
parentVersion bump, drop old. (diff)
downloadgentoo-2-b78dc118adab9ec317d60049a56404f0085e7fb4.tar.gz
gentoo-2-b78dc118adab9ec317d60049a56404f0085e7fb4.tar.bz2
gentoo-2-b78dc118adab9ec317d60049a56404f0085e7fb4.zip
Version bump.
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/moc')
-rw-r--r--media-sound/moc/ChangeLog8
-rw-r--r--media-sound/moc/metadata.xml1
-rw-r--r--media-sound/moc/moc-2.5.0_beta1.ebuild80
3 files changed, 88 insertions, 1 deletions
diff --git a/media-sound/moc/ChangeLog b/media-sound/moc/ChangeLog
index ae8c4cc5ff9a..607ef4806c6a 100644
--- a/media-sound/moc/ChangeLog
+++ b/media-sound/moc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-sound/moc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.100 2012/05/21 04:40:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/moc/ChangeLog,v 1.101 2012/10/14 20:49:06 radhermit Exp $
+
+*moc-2.5.0_beta1 (14 Oct 2012)
+
+ 14 Oct 2012; Tim Harder <radhermit@gentoo.org> +moc-2.5.0_beta1.ebuild,
+ metadata.xml:
+ Version bump.
*moc-2.5.0_alpha4_p20120501-r1 (21 May 2012)
diff --git a/media-sound/moc/metadata.xml b/media-sound/moc/metadata.xml
index c338a276b4d0..cb0cd126bf17 100644
--- a/media-sound/moc/metadata.xml
+++ b/media-sound/moc/metadata.xml
@@ -3,6 +3,7 @@
<pkgmetadata>
<herd>sound</herd>
<use>
+ <flag name="magic">Use libmagic to determine mimetypes</flag>
<flag name="sid">Build with SID (Commodore 64 Audio) support</flag>
</use>
</pkgmetadata>
diff --git a/media-sound/moc/moc-2.5.0_beta1.ebuild b/media-sound/moc/moc-2.5.0_beta1.ebuild
new file mode 100644
index 000000000000..926cfe491aeb
--- /dev/null
+++ b/media-sound/moc/moc-2.5.0_beta1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2012 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_beta1.ebuild,v 1.1 2012/10/14 20:49:06 radhermit Exp $
+
+EAPI=4
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Music On Console - ncurses interface for playing audio files"
+HOMEPAGE="http://moc.daper.net"
+SRC_URI="ftp://ftp.daper.net/pub/soft/moc/unstable/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="aac alsa curl debug ffmpeg flac jack libsamplerate mad +magic 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
+ dev-libs/popt
+ 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 )
+ magic? ( sys-apps/file )
+ 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/libogg media-libs/libvorbis )
+ wavpack? ( media-sound/wavpack )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ local myconf=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_enable debug)
+ $(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)
+ --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:=.*:='':" {} +
+}