aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2004-11-30 21:52:52 +0000
committerKoop Mast <kwm@FreeBSD.org>2004-11-30 21:52:52 +0000
commit3e1ab817c9290ece1e93b50bb4aa9fb236c39406 (patch)
treee9b3edd857547cd658c12fa28da24ce33c71371a
parentf8eed8659107bb01660d6f6c98221a50a8a4c333 (diff)
downloadports-3e1ab817c9290ece1e93b50bb4aa9fb236c39406.tar.gz
ports-3e1ab817c9290ece1e93b50bb4aa9fb236c39406.zip
Add libvisual. Libvisual is an abstraction library that comes between
applications and audio visualisation plugins. Approved by: pav (mentor)
Notes
Notes: svn path=/head/; revision=122844
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/libvisual/Makefile33
-rw-r--r--graphics/libvisual/distinfo2
-rw-r--r--graphics/libvisual/files/patch-libvisual_lv_mem.h11
-rw-r--r--graphics/libvisual/pkg-descr16
-rw-r--r--graphics/libvisual/pkg-plist32
-rw-r--r--graphics/libvisual04/Makefile33
-rw-r--r--graphics/libvisual04/distinfo2
-rw-r--r--graphics/libvisual04/files/patch-libvisual_lv_mem.h11
-rw-r--r--graphics/libvisual04/pkg-descr16
-rw-r--r--graphics/libvisual04/pkg-plist32
11 files changed, 189 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index cfb310b20e2c..0d2919c0a745 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -265,6 +265,7 @@
SUBDIR += libtheora
SUBDIR += libungif
SUBDIR += libv3d
+ SUBDIR += libvisual
SUBDIR += libwmf
SUBDIR += libwpcg
SUBDIR += linplasma
diff --git a/graphics/libvisual/Makefile b/graphics/libvisual/Makefile
new file mode 100644
index 000000000000..3c2a22b1790d
--- /dev/null
+++ b/graphics/libvisual/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libvisual
+# Date created: 23 oktober 2004
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+# WARNING: when updating this port check if the ports that use libvisual
+# can work with it. Backwards compatiblity is known to be broken in the past.
+
+PORTNAME= libvisual
+PORTVERSION= 0.1.7
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Abstraction library that sits between apps and visual plugin
+
+USE_XLIBS= yes
+USE_GNOME= gnomehack pkgconfig
+USE_REINPLACE= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
+ -e 's|-O3|${CFLAGS}|g' \
+ ${WRKSRC}/libvisual/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/graphics/libvisual/distinfo b/graphics/libvisual/distinfo
new file mode 100644
index 000000000000..8628184f5091
--- /dev/null
+++ b/graphics/libvisual/distinfo
@@ -0,0 +1,2 @@
+MD5 (libvisual-0.1.7.tar.gz) = 29976f5f10b36fa2346294dcb2280d19
+SIZE (libvisual-0.1.7.tar.gz) = 374096
diff --git a/graphics/libvisual/files/patch-libvisual_lv_mem.h b/graphics/libvisual/files/patch-libvisual_lv_mem.h
new file mode 100644
index 000000000000..ae93d976cfca
--- /dev/null
+++ b/graphics/libvisual/files/patch-libvisual_lv_mem.h
@@ -0,0 +1,11 @@
+--- libvisual/lv_mem.h.orig Mon Sep 6 17:10:52 2004
++++ libvisual/lv_mem.h Sat Oct 23 16:34:40 2004
+@@ -7,7 +7,7 @@
+ extern "C" {
+ #endif /* __cplusplus */
+
+-#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
++#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32) && !defined(__FreeBSD__)
+ void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
+ #else
+ void *visual_mem_malloc0 (visual_size_t nbytes);
diff --git a/graphics/libvisual/pkg-descr b/graphics/libvisual/pkg-descr
new file mode 100644
index 000000000000..1d300ce40a3b
--- /dev/null
+++ b/graphics/libvisual/pkg-descr
@@ -0,0 +1,16 @@
+Libvisual is an abstraction library that comes between applications and audio
+visualisation plugins.
+
+Often when it comes to audio visualisation plugins or programs that create
+visuals, they depend on a player or something else; basically, there is no
+general framework that enabled application developers to easily access cool
+audio visualisation plugins. Libvisual wants to change this by providing an
+interface towards plugins and applications; through this easy to use interface
+applications can easily access plugins and, since the drawing is done by the
+application, it also enables the developer to draw the visual anywhere he
+wants.
+
+The framework also allows you to morph to different plugins and mix two at
+once; all kinds of neat tricks are possible using this method.
+
+WWW: http://libvisual.sourceforge.net
diff --git a/graphics/libvisual/pkg-plist b/graphics/libvisual/pkg-plist
new file mode 100644
index 000000000000..851ec381496d
--- /dev/null
+++ b/graphics/libvisual/pkg-plist
@@ -0,0 +1,32 @@
+include/libvisual/libvisual.h
+include/libvisual/lv_actor.h
+include/libvisual/lv_audio.h
+include/libvisual/lv_bin.h
+include/libvisual/lv_bmp.h
+include/libvisual/lv_color.h
+include/libvisual/lv_common.h
+include/libvisual/lv_cpu.h
+include/libvisual/lv_endianess.h
+include/libvisual/lv_error.h
+include/libvisual/lv_event.h
+include/libvisual/lv_fft.h
+include/libvisual/lv_input.h
+include/libvisual/lv_keysym.h
+include/libvisual/lv_libvisual.h
+include/libvisual/lv_list.h
+include/libvisual/lv_log.h
+include/libvisual/lv_mem.h
+include/libvisual/lv_morph.h
+include/libvisual/lv_palette.h
+include/libvisual/lv_param.h
+include/libvisual/lv_plugin.h
+include/libvisual/lv_random.h
+include/libvisual/lv_songinfo.h
+include/libvisual/lv_time.h
+include/libvisual/lv_video.h
+include/libvisual/lvconfig.h
+lib/libvisual.a
+lib/libvisual.so
+lib/libvisual.so.0
+libdata/pkgconfig/libvisual.pc
+@dirrm include/libvisual
diff --git a/graphics/libvisual04/Makefile b/graphics/libvisual04/Makefile
new file mode 100644
index 000000000000..3c2a22b1790d
--- /dev/null
+++ b/graphics/libvisual04/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libvisual
+# Date created: 23 oktober 2004
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+# WARNING: when updating this port check if the ports that use libvisual
+# can work with it. Backwards compatiblity is known to be broken in the past.
+
+PORTNAME= libvisual
+PORTVERSION= 0.1.7
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= kwm@FreeBSD.org
+COMMENT= Abstraction library that sits between apps and visual plugin
+
+USE_XLIBS= yes
+USE_GNOME= gnomehack pkgconfig
+USE_REINPLACE= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-Wno-unused-variable||g' \
+ -e 's|-O3|${CFLAGS}|g' \
+ ${WRKSRC}/libvisual/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/graphics/libvisual04/distinfo b/graphics/libvisual04/distinfo
new file mode 100644
index 000000000000..8628184f5091
--- /dev/null
+++ b/graphics/libvisual04/distinfo
@@ -0,0 +1,2 @@
+MD5 (libvisual-0.1.7.tar.gz) = 29976f5f10b36fa2346294dcb2280d19
+SIZE (libvisual-0.1.7.tar.gz) = 374096
diff --git a/graphics/libvisual04/files/patch-libvisual_lv_mem.h b/graphics/libvisual04/files/patch-libvisual_lv_mem.h
new file mode 100644
index 000000000000..ae93d976cfca
--- /dev/null
+++ b/graphics/libvisual04/files/patch-libvisual_lv_mem.h
@@ -0,0 +1,11 @@
+--- libvisual/lv_mem.h.orig Mon Sep 6 17:10:52 2004
++++ libvisual/lv_mem.h Sat Oct 23 16:34:40 2004
+@@ -7,7 +7,7 @@
+ extern "C" {
+ #endif /* __cplusplus */
+
+-#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
++#if defined(__GNUC__) && !defined(VISUAL_OS_WIN32) && !defined(__FreeBSD__)
+ void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
+ #else
+ void *visual_mem_malloc0 (visual_size_t nbytes);
diff --git a/graphics/libvisual04/pkg-descr b/graphics/libvisual04/pkg-descr
new file mode 100644
index 000000000000..1d300ce40a3b
--- /dev/null
+++ b/graphics/libvisual04/pkg-descr
@@ -0,0 +1,16 @@
+Libvisual is an abstraction library that comes between applications and audio
+visualisation plugins.
+
+Often when it comes to audio visualisation plugins or programs that create
+visuals, they depend on a player or something else; basically, there is no
+general framework that enabled application developers to easily access cool
+audio visualisation plugins. Libvisual wants to change this by providing an
+interface towards plugins and applications; through this easy to use interface
+applications can easily access plugins and, since the drawing is done by the
+application, it also enables the developer to draw the visual anywhere he
+wants.
+
+The framework also allows you to morph to different plugins and mix two at
+once; all kinds of neat tricks are possible using this method.
+
+WWW: http://libvisual.sourceforge.net
diff --git a/graphics/libvisual04/pkg-plist b/graphics/libvisual04/pkg-plist
new file mode 100644
index 000000000000..851ec381496d
--- /dev/null
+++ b/graphics/libvisual04/pkg-plist
@@ -0,0 +1,32 @@
+include/libvisual/libvisual.h
+include/libvisual/lv_actor.h
+include/libvisual/lv_audio.h
+include/libvisual/lv_bin.h
+include/libvisual/lv_bmp.h
+include/libvisual/lv_color.h
+include/libvisual/lv_common.h
+include/libvisual/lv_cpu.h
+include/libvisual/lv_endianess.h
+include/libvisual/lv_error.h
+include/libvisual/lv_event.h
+include/libvisual/lv_fft.h
+include/libvisual/lv_input.h
+include/libvisual/lv_keysym.h
+include/libvisual/lv_libvisual.h
+include/libvisual/lv_list.h
+include/libvisual/lv_log.h
+include/libvisual/lv_mem.h
+include/libvisual/lv_morph.h
+include/libvisual/lv_palette.h
+include/libvisual/lv_param.h
+include/libvisual/lv_plugin.h
+include/libvisual/lv_random.h
+include/libvisual/lv_songinfo.h
+include/libvisual/lv_time.h
+include/libvisual/lv_video.h
+include/libvisual/lvconfig.h
+lib/libvisual.a
+lib/libvisual.so
+lib/libvisual.so.0
+libdata/pkgconfig/libvisual.pc
+@dirrm include/libvisual