/[gentoo-x86]/media-sound/moc/moc-2.5.0_alpha4_p20120501-r1.ebuild
Gentoo

Contents of /media-sound/moc/moc-2.5.0_alpha4_p20120501-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Dec 3 10:21:27 2012 UTC (2 years ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha143/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

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/moc/moc-2.5.0_alpha4_p20120501-r1.ebuild,v 1.1 2012/05/21 04:40:03 ssuominen Exp $
4
5 EAPI=4
6 inherit autotools eutils
7
8 DESCRIPTION="Music On Console - ncurses interface for playing audio files"
9 HOMEPAGE="http://moc.daper.net"
10 SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.tar.xz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="aac alsa curl debug ffmpeg flac jack libsamplerate mad modplug musepack
16 oss sid sndfile speex timidity +unicode vorbis wavpack"
17
18 # libltdl from libtool is used at runtime
19 RDEPEND=">=sys-devel/libtool-2.2.6b
20 >=sys-libs/db-4
21 sys-libs/ncurses[unicode?]
22 aac? ( media-libs/faad2 )
23 alsa? ( media-libs/alsa-lib )
24 curl? ( net-misc/curl )
25 ffmpeg? ( virtual/ffmpeg )
26 flac? ( media-libs/flac )
27 jack? ( media-sound/jack-audio-connection-kit )
28 libsamplerate? ( media-libs/libsamplerate )
29 mad? ( media-libs/libmad sys-libs/zlib media-libs/libid3tag )
30 modplug? ( media-libs/libmodplug )
31 musepack? ( media-sound/musepack-tools media-libs/taglib )
32 sid? ( >=media-libs/libsidplay-2 )
33 sndfile? ( media-libs/libsndfile )
34 speex? ( media-libs/speex )
35 timidity? ( media-libs/libtimidity media-sound/timidity++ )
36 vorbis? ( media-libs/libogg media-libs/libvorbis )
37 wavpack? ( media-sound/wavpack )"
38 DEPEND="${RDEPEND}
39 app-arch/xz-utils
40 virtual/pkgconfig"
41
42 src_prepare() {
43 epatch "${FILESDIR}"/${PN}-libresid-builder.so_not_la.patch #416619
44 eautoreconf
45 }
46
47 src_configure() {
48 local myconf=(
49 --docdir="${EPREFIX}"/usr/share/doc/${PF}
50 $(use_enable debug)
51 $(use_with oss)
52 $(use_with alsa)
53 $(use_with jack)
54 $(use_with unicode ncursesw)
55 $(use_with libsamplerate samplerate)
56 $(use_with aac)
57 $(use_with ffmpeg)
58 $(use_with flac)
59 $(use_with modplug)
60 $(use_with mad mp3)
61 --without-rcc
62 $(use_with musepack)
63 $(use_with sid sidplay2)
64 $(use_with sndfile)
65 $(use_with speex)
66 $(use_with timidity)
67 $(use_with vorbis)
68 $(use_with wavpack)
69 $(use_with curl)
70 )
71
72 econf "${myconf[@]}"
73 }
74
75 src_install() {
76 emake DESTDIR="${D}" install
77 dodoc AUTHORS NEWS TODO # The rest is installed by doc_DATA from "${S}"/Makefile.am
78 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
79 }

  ViewVC Help
Powered by ViewVC 1.1.20