summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Goller <morfic@gentoo.org>2005-01-06 02:33:19 +0000
committerDaniel Goller <morfic@gentoo.org>2005-01-06 02:33:19 +0000
commit3afcbdd675382be0436b27ff5e8ca6c3cede6199 (patch)
tree71bf387e5720f2afa904d7241de1ded947d51c05 /games-emulation
parentmultilib fixes. (Manifest recommit) (diff)
downloadgentoo-2-3afcbdd675382be0436b27ff5e8ca6c3cede6199.tar.gz
gentoo-2-3afcbdd675382be0436b27ff5e8ca6c3cede6199.tar.bz2
gentoo-2-3afcbdd675382be0436b27ff5e8ca6c3cede6199.zip
initial commit of jttl_sound plugin
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/mupen64-jttl_sound/ChangeLog11
-rw-r--r--games-emulation/mupen64-jttl_sound/Manifest4
-rw-r--r--games-emulation/mupen64-jttl_sound/files/digest-mupen64-jttl_sound-1.21
-rw-r--r--games-emulation/mupen64-jttl_sound/files/mupen64-jttl_sound-gentoo-sdl.patch12
-rw-r--r--games-emulation/mupen64-jttl_sound/metadata.xml5
-rw-r--r--games-emulation/mupen64-jttl_sound/mupen64-jttl_sound-1.2.ebuild52
6 files changed, 85 insertions, 0 deletions
diff --git a/games-emulation/mupen64-jttl_sound/ChangeLog b/games-emulation/mupen64-jttl_sound/ChangeLog
new file mode 100644
index 000000000000..c1c030204488
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-emulation/mupen64-jttl_sound
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-jttl_sound/ChangeLog,v 1.1 2005/01/06 02:33:19 morfic Exp $
+
+*mupen64-jttl_sound-1.2 (05 Jan 2005)
+
+ 05 Jan 2005; Daniel Goller <morfic@gentoo.org>
+ +files/mupen64-jttl_sound-gentoo-sdl.patch,
+ +mupen64-jttl_sound-1.2.ebuild:
+ initial commit of jttl_sound plugin
+
diff --git a/games-emulation/mupen64-jttl_sound/Manifest b/games-emulation/mupen64-jttl_sound/Manifest
new file mode 100644
index 000000000000..35b7da7f4511
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/Manifest
@@ -0,0 +1,4 @@
+MD5 fd56b6396a582305204a9459a9a07e44 mupen64-jttl_sound-1.2.ebuild 1021
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 d36511359fea3ac49bf4143ff0a75c73 files/mupen64-jttl_sound-gentoo-sdl.patch 740
+MD5 15a6f8ba72caa4ce4756527060ba4d4d files/digest-mupen64-jttl_sound-1.2 66
diff --git a/games-emulation/mupen64-jttl_sound/files/digest-mupen64-jttl_sound-1.2 b/games-emulation/mupen64-jttl_sound/files/digest-mupen64-jttl_sound-1.2
new file mode 100644
index 000000000000..53343000f96a
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/files/digest-mupen64-jttl_sound-1.2
@@ -0,0 +1 @@
+MD5 7bb104cf6ca94c0e761027eb9895fcbe jttl_sound-1.2.tar.bz2 10015
diff --git a/games-emulation/mupen64-jttl_sound/files/mupen64-jttl_sound-gentoo-sdl.patch b/games-emulation/mupen64-jttl_sound/files/mupen64-jttl_sound-gentoo-sdl.patch
new file mode 100644
index 000000000000..80e8150b0162
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/files/mupen64-jttl_sound-gentoo-sdl.patch
@@ -0,0 +1,12 @@
+--- jttl_sound-1.2/Makefile.orig 2004-07-15 23:02:26.402954048 +0000
++++ jttl_sound-1.2/Makefile 2004-07-15 23:03:09.946334448 +0000
+@@ -1,8 +1,5 @@
+ CC = gcc
+-#CFLAGS = -g -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall `sdl-config --cflags` -lm `sdl-config --libs`
+-CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall `sdl-config --cflags`
+-
+-#CFLAGS = -g -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon `gtk-config --cflags` -DUSE_GTK -Wall
++CFLAGS = `gtk-config --cflags` -DUSE_GTK `sdl-config --cflags`
+
+ LD = gcc
+ LDFLAGS = -shared -Wl,-Bsymbolic `gtk-config --libs` -lpthread -lm `sdl-config --libs`
diff --git a/games-emulation/mupen64-jttl_sound/metadata.xml b/games-emulation/mupen64-jttl_sound/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-emulation/mupen64-jttl_sound/mupen64-jttl_sound-1.2.ebuild b/games-emulation/mupen64-jttl_sound/mupen64-jttl_sound-1.2.ebuild
new file mode 100644
index 000000000000..970874c24cf6
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/mupen64-jttl_sound-1.2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/mupen64-jttl_sound/mupen64-jttl_sound-1.2.ebuild,v 1.1 2005/01/06 02:33:19 morfic Exp $
+
+inherit games gcc eutils libtool
+
+IUSE="sdl"
+
+DESCRIPTION="A sound plugin for mupen64"
+SRC_URI="http://mupen64.emulation64.com/files/${PV}/jttl_sound-1.2.tar.bz2"
+HOMEPAGE="http://mupen64.emulation64.com/"
+
+RESTRICT="nomirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND="media-libs/libsdl
+ media-libs/sdl-sound"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+S="${WORKDIR}/jttl_sound-1.2"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-gentoo-sdl.patch
+ sed -i -e "s:CFLAGS.*=\(.*\):CFLAGS=\1 ${CFLAGS}:" Makefile || \
+ die "couldn't apply cflags"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ local dir=${GAMES_LIBDIR}/mupen64
+ dodir ${dir}
+
+ exeinto ${dir}/plugins
+ doexe *.so
+ cp jttl_audio.conf ${D}/${dir}/plugins
+
+ dodoc README
+
+ prepgamesdirs
+}
+