summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/libvisual/DESCR16
-rw-r--r--audio/libvisual/Makefile20
-rw-r--r--audio/libvisual/PLIST31
-rw-r--r--audio/libvisual/buildlink3.mk20
-rw-r--r--audio/libvisual/distinfo7
-rw-r--r--audio/libvisual/patches/patch-aa16
-rw-r--r--audio/libvisual/patches/patch-ab13
-rw-r--r--audio/libvisual/patches/patch-ac22
8 files changed, 145 insertions, 0 deletions
diff --git a/audio/libvisual/DESCR b/audio/libvisual/DESCR
new file mode 100644
index 00000000000..ec5a5fa21d3
--- /dev/null
+++ b/audio/libvisual/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.
diff --git a/audio/libvisual/Makefile b/audio/libvisual/Makefile
new file mode 100644
index 00000000000..b86688ac256
--- /dev/null
+++ b/audio/libvisual/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+#
+
+DISTNAME= libvisual-0.1.7
+CATEGORIES= audio graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvisual/}
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://libvisual.sourceforge.net/
+COMMENT= Abstraction library between applications and audio visualisation plugins
+
+USE_BUILDLINK3= yes
+USE_LIBTOOL= yes
+USE_X11= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
+GNU_CONFIGURE= yes
+
+.include "../../devel/pkgconfig/buildlink3.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libvisual/PLIST b/audio/libvisual/PLIST
new file mode 100644
index 00000000000..8f48040356c
--- /dev/null
+++ b/audio/libvisual/PLIST
@@ -0,0 +1,31 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+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.la
+lib/pkgconfig/libvisual.pc
+@dirrm include/libvisual
diff --git a/audio/libvisual/buildlink3.mk b/audio/libvisual/buildlink3.mk
new file mode 100644
index 00000000000..319f44a2c1f
--- /dev/null
+++ b/audio/libvisual/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBVISUAL_BUILDLINK3_MK:= ${LIBVISUAL_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libvisual
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvisual}
+BUILDLINK_PACKAGES+= libvisual
+
+.if !empty(LIBVISUAL_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libvisual+= libvisual>=0.1.7
+BUILDLINK_PKGSRCDIR.libvisual?= ../../zzz/libvisual
+.endif # LIBVISUAL_BUILDLINK3_MK
+
+.include "../../graphics/MesaLib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/audio/libvisual/distinfo b/audio/libvisual/distinfo
new file mode 100644
index 00000000000..cbb8a7ca1fd
--- /dev/null
+++ b/audio/libvisual/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+SHA1 (libvisual-0.1.7.tar.gz) = 9bd8b1827962e7d209f918f42b609d111b50cc8d
+Size (libvisual-0.1.7.tar.gz) = 374096 bytes
+SHA1 (patch-aa) = 0faa93665d2615f2b85279ede67e8738ebf457a5
+SHA1 (patch-ab) = ee7a80026b024d7c8e3929970b7809bac1ebe6be
+SHA1 (patch-ac) = fd1ddd05dbbee2c1c4dd89f083588a3b0418ee3b
diff --git a/audio/libvisual/patches/patch-aa b/audio/libvisual/patches/patch-aa
new file mode 100644
index 00000000000..b16afdadcb9
--- /dev/null
+++ b/audio/libvisual/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- libvisual/lv_common.h.orig 2004-07-24 17:41:22.000000000 +0200
++++ libvisual/lv_common.h
+@@ -6,9 +6,11 @@
+ #include <libvisual/lv_mem.h>
+ #include <libvisual/lv_log.h>
+
++#ifndef uint8_t
+ #define uint8_t u_int8_t
+ #define uint16_t u_int16_t
+ #define uint32_t u_int32_t
++#endif
+
+ #ifdef __cplusplus
+ extern "C" {
diff --git a/audio/libvisual/patches/patch-ab b/audio/libvisual/patches/patch-ab
new file mode 100644
index 00000000000..3ce9e2ac760
--- /dev/null
+++ b/audio/libvisual/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- libvisual/lv_mem.h.orig 2004-09-06 17:10:52.000000000 +0200
++++ libvisual/lv_mem.h
+@@ -8,7 +8,7 @@ extern "C" {
+ #endif /* __cplusplus */
+
+ #if defined(__GNUC__) && !defined(VISUAL_OS_WIN32)
+-void *visual_mem_malloc0 (visual_size_t nbytes) __attribute_malloc__;
++void *visual_mem_malloc0 (visual_size_t nbytes);
+ #else
+ void *visual_mem_malloc0 (visual_size_t nbytes);
+ #endif /* __GNUC__ */
diff --git a/audio/libvisual/patches/patch-ac b/audio/libvisual/patches/patch-ac
new file mode 100644
index 00000000000..70cf9d6db86
--- /dev/null
+++ b/audio/libvisual/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/05 20:55:48 wiz Exp $
+
+--- configure.orig 2004-10-14 15:40:28.000000000 +0200
++++ configure
+@@ -21856,7 +21856,7 @@ if test "${ac_cv_lib_GL_glBegin+set}" =
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lGL $LIBS"
++LIBS="-lGL -lXext -lm $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -21918,7 +21918,7 @@ if test $ac_cv_lib_GL_glBegin = yes; the
+ #define HAVE_LIBGL 1
+ _ACEOF
+
+- LIBS="-lGL $LIBS"
++ LIBS="-lGL -lXext -lm $LIBS"
+
+ else
+ { echo "$as_me:$LINENO: WARNING: *** GL headers has been found, but we cannot link against GL Library.