From a3031b5d192cc03e7b77ff8261160c25b73c015d Mon Sep 17 00:00:00 2001 From: hubertf Date: Thu, 16 Aug 2001 02:26:52 +0000 Subject: xmms-dspectral-1.2: XMMS plugin for dual spectral analyzer --- audio/xmms-dspectralizer/Makefile | 23 +++++++++++++ audio/xmms-dspectralizer/distinfo | 5 +++ audio/xmms-dspectralizer/patches/patch-aa | 55 +++++++++++++++++++++++++++++++ audio/xmms-dspectralizer/pkg/DESCR | 1 + audio/xmms-dspectralizer/pkg/PLIST | 9 +++++ 5 files changed, 93 insertions(+) create mode 100644 audio/xmms-dspectralizer/Makefile create mode 100644 audio/xmms-dspectralizer/distinfo create mode 100644 audio/xmms-dspectralizer/patches/patch-aa create mode 100644 audio/xmms-dspectralizer/pkg/DESCR create mode 100644 audio/xmms-dspectralizer/pkg/PLIST diff --git a/audio/xmms-dspectralizer/Makefile b/audio/xmms-dspectralizer/Makefile new file mode 100644 index 00000000000..e6d1c93146f --- /dev/null +++ b/audio/xmms-dspectralizer/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/08/16 02:26:52 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 + +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-dspectralizer/distinfo b/audio/xmms-dspectralizer/distinfo new file mode 100644 index 00000000000..ddb9cbdf8f1 --- /dev/null +++ b/audio/xmms-dspectralizer/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/08/16 02:26:52 hubertf Exp $ + +SHA1 (dspectral-1.2.tar.gz) = da32adcdcfef1cc2e32e4d5013623be64922c430 +Size (dspectral-1.2.tar.gz) = 41866 bytes +SHA1 (patch-aa) = 06f081f6f1cfac8dad2912fe1dc9fba0428c90c0 diff --git a/audio/xmms-dspectralizer/patches/patch-aa b/audio/xmms-dspectralizer/patches/patch-aa new file mode 100644 index 00000000000..78b9bd7bdce --- /dev/null +++ b/audio/xmms-dspectralizer/patches/patch-aa @@ -0,0 +1,55 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/08/16 02:26:52 hubertf Exp $ + +--- Makefile.orig Sat Jan 20 15:19:26 2001 ++++ Makefile +@@ -1,12 +1,12 @@ + # Change paths & OPT if necessary + +-CC = gcc ++#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 = 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 @@ + 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) diff --git a/audio/xmms-dspectralizer/pkg/DESCR b/audio/xmms-dspectralizer/pkg/DESCR new file mode 100644 index 00000000000..2b6d7835013 --- /dev/null +++ b/audio/xmms-dspectralizer/pkg/DESCR @@ -0,0 +1 @@ +Dual Spectralizer visual XMMS plugin diff --git a/audio/xmms-dspectralizer/pkg/PLIST b/audio/xmms-dspectralizer/pkg/PLIST new file mode 100644 index 00000000000..52bbb395390 --- /dev/null +++ b/audio/xmms-dspectralizer/pkg/PLIST @@ -0,0 +1,9 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/08/16 02:26:52 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 -- cgit v1.2.3