summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 12:05:36 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-25 12:05:36 +0800
commitc0355dac7b64146fec293d4f6b82b47a073ed4e7 (patch)
treee305072e02081a2ab732072f48772e4ab2ad8cf2 /audio
parent48ede53b1c39fd3e6920c26d8015d2da4cdaac54 (diff)
downloadmarcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar.gz
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar.bz2
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar.lz
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar.xz
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.tar.zst
marcuscom-ports-c0355dac7b64146fec293d4f6b82b47a073ed4e7.zip
USE_X_PREFIX -> USE_XLIB, bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6783 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio')
-rw-r--r--audio/glame/Makefile48
-rw-r--r--audio/glame/distinfo3
-rw-r--r--audio/glame/files/patch-Makefile.in14
-rw-r--r--audio/glame/files/patch-src::plugins::audio_io_oss.c17
-rw-r--r--audio/glame/files/patch-swapfile.c16
-rw-r--r--audio/glame/pkg-descr5
-rw-r--r--audio/glame/pkg-plist88
7 files changed, 191 insertions, 0 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
new file mode 100644
index 000000000..5ffba4fd7
--- /dev/null
+++ b/audio/glame/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: glame
+# Date created: 26 September 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= glame
+PORTVERSION= 2.0.1
+PORTREVISION= 2
+CATEGORIES= audio gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A powerful, fast, stable, and easily extensible sound editor for GNOME
+
+BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+LIB_DEPENDS= mp3lame.0:${PORTSDIR}/audio/lame \
+ mad.2:${PORTSDIR}/audio/libmad \
+ vorbis.3:${PORTSDIR}/audio/libvorbis \
+ guile.15:${PORTSDIR}/lang/guile
+
+USE_XLIB= yes
+USE_GNOME= gnomehack gnomeprefix gnometarget libgnomeui
+USE_GCC= 3.4
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+USE_AUTOTOOLS= libltdl:15
+USE_GMAKE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
+ MAKEINFO="makeinfo --no-split"
+
+INFO= glame glame-dev
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib -lltdl
+
+post-extract:
+ @cd ${WRKSRC}/doc && ${RM} -f *.info*
+
+post-patch:
+ @${REINPLACE_CMD} -e 's| libltdl||g ; \
+ s|,$$LIBLTDL,|,,|g ; \
+ s|,$$LTDLINCL,|,,|g ; \
+ s|,$$LTLIBOBJS,|,,|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/audio/glame/distinfo b/audio/glame/distinfo
new file mode 100644
index 000000000..cf9c81093
--- /dev/null
+++ b/audio/glame/distinfo
@@ -0,0 +1,3 @@
+MD5 (glame-2.0.1.tar.gz) = b18e93e8f5d2ed9cd56c4e8088a58f18
+SHA256 (glame-2.0.1.tar.gz) = c1106fc540bd28c88fedce8f0e386115c387e92fe1e06480ffcdf7f3d067bb3c
+SIZE (glame-2.0.1.tar.gz) = 1662524
diff --git a/audio/glame/files/patch-Makefile.in b/audio/glame/files/patch-Makefile.in
new file mode 100644
index 000000000..a2931ae76
--- /dev/null
+++ b/audio/glame/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD: ports/audio/glame/files/patch-Makefile.in,v 1.3 2004/12/11 18:26:00 krion Exp $
+
+--- Makefile.in.orig Fri Oct 29 03:53:30 2004
++++ Makefile.in Fri Oct 29 21:29:55 2004
+@@ -280,7 +280,7 @@
+ subdirs = @subdirs@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+-SUBDIRS = intl libltdl macros src doc data po
++SUBDIRS = intl macros src doc data po
+ ACLOCAL_AMFLAGS = -I macros -I .
+ EXTRA_DIST = TODO MAINTAINERS CREDITS BUGS autogen.sh glame.spec
+ all: config.h
diff --git a/audio/glame/files/patch-src::plugins::audio_io_oss.c b/audio/glame/files/patch-src::plugins::audio_io_oss.c
new file mode 100644
index 000000000..448eef265
--- /dev/null
+++ b/audio/glame/files/patch-src::plugins::audio_io_oss.c
@@ -0,0 +1,17 @@
+
+$FreeBSD: ports/audio/glame/files/patch-src::plugins::audio_io_oss.c,v 1.1 2003/07/01 12:34:21 sobomax Exp $
+
+--- src/plugins/audio_io_oss.c 2003/07/01 12:26:28 1.1
++++ src/plugins/audio_io_oss.c 2003/07/01 12:26:41
+@@ -26,9 +26,9 @@
+
+ #ifdef HAVE_OSS_LINUX
+ #include <linux/soundcard.h>
+-#elif HAVE_OSS_SYS
++#elif defined(HAVE_OSS_SYS)
+ #include <sys/soundcard.h>
+-#elif HAVE_OSS_MACHINE
++#elif defined(HAVE_OSS_MACHINE)
+ #include <machine/soundcard.h>
+ #else
+ #error BUG in OSS configuration.
diff --git a/audio/glame/files/patch-swapfile.c b/audio/glame/files/patch-swapfile.c
new file mode 100644
index 000000000..412fee712
--- /dev/null
+++ b/audio/glame/files/patch-swapfile.c
@@ -0,0 +1,16 @@
+--- src/swapfile/swapfile_fs.c.orig Sat Oct 23 22:09:29 2004
++++ src/swapfile/swapfile_fs.c Tue Mar 29 23:11:17 2005
+@@ -44,8 +44,12 @@
+ #define DEBUG 1
+ #endif
+
+-#include <sys/stat.h>
++#if __FreeBSD__ >= 5
++#define __BSD_VISIBLE 1
++#endif
++
+ #include <sys/types.h>
++#include <sys/stat.h>
+ #include <pthread.h>
+ #include <fcntl.h>
+ #include <dirent.h>
diff --git a/audio/glame/pkg-descr b/audio/glame/pkg-descr
new file mode 100644
index 000000000..7675fc8ec
--- /dev/null
+++ b/audio/glame/pkg-descr
@@ -0,0 +1,5 @@
+GLAME is meant to be the GIMP of audio processing. It is designed to be
+a powerful, fast, stable, and easily extensible sound editor for GNOME
+desktop.
+
+WWW: http://glame.sourceforge.net/
diff --git a/audio/glame/pkg-plist b/audio/glame/pkg-plist
new file mode 100644
index 000000000..791927ad0
--- /dev/null
+++ b/audio/glame/pkg-plist
@@ -0,0 +1,88 @@
+bin/cglame
+bin/glame
+bin/glame-convert.sh
+lib/glame/audio_io_esd.a
+lib/glame/audio_io_esd.la
+lib/glame/audio_io_esd.so
+lib/glame/audio_io_oss.a
+lib/glame/audio_io_oss.la
+lib/glame/audio_io_oss.so
+lib/glame/debug.a
+lib/glame/debug.la
+lib/glame/debug.so
+lib/glame/file_mp3_out.a
+lib/glame/file_mp3_out.la
+lib/glame/file_mp3_out.so
+lib/glame/file_oggvorbis_out.a
+lib/glame/file_oggvorbis_out.la
+lib/glame/file_oggvorbis_out.so
+lib/glame/mixer.a
+lib/glame/mixer.la
+lib/glame/mixer.so
+lib/glame/normalize.a
+lib/glame/normalize.la
+lib/glame/normalize.so
+lib/glame/resample.a
+lib/glame/resample.la
+lib/glame/resample.so
+lib/glame/tutorial.a
+lib/glame/tutorial.la
+lib/glame/tutorial.so
+share/gnome/apps/Multimedia/glame.desktop
+share/gnome/glame/default-accels
+share/gnome/glame/pixmaps/bandpass.png
+share/gnome/glame/pixmaps/const.png
+share/gnome/glame/pixmaps/default.png
+share/gnome/glame/pixmaps/delay.png
+share/gnome/glame/pixmaps/distortion.png
+share/gnome/glame/pixmaps/dots.png
+share/gnome/glame/pixmaps/drop.png
+share/gnome/glame/pixmaps/dup.png
+share/gnome/glame/pixmaps/echo.png
+share/gnome/glame/pixmaps/equalizer.png
+share/gnome/glame/pixmaps/extend.png
+share/gnome/glame/pixmaps/fade.png
+share/gnome/glame/pixmaps/fft.png
+share/gnome/glame/pixmaps/flanger.png
+share/gnome/glame/pixmaps/glame-logo.jpg
+share/gnome/glame/pixmaps/iir.png
+share/gnome/glame/pixmaps/input.png
+share/gnome/glame/pixmaps/invert.png
+share/gnome/glame/pixmaps/mix1.png
+share/gnome/glame/pixmaps/noisegate.png
+share/gnome/glame/pixmaps/null.png
+share/gnome/glame/pixmaps/one2n.png
+share/gnome/glame/pixmaps/output.png
+share/gnome/glame/pixmaps/pan.png
+share/gnome/glame/pixmaps/ping.png
+share/gnome/glame/pixmaps/pipe.png
+share/gnome/glame/pixmaps/play-button.png
+share/gnome/glame/pixmaps/play.png
+share/gnome/glame/pixmaps/prod.png
+share/gnome/glame/pixmaps/pulse.png
+share/gnome/glame/pixmaps/rect.png
+share/gnome/glame/pixmaps/repeat.png
+share/gnome/glame/pixmaps/resample.png
+share/gnome/glame/pixmaps/save.png
+share/gnome/glame/pixmaps/select_all.png
+share/gnome/glame/pixmaps/select_none.png
+share/gnome/glame/pixmaps/sine.png
+share/gnome/glame/pixmaps/statistics.png
+share/gnome/glame/pixmaps/stop-button.png
+share/gnome/glame/pixmaps/sum.png
+share/gnome/glame/pixmaps/volume_adjust.png
+share/gnome/glame/pixmaps/zoom_in.png
+share/gnome/glame/pixmaps/zoom_out.png
+share/gnome/glame/scripts/bassboost.scm
+share/gnome/glame/scripts/echo2.scm
+share/gnome/glame/scripts/glame.scm
+share/gnome/glame/scripts/glame_testsuite.scm
+share/gnome/glame/scripts/read_mp3.scm
+share/gnome/glame/scripts/resample.scm
+share/gnome/glame/scripts/write_mp3.scm
+share/locale/de/LC_MESSAGES/glame.mo
+share/locale/fr/LC_MESSAGES/glame.mo
+@dirrm share/gnome/glame/scripts
+@dirrm share/gnome/glame/pixmaps
+@dirrm share/gnome/glame
+@dirrm lib/glame