aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2005-01-22 03:15:33 +0800
committerkrion <krion@FreeBSD.org>2005-01-22 03:15:33 +0800
commit187e186f0055d2b42f14baa8a94d082be1d86694 (patch)
treefbccae087c5eee665556a2adda3c0ab5f5ddeb6c /audio
parent6d972596bd78de48365e52bf4f00770a9c90a919 (diff)
downloadfreebsd-ports-gnome-187e186f0055d2b42f14baa8a94d082be1d86694.tar.gz
freebsd-ports-gnome-187e186f0055d2b42f14baa8a94d082be1d86694.tar.zst
freebsd-ports-gnome-187e186f0055d2b42f14baa8a94d082be1d86694.zip
Update to version 2.6
PR: ports/76540 Submitted by: Ports Fury
Diffstat (limited to 'audio')
-rw-r--r--audio/gkrellmss2/Makefile42
-rw-r--r--audio/gkrellmss2/distinfo4
-rw-r--r--audio/gkrellmss2/files/patch-src::Makefile39
3 files changed, 27 insertions, 58 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile
index 30a6e199301e..65371dd6b101 100644
--- a/audio/gkrellmss2/Makefile
+++ b/audio/gkrellmss2/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gkrellmss
-PORTVERSION= 2.3
-PORTREVISION= 3
+PORTVERSION= 2.6
CATEGORIES= audio
MASTER_SITES= http://web.wt.net/~billw/gkrellmss/
@@ -15,31 +14,40 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= A plugin for GKrellM with a VU meter showing left/right channel audio
BUILD_DEPENDS= ${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
-LIB_DEPENDS= gdk_pixbuf_xlib.2:${PORTSDIR}/graphics/gdk-pixbuf
-LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw
+LIB_DEPENDS= fftw3.3:${PORTSDIR}/math/fftw3
RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
LATEST_LINK= gkrellmss2
+
USE_X_PREFIX= yes
+USE_GNOME= esound gtk20
+USE_GCC= 3.4
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOMENG= yes
-USE_GNOME= esound imlib
-USE_XPM= yes
+MAKE_ENV= LOCALEDIR="${PREFIX}/share/locale"
PORTDOCS= Changelog README Themes
-PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so
-
-MAKE_ENV+= PLUGIN_INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
- INSTALLDIR=${PREFIX}/libexec/gkrellm2/plugins \
- LOCALEDIR=${PREFIX}/share/locale \
- FFTW_LIB_DIR=-L${LOCALBASE}/lib \
- enable_nls=1
-
-post-install:
+PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so \
+ share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|= -O2|=|g ; \
+ s|= gcc|+=|g' ${WRKSRC}/src/Makefile
+
+do-configure:
+ @${ECHO_CMD} "" > ${WRKSRC}/src/configure.h
+ @${ECHO_CMD} "#define HAVE_ESOUND 1" >> ${WRKSRC}/src/configure.h
+ @${ECHO_CMD} "#define HAVE_FFTW3 1" >> ${WRKSRC}/src/configure.h
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/gkrellmss.so \
+ ${PREFIX}/libexec/gkrellm2/plugins/gkrellmss.so
+ ${INSTALL_DATA} ${WRKSRC}/po/ru.mo \
+ ${PREFIX}/share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
diff --git a/audio/gkrellmss2/distinfo b/audio/gkrellmss2/distinfo
index 257890135609..17bc712868b8 100644
--- a/audio/gkrellmss2/distinfo
+++ b/audio/gkrellmss2/distinfo
@@ -1,2 +1,2 @@
-MD5 (gkrellmss-2.3.tar.gz) = 457a85c28f049ef0787c842b5494ece0
-SIZE (gkrellmss-2.3.tar.gz) = 24398
+MD5 (gkrellmss-2.6.tar.gz) = 67284260336bc5c4f313bd69c6c092f6
+SIZE (gkrellmss-2.6.tar.gz) = 32082
diff --git a/audio/gkrellmss2/files/patch-src::Makefile b/audio/gkrellmss2/files/patch-src::Makefile
deleted file mode 100644
index 128aefe8456e..000000000000
--- a/audio/gkrellmss2/files/patch-src::Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/Makefile.orig Sat Oct 26 20:48:59 2002
-+++ src/Makefile Tue Feb 4 13:17:23 2003
-@@ -10,15 +10,15 @@
- SD_INCLUDE =
- SD_LIB = -lasound
- else
--SD_INCLUDE = `esd-config --cflags`
--SD_LIB = `esd-config --libs`
-+SD_INCLUDE = `${ESD_CONFIG} --cflags`
-+SD_LIB = `${ESD_CONFIG} --libs`
- endif
-
- FFTW_LIB_DIR ?=
-
- FFTW_LIB = $(FFTW_LIB_DIR) -lrfftw -lfftw
-
--FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
-+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(SD_INCLUDE)
- LIBS = $(GTK_LIB) $(SD_LIB) $(FFTW_LIB) -lm
-
- ifeq ($(OS_NAME),Darwin)
-@@ -42,7 +42,7 @@
- FLAGS += -DGKRELLM_ALSA5
- endif
-
--CC = gcc $(FLAGS) $(CFLAGS)
-+CC += $(FLAGS) $(CFLAGS)
-
- OBJS = gkrellmss.o oscope.o spectrum.o sdlib.o
-
-@@ -56,7 +56,7 @@
-
- install:
- $(INSTALL) -d -m 755 $(INSTALLDIR)
-- $(INSTALL) -c $(STRIP) -m 755 gkrellmss.so $(INSTALLDIR)
-+ $(INSTALL) gkrellmss.so $(INSTALLDIR)
-
- gkrellmss.o: gkrellmss.c gkrellmss.h
- oscope.o: oscope.c gkrellmss.h