summaryrefslogtreecommitdiffstats
path: root/audio/paman
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-09-10 13:27:38 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-09-10 13:27:38 +0800
commit4530b5eef69a3ae9fedf798a89c01deb09822b98 (patch)
tree26bc2a2fb32b8d49f18a320a98b85d82646156d4 /audio/paman
parent0bfbc6bf7fbabe82670a3989dc33cc9cc768fece (diff)
downloadmarcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.gz
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.bz2
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.lz
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.xz
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.tar.zst
marcuscom-ports-4530b5eef69a3ae9fedf798a89c01deb09822b98.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9550 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'audio/paman')
-rw-r--r--audio/paman/Makefile34
-rw-r--r--audio/paman/distinfo3
-rw-r--r--audio/paman/files/patch-src_Makefile.in11
-rw-r--r--audio/paman/files/patch-src_paman.cc21
-rw-r--r--audio/paman/pkg-descr4
5 files changed, 73 insertions, 0 deletions
diff --git a/audio/paman/Makefile b/audio/paman/Makefile
new file mode 100644
index 000000000..6e73738e7
--- /dev/null
+++ b/audio/paman/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: paman
+# Date created: 2005-03-27
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= paman
+PORTVERSION= 0.6
+PORTREVISION= 4
+CATEGORIES= audio
+MASTER_SITES= http://0pointer.de/lennart/projects/paman/
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Gtk+ frontend for the polypaudio sound server
+
+LIB_DEPENDS= glademm-2.4.1:${PORTSDIR}/devel/libglademm24 \
+ polyp-0.7.0:${PORTSDIR}/audio/polypaudio
+
+USE_GCC= 3.4+
+GNU_CONFIGURE= yes
+USE_GNOME= gnomeprefix gnomehack
+USE_XLIB= yes
+CONFIGURE_ARGS= --disable-lynx
+CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
+ LDFLAGS="${PTHREAD_LIBS}"
+
+DATADIR= share/${PORTNAME}
+
+PLIST_FILES= bin/paman \
+ %%DATADIR%%/paman.glade
+PLIST_DIRS= %%DATADIR%%
+
+.include <bsd.port.mk>
diff --git a/audio/paman/distinfo b/audio/paman/distinfo
new file mode 100644
index 000000000..9be220094
--- /dev/null
+++ b/audio/paman/distinfo
@@ -0,0 +1,3 @@
+MD5 (paman-0.6.tar.gz) = ea46666ff75b49aa6153946a84be9565
+SHA256 (paman-0.6.tar.gz) = 88cb071415ec800893b9259ed6d0842aa6add50be9029a62f324d9a3f45ea2ee
+SIZE (paman-0.6.tar.gz) = 106687
diff --git a/audio/paman/files/patch-src_Makefile.in b/audio/paman/files/patch-src_Makefile.in
new file mode 100644
index 000000000..6b68740fe
--- /dev/null
+++ b/audio/paman/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Fri Apr 29 23:02:10 2005
++++ src/Makefile.in Fri Apr 29 23:02:24 2005
+@@ -137,7 +137,7 @@
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+ LDFLAGS = @LDFLAGS@
+ LIBOBJS = @LIBOBJS@
+-LIBS = @LIBS@
++LIBS = @LIBS@ -lpolyp-error-0.7
+ LN_S = @LN_S@
+ LTLIBOBJS = @LTLIBOBJS@
+ MAKEINFO = @MAKEINFO@
diff --git a/audio/paman/files/patch-src_paman.cc b/audio/paman/files/patch-src_paman.cc
new file mode 100644
index 000000000..0cbf53e59
--- /dev/null
+++ b/audio/paman/files/patch-src_paman.cc
@@ -0,0 +1,21 @@
+--- src/paman.cc.orig Wed May 30 16:58:45 2007
++++ src/paman.cc Wed May 30 16:59:37 2007
+@@ -16,7 +16,9 @@
+ struct pa_context *context = NULL;
+ struct pa_mainloop_api *mainloop_api = NULL;
+
+-extern "C" static void context_state_callback(struct pa_context *c, void *userdata);
++extern "C"
++{
++static void context_state_callback(struct pa_context *c, void *userdata);
+
+ #define WINDOW_TITLE "Polypaudio Manager"
+
+@@ -66,6 +68,7 @@
+ }
+
+ killConnection();
++}
+ }
+
+ void createConnection() {
diff --git a/audio/paman/pkg-descr b/audio/paman/pkg-descr
new file mode 100644
index 000000000..e1e15fb74
--- /dev/null
+++ b/audio/paman/pkg-descr
@@ -0,0 +1,4 @@
+Polypaudio Manager (paman) is a simple Gtk+ frontend for the polypaudio
+sound server.
+
+WWW: http://0pointer.de/lennart/projects/paman/