/[gentoo-x86]/media-sound/moc/moc-2.6_alpha1.ebuild
Gentoo

Contents of /media-sound/moc/moc-2.6_alpha1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Oct 8 02:29:20 2014 UTC (5 years, 4 months ago) by radhermit
Branch: MAIN
Version bump.

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

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 MY_P=${P/_/-}
8 DESCRIPTION="Music On Console - ncurses interface for playing audio files"
9 HOMEPAGE="http://moc.daper.net"
10 SRC_URI="http://ftp.daper.net/pub/soft/moc/unstable/${MY_P}.tar.xz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
15 IUSE="aac alsa +cache curl debug ffmpeg flac jack libsamplerate mad +magic modplug musepack
16 oss sid sndfile speex timidity tremor +unicode vorbis wavpack"
17
18 # libltdl from libtool is used at runtime
19 RDEPEND=">=sys-devel/libtool-2.2.6b
20 sys-libs/ncurses[unicode?]
21 aac? ( media-libs/faad2 )
22 alsa? ( media-libs/alsa-lib )
23 cache? ( >=sys-libs/db-4 )
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 magic? ( sys-apps/file )
31 modplug? ( media-libs/libmodplug )
32 musepack? ( media-sound/musepack-tools media-libs/taglib )
33 sid? ( >=media-libs/libsidplay-2 )
34 sndfile? ( media-libs/libsndfile )
35 speex? ( media-libs/speex )
36 timidity? ( media-libs/libtimidity media-sound/timidity++ )
37 vorbis? (
38 media-libs/libogg
39 tremor? ( media-libs/tremor )
40 !tremor? ( media-libs/libvorbis )
41 )
42 wavpack? ( media-sound/wavpack )"
43 DEPEND="${RDEPEND}
44 app-arch/xz-utils
45 virtual/pkgconfig"
46
47 S=${WORKDIR}/${MY_P}
48
49 src_configure() {
50 local myconf=(
51 --docdir="${EPREFIX}"/usr/share/doc/${PF}
52 $(use_enable debug)
53 $(use_enable cache)
54 $(use_with oss)
55 $(use_with alsa)
56 $(use_with jack)
57 $(use_with magic)
58 $(use_with unicode ncursesw)
59 $(use_with libsamplerate samplerate)
60 $(use_with aac)
61 $(use_with ffmpeg)
62 $(use_with flac)
63 $(use_with modplug)
64 $(use_with mad mp3)
65 --without-rcc
66 $(use_with musepack)
67 $(use_with sid sidplay2)
68 $(use_with sndfile)
69 $(use_with speex)
70 $(use_with timidity)
71 $(use_with vorbis vorbis $(usex tremor tremor ""))
72 $(use_with wavpack)
73 $(use_with curl)
74 )
75
76 econf "${myconf[@]}"
77 }
78
79 src_install() {
80 default
81 find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
82 }

  ViewVC Help
Powered by ViewVC 1.1.20