summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 22:10:57 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-02 22:10:57 +0800
commit8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a (patch)
tree116cf364e2af8776bc37659da7fc51b2fb8dbb82
parent9379151f70e66e20e8be69067b74af3d7c234b27 (diff)
downloadmarcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar.gz
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar.bz2
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar.lz
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar.xz
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.tar.zst
marcuscom-ports-8ee3eaba60ed9b4f9c5b10d6aaaf4c728c73dc2a.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8750 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--audio/glame/Makefile48
-rw-r--r--audio/glame/distinfo3
-rw-r--r--audio/glame/files/patch-Makefile.in11
-rw-r--r--audio/glame/files/patch-src::plugins::audio_io_oss.c14
-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, 185 insertions, 0 deletions
diff --git a/audio/glame/Makefile b/audio/glame/Makefile
new file mode 100644
index 000000000..b4d83bd52
--- /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= 3
+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 libtool: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..9d41ec1c7
--- /dev/null
+++ b/audio/glame/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- 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..6b75c9278
--- /dev/null
+++ b/audio/glame/files/patch-src::plugins::audio_io_oss.c
@@ -0,0 +1,14 @@
+--- 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..c776a227d
--- /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/apps/Multimedia/glame.desktop
+share/glame/default-accels
+share/glame/pixmaps/bandpass.png
+share/glame/pixmaps/const.png
+share/glame/pixmaps/default.png
+share/glame/pixmaps/delay.png
+share/glame/pixmaps/distortion.png
+share/glame/pixmaps/dots.png
+share/glame/pixmaps/drop.png
+share/glame/pixmaps/dup.png
+share/glame/pixmaps/echo.png
+share/glame/pixmaps/equalizer.png
+share/glame/pixmaps/extend.png
+share/glame/pixmaps/fade.png
+share/glame/pixmaps/fft.png
+share/glame/pixmaps/flanger.png
+share/glame/pixmaps/glame-logo.jpg
+share/glame/pixmaps/iir.png
+share/glame/pixmaps/input.png
+share/glame/pixmaps/invert.png
+share/glame/pixmaps/mix1.png
+share/glame/pixmaps/noisegate.png
+share/glame/pixmaps/null.png
+share/glame/pixmaps/one2n.png
+share/glame/pixmaps/output.png
+share/glame/pixmaps/pan.png
+share/glame/pixmaps/ping.png
+share/glame/pixmaps/pipe.png
+share/glame/pixmaps/play-button.png
+share/glame/pixmaps/play.png
+share/glame/pixmaps/prod.png
+share/glame/pixmaps/pulse.png
+share/glame/pixmaps/rect.png
+share/glame/pixmaps/repeat.png
+share/glame/pixmaps/resample.png
+share/glame/pixmaps/save.png
+share/glame/pixmaps/select_all.png
+share/glame/pixmaps/select_none.png
+share/glame/pixmaps/sine.png
+share/glame/pixmaps/statistics.png
+share/glame/pixmaps/stop-button.png
+share/glame/pixmaps/sum.png
+share/glame/pixmaps/volume_adjust.png
+share/glame/pixmaps/zoom_in.png
+share/glame/pixmaps/zoom_out.png
+share/glame/scripts/bassboost.scm
+share/glame/scripts/echo2.scm
+share/glame/scripts/glame.scm
+share/glame/scripts/glame_testsuite.scm
+share/glame/scripts/read_mp3.scm
+share/glame/scripts/resample.scm
+share/glame/scripts/write_mp3.scm
+share/locale/de/LC_MESSAGES/glame.mo
+share/locale/fr/LC_MESSAGES/glame.mo
+@dirrm share/glame/scripts
+@dirrm share/glame/pixmaps
+@dirrm share/glame
+@dirrm lib/glame