diff options
Diffstat (limited to 'kde-base/libkdegames/libkdegames-4.9.0.ebuild')
-rw-r--r-- | kde-base/libkdegames/libkdegames-4.9.0.ebuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/kde-base/libkdegames/libkdegames-4.9.0.ebuild b/kde-base/libkdegames/libkdegames-4.9.0.ebuild index 7461b47b0ab7..687d66b8a01f 100644 --- a/kde-base/libkdegames/libkdegames-4.9.0.ebuild +++ b/kde-base/libkdegames/libkdegames-4.9.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/libkdegames/libkdegames-4.9.0.ebuild,v 1.1 2012/08/01 22:17:10 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/libkdegames/libkdegames-4.9.0.ebuild,v 1.2 2012/08/11 19:36:52 johu Exp $ EAPI=4 @@ -9,11 +9,23 @@ inherit kde4-meta DESCRIPTION="Base library common to many KDE games." KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="debug" +IUSE="debug openal" DEPEND=" >=dev-games/ggz-client-libs-0.0.14 + openal? ( + media-libs/libsndfile + media-libs/openal + ) " RDEPEND="${DEPEND}" KMSAVELIBS="true" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use openal USE_OPENAL_SNDFILE) + ) + + kde4-base_src_configure +} |