summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-08-16 02:26:21 +0000
committerhubertf <hubertf@pkgsrc.org>2001-08-16 02:26:21 +0000
commitf8d72d3101f02840939d4c218b05073966ea3acd (patch)
tree3e5a05491aa68abb4605daf5228790bede5cde93 /audio
parent04b70e523605229e07e22da14696d227e28a55bb (diff)
downloadpkgsrc-f8d72d3101f02840939d4c218b05073966ea3acd.tar.gz
xmms-dspectogram-1.2: XMMS plugin for dual spectogram
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-dspectogram/Makefile23
-rw-r--r--audio/xmms-dspectogram/distinfo5
-rw-r--r--audio/xmms-dspectogram/patches/patch-aa56
-rw-r--r--audio/xmms-dspectogram/pkg/DESCR1
-rw-r--r--audio/xmms-dspectogram/pkg/PLIST9
5 files changed, 94 insertions, 0 deletions
diff --git a/audio/xmms-dspectogram/Makefile b/audio/xmms-dspectogram/Makefile
new file mode 100644
index 00000000000..c205d24d0f6
--- /dev/null
+++ b/audio/xmms-dspectogram/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/08/16 02:26:21 hubertf Exp $
+#
+
+DISTNAME= dspectogram-1.2
+PKGNAME= xmms-dspectogram-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 spectogram
+
+DEPENDS+= xmms>=1.2.5:../../audio/xmms
+
+USE_X11= yes
+USE_LIBTOOL= yes
+
+pre-build:
+ cd ${WRKSRC} ; ${MAKE} clean
+
+.include "../../audio/xmms/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/xmms-dspectogram/distinfo b/audio/xmms-dspectogram/distinfo
new file mode 100644
index 00000000000..da3a6119133
--- /dev/null
+++ b/audio/xmms-dspectogram/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/08/16 02:26:21 hubertf Exp $
+
+SHA1 (dspectogram-1.2.tar.gz) = defad396e898efdaa597312629afc1b46bd7e9c9
+Size (dspectogram-1.2.tar.gz) = 40791 bytes
+SHA1 (patch-aa) = 8e7780bd3d3145264e9e154714020d857ce57fc8
diff --git a/audio/xmms-dspectogram/patches/patch-aa b/audio/xmms-dspectogram/patches/patch-aa
new file mode 100644
index 00000000000..1aad57bd6b3
--- /dev/null
+++ b/audio/xmms-dspectogram/patches/patch-aa
@@ -0,0 +1,56 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/08/16 02:26:21 hubertf Exp $
+
+--- Makefile.orig Sat Jan 20 15:20:49 2001
++++ Makefile
+@@ -1,12 +1,12 @@
+ # Change paths & OPT if necessary
+
+-CC = gcc
+-OPT = -m486 -O2
++#CC = gcc
++#OPT = -m486 -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 = dspectogram.o
++CFLAGS+= $(OPT) -Wall -fPIC `gtk-config --cflags gthread`
++#LFLAGS = -shared -fPIC -L/usr/local/lib
++OBJ = dspectogram.lo
+ INSTALL-DIR=`xmms-config --visualization-plugin-dir`
+ XMMS_DATADIR=`xmms-config --data-dir`
+ #INSTALL-DIR=$(HOME)/.xmms/Plugins
+@@ -14,21 +14,24 @@
+ THEME_SUBDIR=dspectogram_themes
+ XMMS_DATADIR_FLAGS=-DTHEMEDIR=\"$(XMMS_DATADIR)/$(THEME_SUBDIR)/\"
+
+-all: libdspectogram.so
++.SUFFIXES: .c .lo
+
+-libdspectogram.so: $(OBJ)
+- $(CC) -o libdspectogram.so $(OBJ) $(LFLAGS)
++all: libdspectogram.la
+
+-.c.o:
+- $(CC) $(CFLAGS) $(XMMS_DATADIR_FLAGS) -c $<
++libdspectogram.la: $(OBJ)
++ ${LIBTOOL} $(CC) -o libdspectogram.la $(OBJ) $(LFLAGS) -rpath ${INSTALL-DIR} -module -avoid-version
++
++.c.lo:
++ ${LIBTOOL} $(CC) $(CFLAGS) $(XMMS_DATADIR_FLAGS) -c $<
+
+ clean:
+- rm -f *.o core *.so*
++ rm -f *.o core *.so* *.la *.lo
++ rm -fr .libs
+
+ distclean:
+ rm -f *.o core *~
+
+ install:
+- install libdspectogram.so $(INSTALL-DIR)
+- mkdir -p $(XMMS_DATADIR)/$(THEME_SUBDIR)
+- install bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
++ ${LIBTOOL} ${INSTALL} libdspectogram.la $(INSTALL-DIR)
++ ${BSD_INSTALL_DATA_DIR} $(XMMS_DATADIR)/$(THEME_SUBDIR)
++ ${BSD_INSTALL_DATA} bg_*.xpm $(XMMS_DATADIR)/$(THEME_SUBDIR)
diff --git a/audio/xmms-dspectogram/pkg/DESCR b/audio/xmms-dspectogram/pkg/DESCR
new file mode 100644
index 00000000000..7b083e74362
--- /dev/null
+++ b/audio/xmms-dspectogram/pkg/DESCR
@@ -0,0 +1 @@
+Dual Spectogram visual XMMS plugin
diff --git a/audio/xmms-dspectogram/pkg/PLIST b/audio/xmms-dspectogram/pkg/PLIST
new file mode 100644
index 00000000000..80bccfeb8d5
--- /dev/null
+++ b/audio/xmms-dspectogram/pkg/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/16 02:26:21 hubertf Exp $
+lib/xmms/Visualization/libdspectogram.so
+lib/xmms/Visualization/libdspectogram.la
+lib/xmms/Visualization/libdspectogram.a
+share/xmms/dspectogram_themes/bg_gtk.xpm
+share/xmms/dspectogram_themes/bg_xmms.xpm
+share/xmms/dspectogram_themes/bg_xmms1.xpm
+share/xmms/dspectogram_themes/bg_xmms2.xpm
+@dirrm share/xmms/dspectogram_themes