mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
- Update to 0.7
PR: ports/57576 Submitted by: UMENO Takashi <umeno@rr.iij4u.or.jp> Approved by: maintainer timeout (1 month)
This commit is contained in:
parent
1ed5193f11
commit
4f36ce7eb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95295
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= sndstretch
|
||||
PORTVERSION= 0.5
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= http://www.geocities.com/harpin_floh/mysoft/
|
||||
PKGNAMEPREFIX= xmms-
|
||||
|
@ -1 +1 @@
|
||||
MD5 (sndstretch_xmms-0.5.tar.gz) = adc805ead49861c6e55490f0b18e78ce
|
||||
MD5 (sndstretch_xmms-0.7.tar.gz) = fb3b902649a221d651626dd42721789e
|
||||
|
@ -1,27 +1,23 @@
|
||||
--- Makefile.orig Thu Mar 15 18:15:55 2001
|
||||
+++ Makefile Mon Dec 3 00:55:22 2001
|
||||
@@ -1,27 +1,28 @@
|
||||
--- Makefile.orig Sun Feb 10 14:56:42 2002
|
||||
+++ Makefile Sun Dec 7 23:38:40 2003
|
||||
@@ -1,6 +1,6 @@
|
||||
-CC = gcc
|
||||
+CC ?= gcc
|
||||
#INCDIR = -I sndstretch
|
||||
-CFLAGS = -Wall -O6 $(INCDIR)
|
||||
+CFLAGS += -Wall $(INCDIR)
|
||||
+THREADS= ${PTHREAD_LIBS}
|
||||
|
||||
# maybe you will have to change this
|
||||
-XMMS_EPLUGIN_DIR = /usr/X11/lib/xmms/Output
|
||||
-XMMS_OPLUGIN_DIR = /usr/X11/lib/xmms/Effect
|
||||
+XMMS_EPLUGIN_DIR = ${PREFIX}/lib/xmms/Output
|
||||
+XMMS_OPLUGIN_DIR = ${PREFIX}/lib/xmms/Effect
|
||||
-CFLAGS = -Wall -O6 $(INCDIR) `xmms-config --cflags`
|
||||
+CFLAGS += -Wall $(INCDIR) `xmms-config --cflags`
|
||||
#LDFLAGS = -lgthread -lpthread
|
||||
LDFLAGS = -gthread -pthread `xmms-config --libs`
|
||||
|
||||
@@ -11,19 +11,19 @@
|
||||
all: effect_plugin output_plugin
|
||||
|
||||
effect_plugin: sndstretch_xmms_eff.lo sndstretch.lo
|
||||
- $(CC) -shared sndstretch_xmms_eff.lo sndstretch.lo `gtk-config --libs` -lgthread -lpthread -lpthread -lc -o sndstretch_xmms_eff.so
|
||||
- $(CC) -shared sndstretch_xmms_eff.lo sndstretch.lo `gtk-config --libs` $(LDFLAGS) -lc -o sndstretch_xmms_eff.so
|
||||
+ $(CC) -shared sndstretch_xmms_eff.lo sndstretch.lo `${GTK_CONFIG} --libs` ${THREADS} -lc -o sndstretch_xmms_eff.so
|
||||
|
||||
output_plugin: sndstretch_xmms_out.lo sndstretch.lo
|
||||
- $(CC) -shared sndstretch_xmms_out.lo sndstretch.lo `gtk-config --libs` -lgthread -lpthread -lpthread -lc -o sndstretch_xmms_out.so
|
||||
- $(CC) -shared sndstretch_xmms_out.lo sndstretch.lo `gtk-config --libs` $(LDFLAGS) -lc -o sndstretch_xmms_out.so
|
||||
+ $(CC) -shared sndstretch_xmms_out.lo sndstretch.lo `${GTK_CONFIG} --libs` ${THREADS} -lc -o sndstretch_xmms_out.so
|
||||
|
||||
sndstretch_xmms_eff.lo: sndstretch_xmms.h sndstretch_xmms_eff.c sndstretch_xmms.c FB_logo.xpm sndstretch_xmms-logo.xpm
|
||||
|
@ -1,16 +0,0 @@
|
||||
$FreeBSD$
|
||||
|
||||
--- sndstretch_xmms.c.orig Thu Sep 27 17:32:50 2001
|
||||
+++ sndstretch_xmms.c Sat Nov 10 12:54:24 2001
|
||||
@@ -27,7 +27,11 @@
|
||||
#include "sndstretch.h"
|
||||
#include <fcntl.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#ifdef __FreeBSD__
|
||||
+#include <sys/soundcard.h>
|
||||
+#else
|
||||
#include <linux/soundcard.h>
|
||||
+#endif
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
@ -1,2 +1,2 @@
|
||||
lib/xmms/Effect/sndstretch_xmms_out.so
|
||||
lib/xmms/Output/sndstretch_xmms_eff.so
|
||||
lib/xmms/Output/sndstretch_xmms_out.so
|
||||
lib/xmms/Effect/sndstretch_xmms_eff.so
|
||||
|
Loading…
Reference in New Issue
Block a user