aboutsummaryrefslogtreecommitdiff
path: root/audio/aube
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-06-10 09:26:34 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-06-10 09:26:34 +0000
commit8076e476dc77729b812439c30e60691eb119bc8f (patch)
tree05e39e641ec0aa3cd3fa43f88150b007db2c17c0 /audio/aube
parent3ae93aea157e98235806d8e3043e2c8b761729f7 (diff)
downloadports-8076e476dc77729b812439c30e60691eb119bc8f.tar.gz
ports-8076e476dc77729b812439c30e60691eb119bc8f.zip
Notes
Diffstat (limited to 'audio/aube')
-rw-r--r--audio/aube/Makefile33
-rw-r--r--audio/aube/distinfo1
-rw-r--r--audio/aube/files/patch-configure72
-rw-r--r--audio/aube/files/patch-src::Makefile.in11
-rw-r--r--audio/aube/pkg-descr6
-rw-r--r--audio/aube/pkg-plist5
6 files changed, 128 insertions, 0 deletions
diff --git a/audio/aube/Makefile b/audio/aube/Makefile
new file mode 100644
index 000000000000..b72ea6c1d5bf
--- /dev/null
+++ b/audio/aube/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: aube
+# Date created: 09.06.2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= aube
+PORTVERSION= 0.30.2
+CATEGORIES= audio gnome
+MASTER_SITES= http://www.metadecks.org/software/aube/download/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= System for sound generation and processing
+
+LIB_DEPENDS= audiofile.0:${PORTSDIR}/audio/libaudiofile
+
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+USE_GNOME= gnomeprefix gnomehier gnomehack gtk12 imlib
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= aube.1
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/audio/aube/distinfo b/audio/aube/distinfo
new file mode 100644
index 000000000000..bef0842cab93
--- /dev/null
+++ b/audio/aube/distinfo
@@ -0,0 +1 @@
+MD5 (aube-0.30.2.tar.gz) = dffa22ed759d05d2b110f03d09906ccf
diff --git a/audio/aube/files/patch-configure b/audio/aube/files/patch-configure
new file mode 100644
index 000000000000..c5be735cf12e
--- /dev/null
+++ b/audio/aube/files/patch-configure
@@ -0,0 +1,72 @@
+--- configure.orig Tue Jun 10 00:01:58 2003
++++ configure Tue Jun 10 00:04:25 2003
+@@ -2250,27 +2250,29 @@
+
+ #AM_PATH_GENERIC(xml, 0.99.0)
+
+-echo $ac_n "checking for in -l""... $ac_c" 1>&6
+-echo "configure:2255: checking for in -l" >&5
+-ac_lib_var=`echo '_' | sed 'y%./+-%__p_%'`
++LIBS=""
++echo $ac_n "checking for gdk_imlib_render in -lgdk_imlib""... $ac_c" 1>&6
++echo "configure:6942: checking for gdk_imlib_render in -lgdk_imlib" >&5
++ac_lib_var=`echo gdk_imlib'_'gdk_imlib_render | sed 'y%./+-%__p_%'`
+ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-l $LIBS"
+-cat > conftest.$ac_ext <<EOF
+-#line 2263 "configure"
++GDK_IMLIB_LIBS=`imlib-config --libs-gdk`
++LIBS="${GTK_LIBS} ${GDK_IMLIB_LIBS} $LIBS"
++cat > conftest.$ac_ext <<EOF
++#line 6950 "configure"
+ #include "confdefs.h"
+ /* Override any gcc2 internal prototype to avoid an error. */
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+-char ();
++char gdk_imlib_render();
+
+ int main() {
+-()
++gdk_imlib_render()
+ ; return 0; }
+ EOF
+-if { (eval echo configure:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
++if { (eval echo configure:6961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+ else
+@@ -2285,18 +2287,19 @@
+ fi
+ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+- ac_tr_lib=HAVE_LIB`echo | sed -e 's/[^a-zA-Z0-9_]/_/g' \
++ ac_tr_lib=HAVE_LIB`echo gdk_imlib | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+ #define $ac_tr_lib 1
+ EOF
+
+- LIBS="-l $LIBS"
++ LIBS="-lgdk_imlib $LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
++echo "Imlib not found!"; exit 0
+ fi
+- (gdk_imlib, gdk_imlib_init)
++
+
+ echo $ac_n "checking for XpmReadFileToXpmImage in -lXpm""... $ac_c" 1>&6
+ echo "configure:2303: checking for XpmReadFileToXpmImage in -lXpm" >&5
+@@ -2743,6 +2746,7 @@
+ s%@GTK_CONFIG@%$GTK_CONFIG%g
+ s%@GTK_CFLAGS@%$GTK_CFLAGS%g
+ s%@GTK_LIBS@%$GTK_LIBS%g
++s%@GDK_IMLIB_LIBS@%$GDK_IMLIB_LIBS%g
+
+ CEOF
+ EOF
diff --git a/audio/aube/files/patch-src::Makefile.in b/audio/aube/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..0957eb40be39
--- /dev/null
+++ b/audio/aube/files/patch-src::Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Tue Jun 10 00:01:16 2003
++++ src/Makefile.in Tue Jun 10 00:01:40 2003
+@@ -88,7 +88,7 @@
+ INCLUDES = -DDATADIR=\"$(pkgdatadir)\" @GTK_CFLAGS@ @AUDIOFILE_CFLAGS@
+
+
+-aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ -lgdk_imlib
++aube_LDADD = modules/libmodules.a @AUDIOFILE_LIBS@ @GTK_LIBS@ @GDK_IMLIB_LIBS@
+
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
diff --git a/audio/aube/pkg-descr b/audio/aube/pkg-descr
new file mode 100644
index 000000000000..7ac1825ee2f8
--- /dev/null
+++ b/audio/aube/pkg-descr
@@ -0,0 +1,6 @@
+AUBE is a system for sound generation and processing. You can
+process audio on the fly by setting up arbitrary configurations
+of sound generators, sequencers and effects modules, through
+which sound is played, filtered, and recorded.
+
+WWW: http://www.metadecks.org/software/aube
diff --git a/audio/aube/pkg-plist b/audio/aube/pkg-plist
new file mode 100644
index 000000000000..637607d14d35
--- /dev/null
+++ b/audio/aube/pkg-plist
@@ -0,0 +1,5 @@
+bin/aube
+share/gnome/aube/aube_logo.ppm
+share/gnome/aube/aube_mini.png
+share/gnome/aube/gtkrc
+@dirrm share/gnome/aube