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:
parent
1d3ebb6ef6
commit
a4cb8c9f6c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68984
@ -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
24
audio/xmms-midi/Makefile
Normal 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
1
audio/xmms-midi/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (xmms-midi-0.03.tar.gz) = a35c62378fc3ccdf420fe81636e5b2f8
|
17
audio/xmms-midi/files/patch-Makefile.am
Normal file
17
audio/xmms-midi/files/patch-Makefile.am
Normal 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
|
||||
|
13
audio/xmms-midi/files/patch-config.h
Normal file
13
audio/xmms-midi/files/patch-config.h
Normal 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
|
14
audio/xmms-midi/files/patch-mix.c
Normal file
14
audio/xmms-midi/files/patch-mix.c
Normal 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"
|
14
audio/xmms-midi/files/patch-resample.c
Normal file
14
audio/xmms-midi/files/patch-resample.c
Normal 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"
|
14
audio/xmms-midi/files/patch-xmms__a.c
Normal file
14
audio/xmms-midi/files/patch-xmms__a.c
Normal 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"
|
1
audio/xmms-midi/pkg-comment
Normal file
1
audio/xmms-midi/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
XMMS input plugin to play midi files
|
4
audio/xmms-midi/pkg-descr
Normal file
4
audio/xmms-midi/pkg-descr
Normal 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>
|
2
audio/xmms-midi/pkg-plist
Normal file
2
audio/xmms-midi/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $FreeBSD$
|
||||
lib/xmms/Input/libmid.so
|
Loading…
Reference in New Issue
Block a user