1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Import xmms-midi 0.03.

xmms-midi is a XMMS Input plugin to play midi files.

PR:		44059
Submitted by:	Hendrik Scholz <hendrik@scholz.net>
This commit is contained in:
Christian Weisgerber 2002-10-28 00:21:40 +00:00
parent 1d3ebb6ef6
commit a4cb8c9f6c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68984
11 changed files with 105 additions and 0 deletions

View File

@ -295,6 +295,7 @@
SUBDIR += xmms-ladspa
SUBDIR += xmms-liveice
SUBDIR += xmms-mad
SUBDIR += xmms-midi
SUBDIR += xmms-musepack
SUBDIR += xmms-osssurround
SUBDIR += xmms-pipe

24
audio/xmms-midi/Makefile Normal file
View File

@ -0,0 +1,24 @@
# New ports collection makefile for: xmms-midi
# Date created: 2002-10-14
# Whom: Hendrik Scholz <hendrik@scholz.net>
#
# $FreeBSD$
PORTNAME= xmms-midi
PORTVERSION= 0.03
CATEGORIES= audio
MASTER_SITES= http://ban.joh.cam.ac.uk/~cr212/xmms-midi/
MAINTAINER= hendrik@scholz.net
LIB_DEPENDS= xmms.3:${PORTSDIR}/audio/xmms
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
USE_AUTOMAKE= yes
USE_LIBTOOL= yes
.include <bsd.port.mk>

1
audio/xmms-midi/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (xmms-midi-0.03.tar.gz) = a35c62378fc3ccdf420fe81636e5b2f8

View File

@ -0,0 +1,17 @@
$FreeBSD$
--- Makefile.am.orig Sat Oct 26 23:59:48 2002
+++ Makefile.am Sun Oct 27 00:02:18 2002
@@ -1,9 +1,9 @@
-xmmsinputdir = $(prefix)/xmms/Input
+xmmsinputdir = $(prefix)/lib/xmms/Input
xmmsinput_LTLIBRARIES = libmid.la
CFLAGS = @CFLAGS@ -DTIMID_VERSION=\"0.2i\"
libmid_la_SOURCES = common.c controls.c dumb_c.c filter.c instrum.c mid.c mix.c output.c playmidi.c readmidi.c resample.c tables.c timidity.c xmms_a.c
-
+libmid_la_LDFLAGS = -module -export-dynamic -avoid-version

View File

@ -0,0 +1,13 @@
$FreeBSD$
--- config.h.orig Mon Jan 24 01:18:02 2000
+++ config.h Sat Oct 26 23:24:50 2002
@@ -359,3 +359,7 @@
#include <errno.h>
#define PI 3.14159265358979323846
#endif
+
+#ifdef __FreeBSD__
+#define PI 3.14159265358979323846
+#endif

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- mix.c.orig Mon Jan 24 01:18:02 2000
+++ mix.c Sat Oct 26 23:24:50 2002
@@ -23,7 +23,7 @@
#include <math.h>
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "config.h"
#include "common.h"

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- resample.c.orig Sat Oct 26 23:32:35 2002
+++ resample.c Sat Oct 26 23:32:51 2002
@@ -22,7 +22,7 @@
#include <math.h>
#include <stdio.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "config.h"
#include "common.h"

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- xmms_a.c.orig Sat Oct 26 23:38:05 2002
+++ xmms_a.c Sat Oct 26 23:38:08 2002
@@ -37,7 +37,7 @@
#include <stdio.h>
#ifdef __FreeBSD__
-#include <machine/soundcard.h>
+#include <sys/soundcard.h>
#endif
#include "mid.h"

View File

@ -0,0 +1 @@
XMMS input plugin to play midi files

View File

@ -0,0 +1,4 @@
xmms-midi is a XMMS Input plugin to play midi files.
WWW: http://ban.joh.cam.ac.uk/~cr212/xmms-midi/
- Hendrik Scholz <hendrik@scholz.net>

View File

@ -0,0 +1,2 @@
@comment $FreeBSD$
lib/xmms/Input/libmid.so