pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/gkrellm-volume Update to version 2.1.9, from pkg...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7eddb3219aea
branches: trunk
changeset: 469531:7eddb3219aea
user: cube <cube%pkgsrc.org@localhost>
date: Tue Feb 24 22:39:26 2004 +0000
description:
Update to version 2.1.9, from pkgsrc-wip.
This is the GKrellM-2 version of the plugin volume.
diffstat:
audio/gkrellm-volume/Makefile | 29 ++++++++-------
audio/gkrellm-volume/PLIST | 9 +++-
audio/gkrellm-volume/distinfo | 9 ++--
audio/gkrellm-volume/patches/patch-aa | 65 ++++++++--------------------------
audio/gkrellm-volume/patches/patch-ab | 13 -------
5 files changed, 42 insertions(+), 83 deletions(-)
diffs (161 lines):
diff -r 6fdc1ceaf08a -r 7eddb3219aea audio/gkrellm-volume/Makefile
--- a/audio/gkrellm-volume/Makefile Tue Feb 24 22:33:50 2004 +0000
+++ b/audio/gkrellm-volume/Makefile Tue Feb 24 22:39:26 2004 +0000
@@ -1,21 +1,24 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:07:42 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/02/24 22:39:26 cube Exp $
-DISTNAME= volume-0.8
-PKGNAME= gkrellm-${DISTNAME}
-PKGREVISION= 3
+DISTNAME= gkrellm-volume-2.1.9
+WRKSRC= ${WRKDIR}/gkrellm-volume
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
-MAINTAINER= jmmv%NetBSD.org@localhost
+MAINTAINER= cube%NetBSD.org@localhost
HOMEPAGE= http://gkrellm.luon.net/volume.phtml
-COMMENT= gkrellm volume mixer plugin
+COMMENT= Gkrellm2 volume mixer plugin
+
+BUILD_USES_MSGFMT= YES
-WRKSRC= ${WRKDIR}/volume
-PTHREAD_OPTS= require
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= YES
+USE_GNU_TOOLS+= make
+USE_PKGLOCALEDIR= YES
-.include "../../graphics/imlib/buildlink2.mk"
-.include "../../sysutils/gkrellm/buildlink2.mk"
-.include "../../x11/gtk/buildlink2.mk"
-.include "../../mk/pthread.buildlink2.mk"
+MAKE_ENV+= LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
+ enable_nls=1
+
+.include "../../sysutils/gkrellm/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 6fdc1ceaf08a -r 7eddb3219aea audio/gkrellm-volume/PLIST
--- a/audio/gkrellm-volume/PLIST Tue Feb 24 22:33:50 2004 +0000
+++ b/audio/gkrellm-volume/PLIST Tue Feb 24 22:39:26 2004 +0000
@@ -1,2 +1,7 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2002/06/11 22:39:42 wiz Exp $
-lib/gkrellm/plugins/volume.so
+@comment $NetBSD: PLIST,v 1.2 2004/02/24 22:39:26 cube Exp $
+lib/gkrellm2/plugins/volume.so
+${PKGLOCALEDIR}/locale/de/LC_MESSAGES/gkrellm-volume.mo
+${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gkrellm-volume.mo
+${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/gkrellm-volume.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gkrellm-volume.mo
+${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/gkrellm-volume.mo
diff -r 6fdc1ceaf08a -r 7eddb3219aea audio/gkrellm-volume/distinfo
--- a/audio/gkrellm-volume/distinfo Tue Feb 24 22:33:50 2004 +0000
+++ b/audio/gkrellm-volume/distinfo Tue Feb 24 22:39:26 2004 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.2 2002/06/11 22:54:10 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/02/24 22:39:26 cube Exp $
-SHA1 (volume-0.8.tar.gz) = 7348c8fc41bdc6c236442748ef3c803851a151f8
-Size (volume-0.8.tar.gz) = 8395 bytes
-SHA1 (patch-aa) = adf96e0bd1e2b65e85394c4c50ce1db587b73195
-SHA1 (patch-ab) = 9281f2e550134887bfbc99464ab79987f4a26183
+SHA1 (gkrellm-volume-2.1.9.tar.gz) = 7003c1ef3ebd141df9b15fa8e631e43d27dcca9b
+Size (gkrellm-volume-2.1.9.tar.gz) = 37888 bytes
+SHA1 (patch-aa) = 930ff02b776d77945c9fdef16c781fca64eedd4d
diff -r 6fdc1ceaf08a -r 7eddb3219aea audio/gkrellm-volume/patches/patch-aa
--- a/audio/gkrellm-volume/patches/patch-aa Tue Feb 24 22:33:50 2004 +0000
+++ b/audio/gkrellm-volume/patches/patch-aa Tue Feb 24 22:39:26 2004 +0000
@@ -1,57 +1,22 @@
-$NetBSD: patch-aa,v 1.2 2002/06/11 22:54:11 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2004/02/24 22:39:26 cube Exp $
---- Makefile.orig Fri Jun 23 19:47:00 2000
+--- Makefile.orig 2003-01-18 20:59:09.000000000 +0100
+++ Makefile
-@@ -1,27 +1,19 @@
- # Makefile for GKrellM volume plugin
+@@ -2,14 +2,14 @@
--# Linux
--GTK_CONFIG = gtk-config
--SYSLIB = -lpthread
--
--# FreeBSD
--#GTK_CONFIG = gtk12-config
--#SYSLIB =
--
--PLUGIN_DIR = /usr/share/gkrellm/plugins
-+PLUGIN_DIR = ${LOCALBASE}/lib/gkrellm/plugins
- GKRELLM_INCLUDE = -I/usr/local/include
-
--GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
--GTK_LIB = `$(GTK_CONFIG) --libs`
-+GTK_INCLUDE = `gtk-config --cflags`
-+GTK_LIB = `gtk-config --libs`
-
- IMLIB_INCLUDE = `imlib-config --cflags-gdk`
- IMLIB_LIB = `imlib-config --libs-gdk`
+ GTK_CONFIG = pkg-config gtk+-2.0
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
--LIBS = $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
--LFLAGS = -shared
-+CFLAGS+= -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE)
-+LIBS+= $(GTK_LIB) $(IMLIB_LIB) $(SYSLIB)
-+LFLAGS+= -shared -lpthread -lossaudio
-
--CC = gcc $(CFLAGS) $(FLAGS)
-+CC = gcc $(CFLAGS)
-
- INSTALL = install -c
- INSTALL_PROGRAM = $(INSTALL) -s
-@@ -30,9 +22,6 @@
+-PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
+-GKRELLM_INCLUDE = -I/usr/local/include
++PLUGIN_DIR ?= $(PREFIX)/lib/gkrellm2/plugins
++GKRELLM_INCLUDE = -I$(BUILDLINK_DIR)/include
- all: volume.so
-
--freebsd:
-- make GTK_CONFIG=gtk12-config SYSLIB=all
--
- volume.so: $(OBJS)
- $(CC) $(OBJS) -o volume.so $(LIBS) $(LFLAGS)
+ GTK_CFLAGS = `$(GTK_CONFIG) --cflags`
+ GTK_LIB = `$(GTK_CONFIG) --libs`
-@@ -40,6 +29,7 @@
- rm -f *.o core *.so* *.bak *~
+ FLAGS = -O2 -Wall -fPIC $(GTK_CFLAGS) $(GKRELLM_INCLUDE)
+-LIBS = $(GTK_LIB)
++LIBS = $(GTK_LIB) $(LIBOSSAUDIO)
+ LFLAGS = -shared
- install:
-+ mkdir -p $(PLUGIN_DIR)
- $(INSTALL_PROGRAM) volume.so $(PLUGIN_DIR)
-
- volume.c.o: volume.c
+ PACKAGE ?= gkrellm-volume
diff -r 6fdc1ceaf08a -r 7eddb3219aea audio/gkrellm-volume/patches/patch-ab
--- a/audio/gkrellm-volume/patches/patch-ab Tue Feb 24 22:33:50 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2002/06/11 22:54:11 wiz Exp $
-
---- volume.c.orig Wed Nov 22 21:35:42 2000
-+++ volume.c
-@@ -19,6 +19,8 @@
-
- #ifdef __FreeBSD__
- #include <machine/soundcard.h>
-+#elif __NetBSD__
-+#include <soundcard.h>
- #else
- #include <sys/soundcard.h>
- #endif
Home |
Main Index |
Thread Index |
Old Index