summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Krier <cedk@gentoo.org>2006-07-30 13:11:54 +0000
committerCédric Krier <cedk@gentoo.org>2006-07-30 13:11:54 +0000
commit84b19dc70b8f782e17822baf954a623ac2d97b66 (patch)
treef671fd4cc7ac00dcd3ef3ec85bb029ec90cb65b0
parentmedia-sound/chuck: don't die on multiple USE-flags (diff)
downloadsunrise-84b19dc70b8f782e17822baf954a623ac2d97b66.tar.gz
sunrise-84b19dc70b8f782e17822baf954a623ac2d97b66.tar.bz2
sunrise-84b19dc70b8f782e17822baf954a623ac2d97b66.zip
media-sound/miniaudicle: New ebuild for bug 142175
svn path=/sunrise/; revision=743
-rw-r--r--media-sound/miniaudicle/ChangeLog9
-rw-r--r--media-sound/miniaudicle/Manifest24
-rw-r--r--media-sound/miniaudicle/files/digest-miniaudicle-0.1.3.33
-rw-r--r--media-sound/miniaudicle/files/miniaudicle-0.1.3.3-makefile.patch423
-rw-r--r--media-sound/miniaudicle/files/miniaudicle-0.1.3.3-unicode.patch116
-rw-r--r--media-sound/miniaudicle/metadata.xml5
-rw-r--r--media-sound/miniaudicle/miniaudicle-0.1.3.3.ebuild70
7 files changed, 650 insertions, 0 deletions
diff --git a/media-sound/miniaudicle/ChangeLog b/media-sound/miniaudicle/ChangeLog
new file mode 100644
index 000000000..2a9204353
--- /dev/null
+++ b/media-sound/miniaudicle/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-sound/miniaudicle
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 30 Jul 2006; Cedric Krier <ced@ced.homedns.org>
+ +miniaudicle-0.1.3.3.ebuild, +files/miniaudicle-0.1.3.3-makefile.patch,
+ +files/miniaudicle-0.1.3.3-unicode.patch, +metadata.xml:
+ New ebuild for bug 142175
+
diff --git a/media-sound/miniaudicle/Manifest b/media-sound/miniaudicle/Manifest
new file mode 100644
index 000000000..5a1891b32
--- /dev/null
+++ b/media-sound/miniaudicle/Manifest
@@ -0,0 +1,24 @@
+AUX miniaudicle-0.1.3.3-makefile.patch 15571 RMD160 67ea5c041c5cf9f2818dfc4280ea9247983ee56d SHA1 3e247048baacbace12940ee64774813addf53418 SHA256 86e6e25112171e73adb9d5a415555e00bed988c66da5b800d34df54df5747c44
+MD5 1ab4417348112fcabe81e36770c02136 files/miniaudicle-0.1.3.3-makefile.patch 15571
+RMD160 67ea5c041c5cf9f2818dfc4280ea9247983ee56d files/miniaudicle-0.1.3.3-makefile.patch 15571
+SHA256 86e6e25112171e73adb9d5a415555e00bed988c66da5b800d34df54df5747c44 files/miniaudicle-0.1.3.3-makefile.patch 15571
+AUX miniaudicle-0.1.3.3-unicode.patch 4452 RMD160 190baa8c391084c4f24a0b9c3c6780337bcfd71e SHA1 ef434389d9f3844022c48dcf962b3f62e9fdaf26 SHA256 e479dd5284218d883fe874c7cda102df4474b75a9dca3d85416f28a2ca6bd772
+MD5 8baf97a4ebf6d47e7e98d5f714e276e1 files/miniaudicle-0.1.3.3-unicode.patch 4452
+RMD160 190baa8c391084c4f24a0b9c3c6780337bcfd71e files/miniaudicle-0.1.3.3-unicode.patch 4452
+SHA256 e479dd5284218d883fe874c7cda102df4474b75a9dca3d85416f28a2ca6bd772 files/miniaudicle-0.1.3.3-unicode.patch 4452
+DIST miniAudicle-0.1.3.3.tgz 2086066 RMD160 45522aeb4294460c22f56dab428881bb66c61ec3 SHA1 f571ce1a3483c92b60a3c59d8e57b5ba5e51ee0f SHA256 1c033aefa2093e697ff37a1cad73ed6ba0d360fb51b67cd5c72f3a5948d0e41a
+EBUILD miniaudicle-0.1.3.3.ebuild 1610 RMD160 006ef70a0d6520db62b62f240aa4a8ccb1fe2fce SHA1 edd4c98ce391835e6aec97e0a60ec024a64f25b5 SHA256 2997c65fee1f5f43d8532659a21b9f6a1f5be924a6594e26404343b5b7ec21aa
+MD5 9e59f47ac93934eae746c9da73332eb5 miniaudicle-0.1.3.3.ebuild 1610
+RMD160 006ef70a0d6520db62b62f240aa4a8ccb1fe2fce miniaudicle-0.1.3.3.ebuild 1610
+SHA256 2997c65fee1f5f43d8532659a21b9f6a1f5be924a6594e26404343b5b7ec21aa miniaudicle-0.1.3.3.ebuild 1610
+MISC ChangeLog 336 RMD160 50dbcdf875fc9067d6b6c2f273bb0576f4eed04d SHA1 63aa23fc529fef7ea16d047e411397b03bda8fee SHA256 c3af1e2cec2ca662d65cb0fc6dafad9b1f8d511f905222045160448ac8ec8105
+MD5 4ea20ff89e2ca8ed3dc114eff0362b18 ChangeLog 336
+RMD160 50dbcdf875fc9067d6b6c2f273bb0576f4eed04d ChangeLog 336
+SHA256 c3af1e2cec2ca662d65cb0fc6dafad9b1f8d511f905222045160448ac8ec8105 ChangeLog 336
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 f8ac94f94afc537bd952704ab81ce39c files/digest-miniaudicle-0.1.3.3 253
+RMD160 e0eed1c69df41ca5b534e21930a07b581e7ffb8d files/digest-miniaudicle-0.1.3.3 253
+SHA256 af0d3e4ab74d998d873be959b67bd2ecd0ffa16d78d9d1962a9da791184fe7ec files/digest-miniaudicle-0.1.3.3 253
diff --git a/media-sound/miniaudicle/files/digest-miniaudicle-0.1.3.3 b/media-sound/miniaudicle/files/digest-miniaudicle-0.1.3.3
new file mode 100644
index 000000000..db979fae0
--- /dev/null
+++ b/media-sound/miniaudicle/files/digest-miniaudicle-0.1.3.3
@@ -0,0 +1,3 @@
+MD5 884d7feb5bc5ab71e0e3d543bcb24ea4 miniAudicle-0.1.3.3.tgz 2086066
+RMD160 45522aeb4294460c22f56dab428881bb66c61ec3 miniAudicle-0.1.3.3.tgz 2086066
+SHA256 1c033aefa2093e697ff37a1cad73ed6ba0d360fb51b67cd5c72f3a5948d0e41a miniAudicle-0.1.3.3.tgz 2086066
diff --git a/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-makefile.patch b/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-makefile.patch
new file mode 100644
index 000000000..497e81bef
--- /dev/null
+++ b/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-makefile.patch
@@ -0,0 +1,423 @@
+diff -ru miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.alsa miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.alsa
+--- miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.alsa 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.alsa 2006-07-30 12:06:16.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_ALSA__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_ALSA__ -c $(CFLAGS)
+ LIBS=-lasound -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.jack miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.jack
+--- miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.jack 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.jack 2006-07-30 12:04:37.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_JACK__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_JACK__ -c $(CFLAGS)
+ LIBS=-lasound -ljack -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.oss miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.oss
+--- miniAudicle-0.1.3.3~/chuck-1.2.0.6/src/makefile.oss 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/chuck-1.2.0.6/src/makefile.oss 2006-07-30 12:06:13.000000000 +0200
+@@ -1,9 +1,11 @@
+
+-CXX=gcc
++CXX?=g++
++CC?=gcc
+ LEX=flex
+ YACC=bison
+ INCLUDES=
+-FLAGS=-D__LINUX_OSS__ -O3 -c
++CFLAGS?=-O3
++FLAGS=-D__LINUX_OSS__ -c $(CFLAGS)
+ LIBS=-lpthread -lstdc++ -ldl -lm
+ SF_OBJ=util_sndfile.o
+
+@@ -46,7 +48,7 @@
+ $(CXX) -o chuck $(OBJS) $(LIBS)
+
+ chuck.tab.o: chuck.tab.c
+- $(CXX) $(FLAGS) chuck.tab.c
++ $(CC) $(FLAGS) chuck.tab.c
+
+ chuck.tab.c: chuck.y
+ $(YACC) -dv -b chuck chuck.y
+@@ -55,7 +57,7 @@
+ echo "chuck.tab.h was created at the same time as chuck.tab.c"
+
+ chuck.yy.o: chuck.yy.c chuck.tab.h chuck_errmsg.h chuck_utils.h
+- $(CXX) $(FLAGS) chuck.yy.c
++ $(CC) $(FLAGS) chuck.yy.c
+
+ chuck.yy.c: chuck.lex
+ $(LEX) -ochuck.yy.c chuck.lex
+@@ -181,19 +183,19 @@
+ $(CXX) $(FLAGS) util_console.cpp
+
+ util_hid.o: util_hid.h util_hid.c
+- $(CXX) $(FLAGS) util_hid.c
++ $(CC) $(FLAGS) util_hid.c
+
+ util_math.o: util_math.h util_math.c
+- $(CXX) $(FLAGS) util_math.c
++ $(CC) $(FLAGS) util_math.c
+
+ util_network.o: util_network.h util_network.c
+- $(CXX) $(FLAGS) util_network.c
++ $(CC) $(FLAGS) util_network.c
+
+ util_opsc.o: util_opsc.h util_opsc.cpp
+ $(CXX) $(FLAGS) util_opsc.cpp
+
+ util_raw.o: util_raw.h util_raw.c
+- $(CXX) $(FLAGS) util_raw.c
++ $(CC) $(FLAGS) util_raw.c
+
+ util_string.o: util_string.h util_string.cpp
+ $(CXX) $(FLAGS) util_string.cpp
+@@ -202,10 +204,10 @@
+ $(CXX) $(FLAGS) util_thread.cpp
+
+ util_xforms.o: util_xforms.h util_xforms.c
+- $(CXX) $(FLAGS) util_xforms.c
++ $(CC) $(FLAGS) util_xforms.c
+
+ util_sndfile.o: util_sndfile.h util_sndfile.c
+- $(CXX) $(FLAGS) util_sndfile.c
++ $(CC) $(FLAGS) util_sndfile.c
+
+ clean:
+ rm -f chuck *~ *.o chuck.output chuck.tab.h chuck.tab.c chuck.yy.c
+diff -ru miniAudicle-0.1.3.3~/makefile.alsa miniAudicle-0.1.3.3/makefile.alsa
+--- miniAudicle-0.1.3.3~/makefile.alsa 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/makefile.alsa 2006-07-30 12:06:35.000000000 +0200
+@@ -6,12 +6,14 @@
+ WXW_DIR=wxw
+ BIN_DIR=wxw
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ LEX=flex
+ YACC=bison
+ INCLUDES=-I$(CHUCK_SRC_DIR) -I$(WXW_DIR) -I$(PWD)
++CFLAGS?=-O3
+ FLAGS=-D__LINUX_ALSA__ -D__LINUX__ -D__MA_WXWIDGETS__ \
+- `wx-config --cppflags` -O3 -c
++ `wx-config --cppflags` -c $(CFLAGS)
+ LIBS=`wx-config --libs core,base,adv,stc` -lasound -lpthread -lstdc++ -ldl -lm
+ SF_OBJ=$(CHUCK_SRC_DIR)/util_sndfile.o
+
+@@ -78,38 +80,38 @@
+ $(WXW_DIR)/icons/replace.xpm $(WXW_DIR)/icons/miniAudicle.xpm
+
+ miniAudicle: $(OBJS) $(CHUCK_OBJS)
+- g++ -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
++ $(CXX) -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
+
+ # build the core chuck code
+ $(CHUCK_OBJS):
+ make -C $(CHUCK_SRC_DIR) linux-alsa
+
+ miniAudicle_shell.o: miniAudicle_shell.cpp miniAudicle_shell.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
+
+ miniAudicle_import.o: miniAudicle_import.h miniAudicle_import.cpp
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
+
+ miniAudicle.o: miniAudicle.cpp miniAudicle.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle.cpp
+
+ $(WXW_DIR)/mAParentFrame.o: $(WXW_DIR)/mAParentFrame.cpp $(WXW_DIR)/mAParentFrame.h $(WXW_DIR)/mAView.h $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAVMMonitor.h miniAudicle.h $(WXW_DIR)/mAMenuBar.h $(XPMS)
+- $(CC) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
++ $(CXX) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
+
+ $(WXW_DIR)/mADocument.o: $(WXW_DIR)/mADocument.cpp $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
++ $(CXX) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
+
+ $(WXW_DIR)/mAView.o: $(WXW_DIR)/mAView.cpp $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
++ $(CXX) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
+
+ $(WXW_DIR)/mAVMMonitor.o: $(WXW_DIR)/mAVMMonitor.cpp $(WXW_DIR)/mAVMMonitor.h $(WXW_DIR)/mAParentFrame.h miniAudicle.h
+- $(CC) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
+
+ $(WXW_DIR)/mAConsoleMonitor.o: $(WXW_DIR)/mAConsoleMonitor.cpp $(WXW_DIR)/mAConsoleMonitor.h $(WXW_DIR)/mAParentFrame.h
+- $(CC) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
+
+ $(WXW_DIR)/mAMenuBar.o: $(WXW_DIR)/mAMenuBar.cpp $(WXW_DIR)/mAMenuBar.h $(WXW_DIR)/mAEvents.h
+- $(CC) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
++ $(CXX) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
+
+ clean:
+ rm -rf *.o $(WXW_DIR)/*.o $(BIN_DIR)/miniAudicle
+diff -ru miniAudicle-0.1.3.3~/makefile.jack miniAudicle-0.1.3.3/makefile.jack
+--- miniAudicle-0.1.3.3~/makefile.jack 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/makefile.jack 2006-07-30 12:06:43.000000000 +0200
+@@ -6,12 +6,14 @@
+ WXW_DIR=wxw
+ BIN_DIR=wxw
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ LEX=flex
+ YACC=bison
+ INCLUDES=-I$(CHUCK_SRC_DIR) -I$(WXW_DIR) -I$(PWD)
++CFLAGS?=-O3
+ FLAGS=-D__LINUX_JACK__ -D__LINUX__ -D__MA_WXWIDGETS__ \
+- `wx-config --cppflags` -O3 -c
++ `wx-config --cppflags` -c $(CFLAGS)
+ LIBS=`wx-config --libs core,base,adv,stc` -lasound -ljack -lpthread -lstdc++ -ldl -lm
+ SF_OBJ=$(CHUCK_SRC_DIR)/util_sndfile.o
+
+@@ -78,38 +80,38 @@
+ $(WXW_DIR)/icons/replace.xpm $(WXW_DIR)/icons/miniAudicle.xpm
+
+ miniAudicle: $(OBJS) $(CHUCK_OBJS)
+- g++ -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
++ $(CXX) -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
+
+ # build the core chuck code
+ $(CHUCK_OBJS):
+ make -C $(CHUCK_SRC_DIR) linux-alsa
+
+ miniAudicle_shell.o: miniAudicle_shell.cpp miniAudicle_shell.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
+
+ miniAudicle_import.o: miniAudicle_import.h miniAudicle_import.cpp
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
+
+ miniAudicle.o: miniAudicle.cpp miniAudicle.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle.cpp
+
+ $(WXW_DIR)/mAParentFrame.o: $(WXW_DIR)/mAParentFrame.cpp $(WXW_DIR)/mAParentFrame.h $(WXW_DIR)/mAView.h $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAVMMonitor.h miniAudicle.h $(WXW_DIR)/mAMenuBar.h $(XPMS)
+- $(CC) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
++ $(CXX) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
+
+ $(WXW_DIR)/mADocument.o: $(WXW_DIR)/mADocument.cpp $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
++ $(CXX) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
+
+ $(WXW_DIR)/mAView.o: $(WXW_DIR)/mAView.cpp $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
++ $(CXX) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
+
+ $(WXW_DIR)/mAVMMonitor.o: $(WXW_DIR)/mAVMMonitor.cpp $(WXW_DIR)/mAVMMonitor.h $(WXW_DIR)/mAParentFrame.h miniAudicle.h
+- $(CC) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
+
+ $(WXW_DIR)/mAConsoleMonitor.o: $(WXW_DIR)/mAConsoleMonitor.cpp $(WXW_DIR)/mAConsoleMonitor.h $(WXW_DIR)/mAParentFrame.h
+- $(CC) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
+
+ $(WXW_DIR)/mAMenuBar.o: $(WXW_DIR)/mAMenuBar.cpp $(WXW_DIR)/mAMenuBar.h $(WXW_DIR)/mAEvents.h
+- $(CC) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
++ $(CXX) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
+
+ clean:
+ rm -rf *.o $(WXW_DIR)/*.o $(BIN_DIR)/miniAudicle
+diff -ru miniAudicle-0.1.3.3~/makefile.oss miniAudicle-0.1.3.3/makefile.oss
+--- miniAudicle-0.1.3.3~/makefile.oss 2006-07-30 11:51:22.000000000 +0200
++++ miniAudicle-0.1.3.3/makefile.oss 2006-07-30 12:06:56.000000000 +0200
+@@ -6,12 +6,14 @@
+ WXW_DIR=wxw
+ BIN_DIR=wxw
+
+-CC=gcc
++CC?=gcc
++CXX?=g++
+ LEX=flex
+ YACC=bison
+ INCLUDES=-I$(CHUCK_SRC_DIR) -I$(WXW_DIR) -I$(PWD)
++CFLAGS?=-O3
+ FLAGS=-D__LINUX_OSS___ -D__LINUX__ -D__PLATFORM_LINUX__ -D__MA_WXWIDGETS__ \
+- `wx-config --cppflags` -O3 -c
++ `wx-config --cppflags` -c $(CFLAGS)
+ LIBS=`wx-config --libs core,base,adv,stc` -lpthread -lstdc++ -ldl -lm
+ SF_OBJ=$(CHUCK_SRC_DIR)/util_sndfile.o
+
+@@ -78,38 +80,38 @@
+ $(WXW_DIR)/icons/replace.xpm $(WXW_DIR)/icons/miniAudicle.xpm
+
+ miniAudicle: $(OBJS) $(CHUCK_OBJS)
+- g++ -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
++ $(CXX) -o $(BIN_DIR)/miniAudicle $(OBJS) $(CHUCK_OBJS) $(LIBS)
+
+ # build the core chuck code
+ $(CHUCK_OBJS):
+ make -C $(CHUCK_SRC_DIR) linux-oss
+
+ miniAudicle_shell.o: miniAudicle_shell.cpp miniAudicle_shell.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_shell.cpp
+
+ miniAudicle_import.o: miniAudicle_import.h miniAudicle_import.cpp
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle_import.cpp
+
+ miniAudicle.o: miniAudicle.cpp miniAudicle.h
+- $(CC) $(FLAGS) $(INCLUDES) miniAudicle.cpp
++ $(CXX) $(FLAGS) $(INCLUDES) miniAudicle.cpp
+
+ $(WXW_DIR)/mAParentFrame.o: $(WXW_DIR)/mAParentFrame.cpp $(WXW_DIR)/mAParentFrame.h $(WXW_DIR)/mAView.h $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAVMMonitor.h miniAudicle.h $(WXW_DIR)/mAMenuBar.h $(XPMS)
+- $(CC) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
++ $(CXX) -o $(WXW_DIR)/mAParentFrame.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAParentFrame.cpp
+
+ $(WXW_DIR)/mADocument.o: $(WXW_DIR)/mADocument.cpp $(WXW_DIR)/mADocument.h $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
++ $(CXX) -o $(WXW_DIR)/mADocument.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mADocument.cpp
+
+ $(WXW_DIR)/mAView.o: $(WXW_DIR)/mAView.cpp $(WXW_DIR)/mAView.h
+- $(CC) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
++ $(CXX) -o $(WXW_DIR)/mAView.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAView.cpp
+
+ $(WXW_DIR)/mAVMMonitor.o: $(WXW_DIR)/mAVMMonitor.cpp $(WXW_DIR)/mAVMMonitor.h $(WXW_DIR)/mAParentFrame.h miniAudicle.h
+- $(CC) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAVMMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAVMMonitor.cpp
+
+ $(WXW_DIR)/mAConsoleMonitor.o: $(WXW_DIR)/mAConsoleMonitor.cpp $(WXW_DIR)/mAConsoleMonitor.h $(WXW_DIR)/mAParentFrame.h
+- $(CC) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
++ $(CXX) -o $(WXW_DIR)/mAConsoleMonitor.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAConsoleMonitor.cpp
+
+ $(WXW_DIR)/mAMenuBar.o: $(WXW_DIR)/mAMenuBar.cpp $(WXW_DIR)/mAMenuBar.h $(WXW_DIR)/mAEvents.h
+- $(CC) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
++ $(CXX) -o $(WXW_DIR)/mAMenuBar.o $(FLAGS) $(INCLUDES) $(WXW_DIR)/mAMenuBar.cpp
+
+ clean:
+ rm -rf *.o $(WXW_DIR)/*.o $(BIN_DIR)/miniAudicle
diff --git a/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-unicode.patch b/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-unicode.patch
new file mode 100644
index 000000000..9ab595caf
--- /dev/null
+++ b/media-sound/miniaudicle/files/miniaudicle-0.1.3.3-unicode.patch
@@ -0,0 +1,116 @@
+diff -ru miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp
+--- miniAudicle-0.1.3.3~/wxw/mAConsoleMonitor.cpp 2006-07-26 21:52:18.000000000 +0200
++++ miniAudicle-0.1.3.3/wxw/mAConsoleMonitor.cpp 2006-07-27 15:53:20.000000000 +0200
+@@ -203,14 +203,14 @@
+ {
+ len = read( console_monitor->err_fd, buf, BUF_SIZE-1 );
+ buf[len] = 0;
+- console_monitor->text->AppendText( _T( buf ) );
++ console_monitor->text->AppendText( wxString(buf, wxConvUTF8) );
+ }
+
+ if( pfd[1].revents & POLLIN )
+ {
+ len = read( console_monitor->out_fd, buf, BUF_SIZE-1 );
+ buf[len] = 0;
+- console_monitor->text->AppendText( _T( buf ) );
++ console_monitor->text->AppendText( wxString(buf, wxConvUTF8) );
+ }
+ }
+ }
+@@ -223,7 +223,7 @@
+ //fflush( NULL );
+
+ if( fgets( buf, BUF_SIZE, f ) )
+- console_monitor->text->AppendText( _T( buf ) );
++ console_monitor->text->AppendText( wxString(buf, wxConvUTF8) );
+ }
+
+ #endif /* __PLATFORM_WIN32__ */
+diff -ru miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp
+--- miniAudicle-0.1.3.3~/wxw/mAParentFrame.cpp 2006-07-26 21:52:18.000000000 +0200
++++ miniAudicle-0.1.3.3/wxw/mAParentFrame.cpp 2006-07-27 15:49:39.000000000 +0200
+@@ -366,7 +366,7 @@
+ sizer->Add( logo, 0, wxALL | wxALIGN_CENTER, 10 );
+
+ wxString copystring;
+- copystring.Printf( MA_ABOUT, MA_VERSION, CK_VERSION );
++ copystring.Printf( wxString(MA_ABOUT, wxConvUTF8), MA_VERSION, CK_VERSION );
+ copystring.Prepend( _T( "miniAudicle\n" ) );
+ wxStaticText * copytext = new wxStaticText( &about_dialog, wxID_ANY,
+ copystring, wxDefaultPosition, wxDefaultSize, wxALIGN_CENTRE );
+diff -ru miniAudicle-0.1.3.3~/wxw/mAView.cpp miniAudicle-0.1.3.3/wxw/mAView.cpp
+--- miniAudicle-0.1.3.3~/wxw/mAView.cpp 2006-07-26 21:52:18.000000000 +0200
++++ miniAudicle-0.1.3.3/wxw/mAView.cpp 2006-07-27 15:51:55.000000000 +0200
+@@ -179,7 +179,7 @@
+
+ ma->run_code( code, name, cid, cgid, result );
+
+- wxString status( _T( result.c_str() ) );
++ wxString status(result.c_str(), wxConvUTF8);
+
+ frame->SetStatusText( status );
+ }
+@@ -191,7 +191,7 @@
+
+ ma->remove_code( cid, cgid, result );
+
+- wxString status( _T( result.c_str() ) );
++ wxString status(result.c_str(), wxConvUTF8);
+
+ frame->SetStatusText( status );
+ }
+@@ -203,7 +203,7 @@
+
+ ma->replace_code( code, cid, cgid, result );
+
+- wxString status( _T( result.c_str() ) );
++ wxString status( result.c_str(), wxConvUTF8);
+
+ frame->SetStatusText( status );
+ }
+diff -ru miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp
+--- miniAudicle-0.1.3.3~/wxw/mAVMMonitor.cpp 2006-07-26 21:52:18.000000000 +0200
++++ miniAudicle-0.1.3.3/wxw/mAVMMonitor.cpp 2006-07-28 18:05:25.000000000 +0200
+@@ -83,7 +83,7 @@
+ wxSize( 250, 300 ), wxSUNKEN_BORDER );
+ sizer->Add( grid, 2, wxALL | wxALIGN_CENTER | wxEXPAND, 10 );
+
+- vm_start = new wxButton( this, mAID_TOGGLE_VM, "Start Virtual Machine" );
++ vm_start = new wxButton( this, mAID_TOGGLE_VM, _T( "Start Virtual Machine" ) );
+ sizer->Add( vm_start, 0, wxBOTTOM | wxALIGN_CENTER, 10 );
+
+ grid->CreateGrid( 0, 4 );
+@@ -220,27 +220,27 @@
+ now = ( time_t ) ( status.now_system / status.srate );
+ if( now != last_now )
+ {
+- time_counter->SetLabel( wxString::Format( "running time: %u:%02u",
++ time_counter->SetLabel( wxString::Format( _T( "running time: %u:%02u" ),
+ now / 60, now % 60 ) );
+ last_now = now;
+ }
+
+ if( num_shreds != last_num_shreds )
+ {
+- shred_count->SetLabel( wxString::Format( "shreds: %u", num_shreds ) );
++ shred_count->SetLabel( wxString::Format( _T( "shreds: %u" ), num_shreds ) );
+ last_num_shreds = num_shreds;
+ }
+
+ for( int i = 0; i < num_shreds; i++ )
+ {
+- temp = wxString::Format( "%u", status.list[i]->xid );
++ temp = wxString::Format( _T( "%u" ), status.list[i]->xid );
+ grid->SetCellValue( i, 0, temp );
+
+- temp = wxString::Format( "%s", status.list[i]->name.c_str() );
++ temp = wxString(status.list[i]->name.c_str(), wxConvUTF8);
+ grid->SetCellValue( i, 1, temp );
+
+ age = ( time_t ) ( ( status.now_system - status.list[i]->start ) / status.srate );
+- temp = wxString::Format( "%u:%02u", age / 60, age % 60 );
++ temp = wxString::Format( _T( "%u:%02u" ), age / 60, age % 60 );
+ grid->SetCellValue( i, 2, temp );
+
+ grid->SetCellValue( i, 3, _T( "-" ) );
diff --git a/media-sound/miniaudicle/metadata.xml b/media-sound/miniaudicle/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/media-sound/miniaudicle/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>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/media-sound/miniaudicle/miniaudicle-0.1.3.3.ebuild b/media-sound/miniaudicle/miniaudicle-0.1.3.3.ebuild
new file mode 100644
index 000000000..0e58f4654
--- /dev/null
+++ b/media-sound/miniaudicle/miniaudicle-0.1.3.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+MY_P=${P/a/A}
+
+DESCRIPTION="integrated development + performance environment for chuck"
+HOMEPAGE="http://audicle.cs.princeton.edu/mini/"
+SRC_URI="http://audicle.cs.princeton.edu/mini/release/files/${MY_P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="oss jack alsa"
+
+RDEPEND="jack? ( media-sound/jack-audio-connection-kit )
+ alsa? ( >=media-libs/alsa-lib-0.9 )
+ media-libs/libsndfile
+ >=x11-libs/wxGTK-2.6"
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${P}-unicode.patch"
+}
+
+pkg_setup() {
+ local cnt=0
+ use jack && cnt="$((${cnt} + 1))"
+ use alsa && cnt="$((${cnt} + 1))"
+ use oss && cnt="$((${cnt} + 1))"
+ if [[ "${cnt}" -eq 0 ]] ; then
+ eerror "One of the following USE flags is needed: jack, alsa or oss"
+ die "Please set one audio engine type"
+ elif [[ "${cnt}" -ne 1 ]] ; then
+ ewarn "You have set ${P} to use multiple audio engine."
+ fi
+}
+
+src_compile() {
+ local backend
+ if use jack; then
+ backend="jack"
+ elif use alsa; then
+ backend="alsa"
+ elif use oss; then
+ backend="oss"
+ fi
+ einfo "Compiling against ${backend}"
+
+ cd "${S}/chuck/src"
+ emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
+
+ cd "${S}"
+ emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) || die "emake failed"
+}
+
+src_install() {
+ dobin wxw/miniAudicle
+
+ dodoc BUGS README.linux VERSIONS
+}