1 |
commit: ee0fcacb661a7c3b10874ba3828eb3a27fd824a0 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 13 20:52:32 2017 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 20:53:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0fcacb |
7 |
|
8 |
media-libs/alure: EAPI 6 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
media-libs/alure/alure-1.2-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 49 insertions(+) |
14 |
|
15 |
diff --git a/media-libs/alure/alure-1.2-r1.ebuild b/media-libs/alure/alure-1.2-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..8baa987faf |
18 |
--- /dev/null |
19 |
+++ b/media-libs/alure/alure-1.2-r1.ebuild |
20 |
@@ -0,0 +1,49 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit cmake-utils eutils |
27 |
+ |
28 |
+DESCRIPTION="The OpenAL Utility Toolkit" |
29 |
+HOMEPAGE="http://kcat.strangesoft.net/alure.html" |
30 |
+SRC_URI="http://kcat.strangesoft.net/alure-releases/${P}.tar.bz2" |
31 |
+ |
32 |
+LICENSE="MIT" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
35 |
+IUSE="dumb examples flac fluidsynth mp3 sndfile static-libs vorbis" |
36 |
+ |
37 |
+RDEPEND=">=media-libs/openal-1.1 |
38 |
+ dumb? ( media-libs/dumb ) |
39 |
+ flac? ( media-libs/flac ) |
40 |
+ fluidsynth? ( >=media-sound/fluidsynth-1.1.1 ) |
41 |
+ mp3? ( media-sound/mpg123 ) |
42 |
+ sndfile? ( media-libs/libsndfile ) |
43 |
+ vorbis? ( media-libs/libvorbis )" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+ |
46 |
+PATCJES=( "${FILESDIR}/${P}-include-unistd.patch" ) |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ cmake-utils_src_prepare |
50 |
+ |
51 |
+ sed -i -e "/DESTINATION/s:doc/alure:doc/${PF}:" CMakeLists.txt || die |
52 |
+} |
53 |
+ |
54 |
+src_configure() { |
55 |
+ # FIXME: libmodplug/sndfile.h from libmodplug conflict with sndfile.h from libsndfile |
56 |
+ local mycmakeargs=( |
57 |
+ -DMODPLUG=OFF |
58 |
+ -DDUMB=$(usex dumb) |
59 |
+ -DBUILD_EXAMPLES=$(usex examples) |
60 |
+ -DFLAC=$(usex flac) |
61 |
+ -DFLUIDSYNTH=$(usex fluidsynth) |
62 |
+ -DMPG123=$(usex mp3) |
63 |
+ -DSNDFILE=$(usex sndfile) |
64 |
+ -DBUILD_STATIC=$(usex static-libs) |
65 |
+ -DVORBIS=$(usex vorbis) |
66 |
+ ) |
67 |
+ |
68 |
+ cmake-utils_src_configure |
69 |
+} |