[proaudio] [1977] import media-sound/goattracker

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1977
Author:   gavlee
Date:     2011-05-12 19:46:10 +0200 (Thu, 12 May 2011)
Log Message:
-----------
import media-sound/goattracker

Added Paths:
-----------
    trunk/overlays/proaudio/media-sound/goattracker/
    trunk/overlays/proaudio/media-sound/goattracker/ChangeLog
    trunk/overlays/proaudio/media-sound/goattracker/Manifest
    trunk/overlays/proaudio/media-sound/goattracker/files/
    trunk/overlays/proaudio/media-sound/goattracker/files/goattracker-2.71-makefiles.patch
    trunk/overlays/proaudio/media-sound/goattracker/goattracker-2.71.ebuild
    trunk/overlays/proaudio/media-sound/goattracker/metadata.xml

Added: trunk/overlays/proaudio/media-sound/goattracker/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/goattracker/ChangeLog	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/goattracker/ChangeLog	2011-05-12 17:46:10 UTC (rev 1977)
@@ -0,0 +1,12 @@
+# ChangeLog for media-sound/goattracker
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*goattracker-2.71 (12 May 2011)
+
+  12 May 2011; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+  +goattracker-2.71.ebuild, +files/goattracker-2.71-makefiles.patch,
+  +metadata.xml:
+  Import from my overlay. Needed some makefiles patched for Gentoo. Still
+  however bundles (modified?) resid in source tree.
+

Added: trunk/overlays/proaudio/media-sound/goattracker/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/goattracker/Manifest	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/goattracker/Manifest	2011-05-12 17:46:10 UTC (rev 1977)
@@ -0,0 +1,5 @@
+AUX goattracker-2.71-makefiles.patch 2257 RMD160 129a21cd4e0006e71b370109444d968deeda01c5 SHA1 a6e49bafb47dceef0e6dab111e03cbbf75e69bee SHA256 5912ad5f3a363d8144a6a63599da9f51d83c0fd164c562d8abe32baeb1d3efb7
+DIST GoatTracker_2.71.zip 896805 RMD160 3b410876c58010e4dee2dc5e9d48cdee2c5e30b8 SHA1 e46df1da44093cbc268e2be2ff1151ef321c5be0 SHA256 fed834b25f22af22fb3f1a93f25822637e11fc4e66223435991ca4c3363b18d2
+EBUILD goattracker-2.71.ebuild 1205 RMD160 b792e9641dd5f60b42f9be85a1729dffbb2f3db5 SHA1 c35ee0bf7343370218272ae6ca172f6ba03b5d63 SHA256 315ed542745d6d7a7f88940e7dbc0713dd5da74ed346340d7ffe1fb38dd12128
+MISC ChangeLog 426 RMD160 71c6f9089ee871069b18e2b22d56c33b7d3c7a78 SHA1 e0960c445a92d368ee23f2223e6608401a04e012 SHA256 e718ee72188c6b182e29410cbfa89e0616b020259604e54ed985f82d1ae5fdf1
+MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-sound/goattracker/files/goattracker-2.71-makefiles.patch
===================================================================
--- trunk/overlays/proaudio/media-sound/goattracker/files/goattracker-2.71-makefiles.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/goattracker/files/goattracker-2.71-makefiles.patch	2011-05-12 17:46:10 UTC (rev 1977)
@@ -0,0 +1,82 @@
+--- src/makefile.original	2011-05-06 18:42:13.953015316 +0100
++++ src/makefile	2011-05-06 18:42:51.568015335 +0100
+@@ -2,7 +2,7 @@
+ # Linux makefile
+ #
+ 
+-CFLAGS=`sdl-config --cflags`
++CPPFLAGS=`sdl-config --cflags`
+ PREFIX=../linux/
+ SUFFIX=
+ LIBS=`sdl-config --libs`
+--- src/bme/makefile.original	2011-05-06 17:57:06.365013988 +0100
++++ src/bme/makefile	2011-05-12 18:27:01.605236316 +0100
+@@ -1,10 +1,10 @@
+ all: dat2inc datafile
+ 
+ datafile: datafile.c bme_end.c
+-	gcc -o datafile datafile.c bme_end.c
++	$(CC) -o datafile datafile.c bme_end.c
+ 	strip datafile
+ 
+ dat2inc: dat2inc.c
+-	gcc -o dat2inc dat2inc.c
++	$(CC) -o dat2inc dat2inc.c
+ 	strip dat2inc
+ 
+--- src/makefile.common.original	2011-05-06 17:50:20.645013802 +0100
++++ src/makefile.common	2011-05-12 18:30:57.936236433 +0100
+@@ -1,9 +1,11 @@
+ # common makefile directives for linux and win32 build
+ 
+-CC=gcc
+-CXX=g++
+-CFLAGS+=-O3 -Wall -Ibme -Iasm
+-CXXFLAGS=$(CFLAGS)
++CC ?= gcc
++CXX ?= g++
++CPPFLAGS += -Ibme -Iasm
++EXTFLAGS = -Wall
++CFLAGS ?= -O3
++CXXFLAGS ?= -O3
+ 
+ EXE=	$(PREFIX)goattrk2$(SUFFIX) \
+ 	$(PREFIX)ins2snd2$(SUFFIX) \
+@@ -23,30 +25,30 @@
+ asm/asmtab.o asm/chnkpool.o asm/expr.o asm/lexyy.o asm/log.o asm/membuf.o asm/membufio.o asm/namedbuf.o asm/parse.o \
+ asm/pc.o asm/vec.o \
+ bme/bme_gfx.o bme/bme_snd.o bme/bme_win.o bme/bme_mou.o bme/bme_kbd.o bme/bme_io.o bme/bme_end.o bme/bme.o
+-	$(CXX) -o $@ $^ $(LIBS)
++	$(CXX) $(LDFLAGS) $(EXTFLAGS) -o $@ $^ $(LIBS)
+ 	strip $@
+ 
+ $(PREFIX)mod2sng$(SUFFIX): mod2sng.o bme/bme_end.o
+-	gcc -o $@ $^
++	$(CC) $(LDFLAGS) $(EXTFLAGS) -o $@ $^
+ 	strip $@
+ 
+ $(PREFIX)ins2snd2$(SUFFIX): ins2snd2.o bme/bme_end.o
+-	gcc -o $@ $^
++	$(CC) $(LDFLAGS) $(EXTFLAGS) -o $@ $^
+ 	strip $@
+ 
+ $(PREFIX)sngspli2$(SUFFIX): sngspli2.o bme/bme_end.o
+-	gcc -o $@ $^
++	$(CC) $(LDFLAGS) $(EXTFLAGS) -o $@ $^
+ 	strip $@
+ 
+ $(PREFIX)betaconv$(SUFFIX): betaconv.o bme/bme_end.o
+-	gcc -o $@ $^
++	$(CC) $(LDFLAGS) $(EXTFLAGS) -o $@ $^
+ 	strip $@
+ 
+ goattrk2.dat: player.s altplayer.s chargen.bin palette.bin cursor.bin goattrk2.bmp goattrk2.seq
+-	datafile $@ goattrk2.seq
++	bme/datafile $@ goattrk2.seq
+ 
+ goatdata.c: goattrk2.dat
+-	dat2inc $< $@
++	bme/dat2inc $< $@
+ 
+ clean:
+ 	$(RM) *.o *~

Added: trunk/overlays/proaudio/media-sound/goattracker/goattracker-2.71.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/goattracker/goattracker-2.71.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/goattracker/goattracker-2.71.ebuild	2011-05-12 17:46:10 UTC (rev 1977)
@@ -0,0 +1,56 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+MY_P=GoatTracker_${PV}
+
+DESCRIPTION="A tracker-like music editor for creating C64 MOS 6581/8580 SID music"
+HOMEPAGE="http://covertbitops.c64.org/";
+SRC_URI="mirror://sourceforge/goattracker2/GoatTracker%202/${PV}/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples"
+
+RDEPEND=">=media-libs/libsdl-1.2.14"
+DEPEND="${DEPEND}
+	app-arch/unzip"
+# resid seems to be bundled in the source tree
+#>=media-libs/resid-0.16_p2
+
+S=${WORKDIR}
+RESTRICT="mirror"
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}/${P}-makefiles.patch"
+	# don't strip binaries
+	sed -i -e "s/strip/#strip/g" src/bme/makefile src/makefile.common || die
+}
+
+src_compile() {
+	tc-export CC CXX
+	cd src/bme
+	emake || die "compile src/bme failed"
+	cd ..
+	emake || die "compile src failed"
+}
+
+src_install() {
+	pushd linux
+	dobin betaconv goattrk2 ins2snd2 mod2sng sngspli2 || die
+	popd
+
+	dodoc authors readme.txt goat_tracker_commands.pdf
+
+	if use examples; then
+		insinto "/usr/share/doc/${PF}/examples"
+		pushd examples
+		doins *.ins *.sng *.txt
+		popd
+	fi
+}

Added: trunk/overlays/proaudio/media-sound/goattracker/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/goattracker/metadata.xml	                        (rev 0)
+++ trunk/overlays/proaudio/media-sound/goattracker/metadata.xml	2011-05-12 17:46:10 UTC (rev 1977)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>proaudio@xxxxxxxxxxxxx</email>
+		<name>pro-audio overlay team</name>
+	</maintainer>
+</pkgmetadata>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/