mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-04-07 23:33:31 +02:00
initial import
This commit is contained in:
3
media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1
Normal file
3
media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r1
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267
|
||||
RMD160 4952c31cd344bf3d7320c6b1a09400996984b91d spcxmms-0.2.1.tar.bz2 150267
|
||||
SHA256 9847a01a2aca2a16bfe5efb06ce68af9ce1fe83ab7587bfd5056c1c660f632e9 spcxmms-0.2.1.tar.bz2 150267
|
||||
3
media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r2
Normal file
3
media-plugins/xmms-spc/files/digest-xmms-spc-0.2.1-r2
Normal file
@@ -0,0 +1,3 @@
|
||||
MD5 bb4975661ce7cce2da59f76dd1a29372 spcxmms-0.2.1.tar.bz2 150267
|
||||
RMD160 4952c31cd344bf3d7320c6b1a09400996984b91d spcxmms-0.2.1.tar.bz2 150267
|
||||
SHA256 9847a01a2aca2a16bfe5efb06ce68af9ce1fe83ab7587bfd5056c1c660f632e9 spcxmms-0.2.1.tar.bz2 150267
|
||||
11
media-plugins/xmms-spc/files/xmms-spc-0.2.1-amd64.patch
Normal file
11
media-plugins/xmms-spc/files/xmms-spc-0.2.1-amd64.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- spcxmms-0.2.1/libspc/port.h.orig 2005-05-01 09:15:50.000000000 -0400
|
||||
+++ spcxmms-0.2.1/libspc/port.h 2005-05-01 09:14:04.000000000 -0400
|
||||
@@ -147,7 +147,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
|
||||
- defined(__WIN32) || defined(__alpha__)
|
||||
+ defined(__WIN32) || defined(__alpha__) || defined(__x86_64__)
|
||||
#define LSB_FIRST
|
||||
#define FAST_LSB_WORD_ACCESS
|
||||
#else
|
||||
40
media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch
Normal file
40
media-plugins/xmms-spc/files/xmms-spc-0.2.1-autoconf.patch
Normal file
@@ -0,0 +1,40 @@
|
||||
diff -Naur spcxmms-0.2.1/configure.in spcxmms-0.2.1.mine/configure.in
|
||||
--- spcxmms-0.2.1/configure.in 2000-10-28 12:02:31.000000000 -0700
|
||||
+++ spcxmms-0.2.1.mine/configure.in 2006-08-12 13:30:59.000000000 -0700
|
||||
@@ -57,5 +57,7 @@
|
||||
AC_DEFINE(ENABLE_XMDSP)
|
||||
fi
|
||||
|
||||
+AC_CHECK_LIB(pthread, pthread_join)
|
||||
+
|
||||
dnl Finally create all the generated files
|
||||
AC_OUTPUT(Makefile libspc/Makefile spcplay/Makefile xmms-plugin/Makefile)
|
||||
|
||||
diff -Naur spcxmms-0.2.1/spcplay/Makefile.am spcxmms-0.2.1.mine/spcplay/Makefile.am
|
||||
--- spcxmms-0.2.1/spcplay/Makefile.am 2006-08-12 13:52:54.000000000 -0700
|
||||
+++ spcxmms-0.2.1/spcplay/Makefile.am.mine 2006-08-12 13:52:47.000000000 -0700
|
||||
@@ -2,5 +2,6 @@
|
||||
|
||||
spcplay_SOURCES = getopt.c getopt1.c getopt.h main.c
|
||||
spcplay_LDADD = ../libspc/libspc.la
|
||||
+CCLD = $(CXX)
|
||||
|
||||
INCLUDES = -I../libspc
|
||||
|
||||
--- spcxmms-0.2.1/xmms-plugin/Makefile.am 2006-08-12 15:37:39.000000000 -0700
|
||||
+++ spcxmms-0.2.1/xmms-plugin/Makefile.am.mine 2006-08-12 15:38:15.000000000 -0700
|
||||
@@ -2,10 +2,13 @@
|
||||
|
||||
lib_LTLIBRARIES = libspc.la
|
||||
libspc_la_LDFLAGS = -module -avoid-version
|
||||
-libspc_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ ../libspc/libspc.la
|
||||
+libspc_la_LIBADD = @GTK_LIBS@ ../libspc/libspc.la
|
||||
libspc_la_SOURCES = spcxmms.c spcxmms.h \
|
||||
interface.c interface.h support.c support.h callbacks.h gui.c
|
||||
|
||||
INCLUDES = @GTK_CFLAGS@ -I../libspc
|
||||
|
||||
EXTRA_DIST = spcxmms.glade
|
||||
+
|
||||
+CCLD=$(CXX)
|
||||
+
|
||||
67
media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch
Normal file
67
media-plugins/xmms-spc/files/xmms-spc-0.2.1-r1.patch
Normal file
@@ -0,0 +1,67 @@
|
||||
diff -Naur spcxmms-0.2.1.orig/libspc/Makefile.am spcxmms-0.2.1/libspc/Makefile.am
|
||||
--- spcxmms-0.2.1.orig/libspc/Makefile.am 2000-10-13 01:16:38.000000000 -0700
|
||||
+++ spcxmms-0.2.1/libspc/Makefile.am 2004-07-07 01:21:44.933579000 -0700
|
||||
@@ -5,3 +5,6 @@
|
||||
apu.cpp apu.h apumem.h globals.cpp soundux.cpp soundux.h \
|
||||
spc700.cpp spc700.h port.h snes9x.h memmap.h
|
||||
|
||||
+CFLAGS = @CFLAGS@ -fPIC -DPIC
|
||||
+CXXFLAGS = @CXXFLAGS@ -fPIC -DPIC
|
||||
+
|
||||
diff -Naur spcxmms-0.2.1.orig/libspc/soundux.cpp spcxmms-0.2.1/libspc/soundux.cpp
|
||||
--- spcxmms-0.2.1.orig/libspc/soundux.cpp 2000-07-04 23:26:38.000000000 -0700
|
||||
+++ spcxmms-0.2.1/libspc/soundux.cpp 2004-07-07 01:20:10.122594000 -0700
|
||||
@@ -414,7 +414,7 @@
|
||||
if (SoundData.channels[channel].type == SOUND_NOISE)
|
||||
hertz = NoiseFreq [APU.DSP [APU_FLG] & 0x1f];
|
||||
SoundData.channels[channel].frequency = (int)
|
||||
- (((int64) hertz * FIXED_POINT) / so.playback_rate);
|
||||
+ ((((int64) hertz * FIXED_POINT) / so.playback_rate) * .980);
|
||||
}
|
||||
}
|
||||
|
||||
diff -Naur spcxmms-0.2.1.orig/spcplay/Makefile.in spcxmms-0.2.1/spcplay/Makefile.in
|
||||
--- spcxmms-0.2.1.orig/spcplay/Makefile.in 2000-10-28 12:10:04.000000000 -0700
|
||||
+++ spcxmms-0.2.1/spcplay/Makefile.in 2004-07-07 01:16:35.311275000 -0700
|
||||
@@ -108,7 +108,7 @@
|
||||
LIBS = @LIBS@
|
||||
spcplay_OBJECTS = getopt.o getopt1.o main.o
|
||||
spcplay_DEPENDENCIES = ../libspc/libspc.la
|
||||
-spcplay_LDFLAGS =
|
||||
+spcplay_LDFLAGS = -lstdc++
|
||||
CFLAGS = @CFLAGS@
|
||||
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
diff -Naur spcxmms-0.2.1.orig/xmms-plugin/Makefile.in spcxmms-0.2.1/xmms-plugin/Makefile.in
|
||||
--- spcxmms-0.2.1.orig/xmms-plugin/Makefile.in 2000-10-28 12:10:05.000000000 -0700
|
||||
+++ spcxmms-0.2.1/xmms-plugin/Makefile.in 2004-07-07 01:16:35.322275000 -0700
|
||||
@@ -93,7 +93,7 @@
|
||||
|
||||
lib_LTLIBRARIES = libspc.la
|
||||
libspc_la_LDFLAGS = -module -avoid-version
|
||||
-libspc_la_LIBADD = @GTK_LIBS@ @PTHREAD_LIBS@ ../libspc/libspc.la
|
||||
+libspc_la_LIBADD = @GTK_LIBS@ -lstdc++ @PTHREAD_LIBS@ ../libspc/libspc.la
|
||||
libspc_la_SOURCES = spcxmms.c spcxmms.h interface.c interface.h support.c support.h callbacks.h gui.c
|
||||
|
||||
|
||||
diff -Naur spcxmms-0.2.1.orig/xmms-plugin/spcxmms.c spcxmms-0.2.1/xmms-plugin/spcxmms.c
|
||||
--- spcxmms-0.2.1.orig/xmms-plugin/spcxmms.c 2000-10-13 01:11:05.000000000 -0700
|
||||
+++ spcxmms-0.2.1/xmms-plugin/spcxmms.c 2004-07-07 01:16:34.900253000 -0700
|
||||
@@ -106,6 +106,7 @@
|
||||
|
||||
static void *play_loop(void *arg)
|
||||
{
|
||||
+ long int i = 0;
|
||||
gint8 *mixbuf;
|
||||
mixbuf = g_new(guint8, mixbuf_size);
|
||||
|
||||
@@ -113,7 +114,9 @@
|
||||
SPC_update(mixbuf);
|
||||
spc_ip.add_vis_pcm(spc_ip.output->written_time(), FMT_S16_LE, 2,
|
||||
mixbuf_size, mixbuf);
|
||||
+ i++;
|
||||
|
||||
+ if (i >= 18300) going = FALSE;
|
||||
while (spc_ip.output->buffer_free() < mixbuf_size && going)
|
||||
xmms_usleep(10000);
|
||||
|
||||
Reference in New Issue
Block a user