summaryrefslogtreecommitdiff
path: root/audio/xmms-dspectral
diff options
context:
space:
mode:
authorhubertf <hubertf>2003-02-15 00:44:42 +0000
committerhubertf <hubertf>2003-02-15 00:44:42 +0000
commitf689711b0d971d3cead27457cb6fb65b4ed954a7 (patch)
treea3fb37353f5b608303c1890ddca0f88f2bf655da /audio/xmms-dspectral
parent8a5e98c5c30d661c9ae487b0d8a79a6b34f95e8d (diff)
downloadpkgsrc-f689711b0d971d3cead27457cb6fb65b4ed954a7.tar.gz
rename, from xmms-dspectralizer
Diffstat (limited to 'audio/xmms-dspectral')
-rw-r--r--audio/xmms-dspectral/DESCR1
-rw-r--r--audio/xmms-dspectral/Makefile21
-rw-r--r--audio/xmms-dspectral/PLIST9
-rw-r--r--audio/xmms-dspectral/distinfo5
-rw-r--r--audio/xmms-dspectral/patches/patch-aa56
5 files changed, 92 insertions, 0 deletions
diff --git a/audio/xmms-dspectral/DESCR b/audio/xmms-dspectral/DESCR
new file mode 100644
index 00000000000..2b6d7835013
--- /dev/null
+++ b/audio/xmms-dspectral/DESCR
@@ -0,0 +1 @@
+Dual Spectralizer visual XMMS plugin
diff --git a/audio/xmms-dspectral/Makefile b/audio/xmms-dspectral/Makefile
new file mode 100644
index 00000000000..cb24c0e060e
--- /dev/null
+++ b/audio/xmms-dspectral/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/15 00:44:42 hubertf Exp $
+#
+
+DISTNAME= dspectral-1.2
+PKGNAME= xmms-dspectral-1.2
+CATEGORIES= audio
+MASTER_SITES= http://hem.passagen.se/joakime/
+
+MAINTAINER= hubertf@netbsd.org
+HOMEPAGE= http://hem.passagen.se/joakime/linuxapp.html
+COMMENT= XMMS plugin for dual spectral analyzer
+
+USE_BUILDLINK2= YES
+USE_X11= YES
+USE_LIBTOOL= YES
+
+pre-build:
+ cd ${WRKSRC} ; ${MAKE} clean
+
+.include "../../audio/xmms/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmms-dspectral/PLIST b/audio/xmms-dspectral/PLIST
new file mode 100644
index 00000000000..6bb4a901bd0
--- /dev/null
+++ b/audio/xmms-dspectral/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/15 00:44:42 hubertf Exp $
+lib/xmms/Visualization/libdspectral.so
+lib/xmms/Visualization/libdspectral.la
+lib/xmms/Visualization/libdspectral.a
+share/xmms/dspectral_themes/bg_blue.xpm
+share/xmms/dspectral_themes/bg_gtk.xpm
+share/xmms/dspectral_themes/bg_white.xpm
+share/xmms/dspectral_themes/bg_xmms.xpm
+@dirrm share/xmms/dspectral_themes
diff --git a/audio/xmms-dspectral/distinfo b/audio/xmms-dspectral/distinfo
new file mode 100644
index 00000000000..e80a78dd516
--- /dev/null
+++ b/audio/xmms-dspectral/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/15 00:44:42 hubertf Exp $
+
+SHA1 (dspectral-1.2.tar.gz) = da32adcdcfef1cc2e32e4d5013623be64922c430
+Size (dspectral-1.2.tar.gz) = 41866 bytes
+SHA1 (patch-aa) = ba20a05edbc3f1cccde8593933186bea2c37286f
diff --git a/audio/xmms-dspectral/patches/patch-aa b/audio/xmms-dspectral/patches/patch-aa
new file mode 100644
index 00000000000..33448c397e6
--- /dev/null
+++ b/audio/xmms-dspectral/patches/patch-aa
@@ -0,0 +1,56 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/02/15 00:44:42 hubertf Exp $
+
+--- Makefile.orig Sat Jan 20 06:19:26 2001
++++ Makefile
+@@ -1,12 +1,12 @@
+ # Change paths & OPT if necessary
+
+-CC = gcc
+-OPT = -m486 -O2
++#CC = gcc
++OPT = -O2
+ #OPT = -mpentium -O6
+ #OPT = -mcpu=k6 -march=k6 -O6
+-CFLAGS = $(OPT) -Wall -fPIC `gtk-config --cflags gthread`
+-LFLAGS = -shared -fPIC -L/usr/local/lib
+-OBJ = dspectral.o
++CFLAGS+= $(OPT) -Wall -fPIC `gtk-config --cflags gthread`
++#LFLAGS = -shared -fPIC -L/usr/local/lib
++OBJ = dspectral.lo
+ INSTALL-DIR=`xmms-config --visualization-plugin-dir`
+ XMMS_DATADIR=`xmms-config --data-dir`
+ #INSTALL-DIR=$(HOME)/.xmms/Plugins
+@@ -14,21 +14,24 @@ XMMS_DATADIR=`xmms-config --data-dir`
+ THEME_SUBDIR=dspectral_themes
+ XMMS_DATADIR_FLAGS=-DTHEMEDIR=\"$(XMMS_DATADIR)/$(THEME_SUBDIR)/\"
+
+-all: libdspectral.so
++.SUFFIXES: .c .lo
+
+-libdspectral.so: $(OBJ)
+- $(CC) -o libdspectral.so $(OBJ) $(LFLAGS)
++all: libdspectral.la
+
+-.c.o:
+- $(CC) $(CFLAGS) $(XMMS_DATADIR_FLAGS) -c $<
++libdspectral.la: $(OBJ)
++ ${LIBTOOL} $(CC) -o libdspectral.la $(OBJ) $(LFLAGS) -module -avoid-version -rpath $(INSTALL-DIR)
++
++.c.lo:
++ ${LIBTOOL} $(CC) $(CFLAGS) $(XMMS_DATADIR_FLAGS) -c $<
+
+ clean:
+- rm -f *.o core *.so*
++ rm -f *.o core *.so* *.lo *.la
++ rm -fr .libs
+
+ distclean:
+ rm -f *.o core *~
+
+ install:
+- install libdspectral.so $(INSTALL-DIR)
+- mkdir -p $(XMMS_DATADIR)/$(THEME_SUBDIR)
+- install bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
++ ${LIBTOOL} ${INSTALL} libdspectral.la $(INSTALL-DIR)
++ ${BSD_INSTALL_DATA_DIR} $(XMMS_DATADIR)/$(THEME_SUBDIR)
++ ${BSD_INSTALL_DATA} bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)