public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marcel Unbehaun" <frostworks@gmx.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: x11-apps/dunan/
Date: Tue,  8 Mar 2011 07:15:33 +0000 (UTC)	[thread overview]
Message-ID: <e51f5d4a3cbbceeca0e3c92a690c7b4382a085ac.frostwork@gentoo> (raw)

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
+}



                 reply	other threads:[~2011-03-08  7:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e51f5d4a3cbbceeca0e3c92a690c7b4382a085ac.frostwork@gentoo \
    --to=frostworks@gmx.de \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox