blob: 1f5a6d8689173de2409882d8d8c44f311a033e7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/alure-1.2.ebuild,v 1.4 2012/03/02 20:49:24 ssuominen Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="The OpenAL Utility Toolkit"
HOMEPAGE="http://kcat.strangesoft.net/alure.html"
SRC_URI="http://kcat.strangesoft.net/alure-releases/${P}.tar.bz2"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 x86"
IUSE="dumb examples flac fluidsynth mp3 sndfile static-libs vorbis"
RDEPEND=">=media-libs/openal-1.1
dumb? ( media-libs/dumb )
flac? ( media-libs/flac )
fluidsynth? ( >=media-sound/fluidsynth-1.1.1 )
mp3? ( media-sound/mpg123 )
sndfile? ( media-libs/libsndfile )
vorbis? ( media-libs/libvorbis )"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i -e "/DESTINATION/s:doc/alure:doc/${PF}:" CMakeLists.txt || die
}
src_configure() {
# FIXME: libmodplug/sndfile.h from libmodplug conflict with sndfile.h from libsndfile
local mycmakeargs=(
$(cmake-utils_use dumb)
$(cmake-utils_use_build examples)
$(cmake-utils_use flac)
$(cmake-utils_use fluidsynth)
-DMODPLUG=OFF
$(cmake-utils_use mp3 MPG123)
$(cmake-utils_use sndfile)
$(cmake-utils_use_build static-libs STATIC)
$(cmake-utils_use vorbis)
)
cmake-utils_src_configure
}
|