* [gentoo-commits] proj/gamerlay:master commit in: x11-apps/dunan/
@ 2011-03-08 7:15 Marcel Unbehaun
0 siblings, 0 replies; only message in thread
From: Marcel Unbehaun @ 2011-03-08 7:15 UTC (permalink / raw
To: gentoo-commits
commit: e51f5d4a3cbbceeca0e3c92a690c7b4382a085ac
Author: Marcel Unbehaun <frostworks <AT> gmx <DOT> de>
AuthorDate: Tue Mar 8 07:13:40 2011 +0000
Commit: Marcel Unbehaun <frostworks <AT> gmx <DOT> de>
CommitDate: Tue Mar 8 07:13:40 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=e51f5d4a
[x11-apps/dunan] new dunan-0.6.ebuild
[x11-apps/dunan] updated Manifest
---
x11-apps/dunan/dunan-0.6.ebuild | 45 +++++++++++++++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/x11-apps/dunan/dunan-0.6.ebuild b/x11-apps/dunan/dunan-0.6.ebuild
new file mode 100644
index 0000000..eaa996e
--- /dev/null
+++ b/x11-apps/dunan/dunan-0.6.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: x11-apps/dunan/dunan-0.5.ebuild,v 1.0 2010/03/03 11:52:29 by frostwork Exp $
+
+EAPI="2"
+
+inherit eutils
+
+DESCRIPTION="animated 3D MMD models on the desktop"
+HOMEPAGE="http://www.frostworx.de"
+SRC_URI="http://www.frostworx.de/dunan/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="sdl -fmod"
+
+RDEPEND="media-libs/ftgl
+ media-libs/libmmd
+ virtual/opengl
+ sdl? ( media-libs/sdl-mixer )
+ fmod? ( =media-libs/fmod-3* )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ if use sdl && use fmod ; then
+ ewarn "both sdl and fmod useflag not possible!"
+ die "disable fmod useflag in favour of sdl-mixer"
+ fi
+ if use fmod; then
+ echo "SOUNDFLAGS = -DFMOD -DMUSIC" >> Makefile
+ echo "SOUNDLIBS = -lfmod" >> Makefile
+ fi
+ if use sdl; then
+ echo "SOUNDFLAGS = -DSDLMIXER -DMUSIC `sdl-config --cflags`" >> Makefile
+ echo "SOUNDLIBS = `sdl-config --libs` -lSDL_mixer" >> Makefile
+ fi
+}
+
+src_install() {
+ dobin ${PN}
+ newicon ${PN}.png ${PN}.png
+ make_desktop_entry ${PN} ${PN}
+ dodoc README
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-08 7:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-08 7:15 [gentoo-commits] proj/gamerlay:master commit in: x11-apps/dunan/ Marcel Unbehaun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox