summaryrefslogtreecommitdiff
path: root/audio/xmms-dspectogram
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-08-16 04:59:59 +0000
committerzuntum <zuntum@pkgsrc.org>2001-08-16 04:59:59 +0000
commita5831930e29867b054c151feb77a6958ac151c1c (patch)
tree6e157d9a2eddd6c043b1a16dbe46bb5f02badde7 /audio/xmms-dspectogram
parent5bb4885157d295cc44339b7b27616c2fbe2e5578 (diff)
downloadpkgsrc-a5831930e29867b054c151feb77a6958ac151c1c.tar.gz
o set USE_BUILDLINK_ONLY
o use XMMS_CONFIG o derive PKGNAME from DISTNAME
Diffstat (limited to 'audio/xmms-dspectogram')
-rw-r--r--audio/xmms-dspectogram/Makefile6
-rw-r--r--audio/xmms-dspectogram/distinfo4
-rw-r--r--audio/xmms-dspectogram/patches/patch-aa12
3 files changed, 13 insertions, 9 deletions
diff --git a/audio/xmms-dspectogram/Makefile b/audio/xmms-dspectogram/Makefile
index acaf8de0124..eea5e98ed89 100644
--- a/audio/xmms-dspectogram/Makefile
+++ b/audio/xmms-dspectogram/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2001/08/16 03:34:22 zuntum Exp $
+# $NetBSD: Makefile,v 1.5 2001/08/16 04:59:59 zuntum Exp $
#
DISTNAME= dspectogram-1.2
-PKGNAME= xmms-dspectogram-1.2
+PKGNAME= xmms-${DISTNAME}
CATEGORIES= audio
MASTER_SITES= http://hem.passagen.se/joakime/
@@ -10,9 +10,11 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://hem.passagen.se/joakime/linuxapp.html
COMMENT= XMMS plugin for dual spectogram
+USE_BUILDLINK_ONLY= YES
USE_X11= yes
USE_LIBTOOL= yes
MAKE_ENV+= GTK_CONFIG=${BUILDLINK_CONFIG_WRAPPER.gtk}
+MAKE_ENV+= XMMS_CONFIG=${BUILDLINK_CONFIG_WRAPPER.xmms}
pre-build:
cd ${WRKSRC} ; ${MAKE} clean
diff --git a/audio/xmms-dspectogram/distinfo b/audio/xmms-dspectogram/distinfo
index 6016be419d1..63c230ff445 100644
--- a/audio/xmms-dspectogram/distinfo
+++ b/audio/xmms-dspectogram/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/08/16 03:20:46 hubertf Exp $
+$NetBSD: distinfo,v 1.3 2001/08/16 04:59:59 zuntum Exp $
SHA1 (dspectogram-1.2.tar.gz) = defad396e898efdaa597312629afc1b46bd7e9c9
Size (dspectogram-1.2.tar.gz) = 40791 bytes
-SHA1 (patch-aa) = f61a8b8e6243c1da1ef4da356cf7f2a25d7a1e92
+SHA1 (patch-aa) = 898302d39374a09cdd90736b344854f94cb5ed73
diff --git a/audio/xmms-dspectogram/patches/patch-aa b/audio/xmms-dspectogram/patches/patch-aa
index df40d94d6a7..a3f72889be7 100644
--- a/audio/xmms-dspectogram/patches/patch-aa
+++ b/audio/xmms-dspectogram/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2001/08/16 03:20:46 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2001/08/16 04:59:59 zuntum Exp $
--- Makefile.orig Sat Jan 20 15:20:49 2001
+++ Makefile
-@@ -1,12 +1,12 @@
+@@ -1,34 +1,37 @@
# Change paths & OPT if necessary
-CC = gcc
@@ -14,13 +14,15 @@ $NetBSD: patch-aa,v 1.2 2001/08/16 03:20:46 hubertf Exp $
-CFLAGS = $(OPT) -Wall -fPIC `gtk-config --cflags gthread`
-LFLAGS = -shared -fPIC -L/usr/local/lib
-OBJ = dspectogram.o
+-INSTALL-DIR=`xmms-config --visualization-plugin-dir`
+-XMMS_DATADIR=`xmms-config --data-dir`
+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=`$(XMMS_CONFIG) --visualization-plugin-dir`
++XMMS_DATADIR=`$(XMMS_CONFIG) --data-dir`
#INSTALL-DIR=$(HOME)/.xmms/Plugins
-@@ -14,21 +14,24 @@
+ #XMMS_DATADIR=$(HOME)/.xmms
THEME_SUBDIR=dspectogram_themes
XMMS_DATADIR_FLAGS=-DTHEMEDIR=\"$(XMMS_DATADIR)/$(THEME_SUBDIR)/\"