Files
@ 3af676bc3ac6
Branch filter:
Location: ohnobinki_overlay/media-libs/openal/openal-0.0.8-r2.ebuild - annotation
3af676bc3ac6
1.4 KiB
application/vnd.gentoo.ebuild
media-libs/openal: added version with pulseaudio support, added useflags
5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a 5e2834df504a | # Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/openal/openal-0.0.8-r2.ebuild,v 1.8 2008/12/17 05:09:40 ssuominen Exp $
inherit autotools eutils
DESCRIPTION="an open, vendor-neutral, cross-platform API for interactive, primarily spatialized audio"
HOMEPAGE="http://www.openal.org"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="alsa arts debug esd mp3 sdl vorbis"
RDEPEND="alsa? ( >=media-libs/alsa-lib-1.0.2 )
arts? ( kde-base/arts )
esd? ( media-sound/esound )
sdl? ( media-libs/libsdl )
vorbis? ( media-libs/libvorbis )
mp3? ( media-libs/libmad )"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
EPATCH_SUFFIX="patch"
epatch "${FILESDIR}"/${PV} || die
sed -i \
-e "/^Requires:/d" \
admin/pkgconfig/openal.pc.in || die "sed openal.pc.in failed"
eautoconf \
|| die "autoconf failed"
}
src_compile() {
econf \
--libdir=/usr/$(get_libdir) \
$(use_enable esd) \
$(use_enable sdl) \
$(use_enable alsa) \
$(use_enable arts) \
$(use_enable mp3) \
$(use_enable vorbis) \
$(use_enable debug debug-maximus) \
|| die "econf failed"
emake -j1 all \
|| die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install \
|| die "make install failed"
dodoc AUTHORS ChangeLog NEWS NOTES README TODO
}
|