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
commit153b9f2fbab4a603041eabcc9b5e88de1d8ddff7 (patch)
tree8197996ee292e2b59c4e8ddf65893e1cfcd98316 /games-emulation
parentmultilib fixes. (diff)
downloadhistorical-153b9f2fbab4a603041eabcc9b5e88de1d8ddff7.tar.gz
historical-153b9f2fbab4a603041eabcc9b5e88de1d8ddff7.tar.bz2
historical-153b9f2fbab4a603041eabcc9b5e88de1d8ddff7.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/Manifest15
-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, 96 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..91e8ff440ef4
--- /dev/null
+++ b/games-emulation/mupen64-jttl_sound/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 a2cc69bb6bfe68514e45746dd8c8ff1b mupen64-jttl_sound-1.2.ebuild 1043
+MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
+MD5 8748e01af0d49a77e1d68f48b828e326 ChangeLog 448
+MD5 d36511359fea3ac49bf4143ff0a75c73 files/mupen64-jttl_sound-gentoo-sdl.patch 740
+MD5 15a6f8ba72caa4ce4756527060ba4d4d files/digest-mupen64-jttl_sound-1.2 66
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFB3KPJUpKYMelfdYERAi2wAJ0UWzeSNg3a1KRUFPvRZW3Al2h1FACePApY
+kcz8vy+iwnd7F2GVwlTaRPA=
+=Grpp
+-----END PGP SIGNATURE-----
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
+}
+