summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-11 17:10:42 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-11 17:10:42 +0000
commit302d11a3adcea82c6cea70b8831417fdad2a61fe (patch)
tree5fae8a00e0b0e8b6c7e9d85203cdd10c4850b35e /media-libs
parentppc64 stable wrt #361401 (diff)
downloadgentoo-2-302d11a3adcea82c6cea70b8831417fdad2a61fe.tar.gz
gentoo-2-302d11a3adcea82c6cea70b8831417fdad2a61fe.tar.bz2
gentoo-2-302d11a3adcea82c6cea70b8831417fdad2a61fe.zip
Version bump.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/alure/ChangeLog9
-rw-r--r--media-libs/alure/alure-1.1.ebuild45
-rw-r--r--media-libs/alure/metadata.xml4
3 files changed, 56 insertions, 2 deletions
diff --git a/media-libs/alure/ChangeLog b/media-libs/alure/ChangeLog
index 80050a5ecb38..be6cf0151ec5 100644
--- a/media-libs/alure/ChangeLog
+++ b/media-libs/alure/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/alure
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/ChangeLog,v 1.2 2010/04/27 20:09:48 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/ChangeLog,v 1.3 2011/04/11 17:10:42 ssuominen Exp $
+
+*alure-1.1 (11 Apr 2011)
+
+ 11 Apr 2011; Samuli Suominen <ssuominen@gentoo.org> +alure-1.1.ebuild:
+ Version bump.
27 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> alure-1.0.ebuild:
amd64 stable and fix documentation directory wrt #300514 by Diego E.
diff --git a/media-libs/alure/alure-1.1.ebuild b/media-libs/alure/alure-1.1.ebuild
new file mode 100644
index 000000000000..496f97ed61e4
--- /dev/null
+++ b/media-libs/alure/alure-1.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/alure/alure-1.1.ebuild,v 1.1 2011/04/11 17:10:42 ssuominen Exp $
+
+EAPI=2
+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 ~x86"
+IUSE="dumb 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() {
+ # -DMODPLUG because libmodplug has header called libmodplug/sndfile.h
+ # that conflicts with sndfile.h from libsndfile!
+ local mycmakeargs=(
+ $(cmake-utils_use dumb)
+ $(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
+}
diff --git a/media-libs/alure/metadata.xml b/media-libs/alure/metadata.xml
index 3bf6bcfeb512..a847fb9fd19a 100644
--- a/media-libs/alure/metadata.xml
+++ b/media-libs/alure/metadata.xml
@@ -2,4 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sound</herd>
+ <use>
+ <flag name="dumb">Enable <pkg>media-libs/dumb</pkg> module library support</flag>
+ <flag name="fluidsynth">Enables Fluidsynth MIDI software synthesis</flag>
+ </use>
</pkgmetadata>