diff options
author | James Broadhead <jamesbroadhead@gmail.com> | 2011-11-15 11:59:27 +0000 |
---|---|---|
committer | James Broadhead <jamesbroadhead@gmail.com> | 2011-11-15 11:59:27 +0000 |
commit | cb8b35b394bfcf3a89a0a992750015cd97b93154 (patch) | |
tree | 17a7857c8db7a6ca408cedcec2bb796767246a8a | |
parent | Add Descent1 license (diff) | |
download | jamesbroadhead-cb8b35b394bfcf3a89a0a992750015cd97b93154.tar.gz jamesbroadhead-cb8b35b394bfcf3a89a0a992750015cd97b93154.tar.bz2 jamesbroadhead-cb8b35b394bfcf3a89a0a992750015cd97b93154.zip |
Adding media-libs/gap as prep for next version of media-sound/gogglesmm
-rw-r--r-- | media-libs/gap/Manifest | 1 | ||||
-rw-r--r-- | media-libs/gap/gap-9999.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/media-libs/gap/Manifest b/media-libs/gap/Manifest new file mode 100644 index 0000000..f02a7fc --- /dev/null +++ b/media-libs/gap/Manifest @@ -0,0 +1 @@ +EBUILD gap-9999.ebuild 1663 RMD160 6996c546583d2d8ce861e1ba4dacc4033331ff06 SHA1 284410286eb4ffadf2b51c74038647f47c206f7e SHA256 fb5a3a1fb9f20d2601916c77af7c9150f720c5f59d4b3eb5e7ab59f1426abdbc diff --git a/media-libs/gap/gap-9999.ebuild b/media-libs/gap/gap-9999.ebuild new file mode 100644 index 0000000..1346392 --- /dev/null +++ b/media-libs/gap/gap-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit flag-o-matic mercurial + +DESCRIPTION="Gapless Audio Player Library for Goggles Musicmanager (media-sound/gogglesmm)" +HOMEPAGE="http://code.google.com/p/gogglesmm/" +EHG_REPO_URI="https://${PN}.gogglesmm.googlecode.com/hg/" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="" +IUSE="aac alsa cdda ffmpeg flac jack mad mms musepack ogg pulseaudio samba libsamplerate vorbis" + +DEPEND=">=x11-libs/fox-1.7.30 + dev-libs/glib:2 + aac? ( media-libs/faad2 ) + alsa? ( media-libs/alsa-lib ) + cdda? ( dev-libs/libcdio ) + ffmpeg? ( media-video/ffmpeg ) + flac? ( media-libs/flac ) + jack? ( >=media-sound/jack-audio-connection-kit-0.118.0 ) + mad? ( media-libs/libmad ) + mms? ( media-libs/libmms ) + musepack? ( media-sound/musepack-tools ) + ogg? ( media-libs/libogg ) + pulseaudio? ( media-sound/pulseaudio ) + samba? ( net-fs/samba[client] ) + libsamplerate? ( media-libs/libsamplerate ) + vorbis? ( media-libs/libvorbis )" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i 's/dash/sh/' configure || die + + # patch in --shared -fPIC into config.make ? + +} + +src_configure() { + econf \ + $(use_with aac faad) \ + $(use_with alsa ) \ + $(use_with cdda ) \ + $(use_with ffmpeg avcodec) \ + $(use_with flac ) \ + $(use_with jack ) \ + $(use_with mad ) \ + $(use_with mms ) \ + $(use_with musepack ) \ + $(use_with ogg ) \ + $(use_with pulseaudio pulse ) \ + $(use_with samba ) \ + $(use_with libsamplerate samplerate) \ + $(use_with vorbis ) \ + --enable-debug + --without-rsound # not in portage or sunrise +} + +src_compile() { + append-ldflags -shared -fPIC || die + + emake +} |