pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/libvisual0.2 Reimport of libvisual package under...
details: https://anonhg.NetBSD.org/pkgsrc/rev/660b231c238d
branches: trunk
changeset: 515553:660b231c238d
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jul 03 23:29:50 2006 +0000
description:
Reimport of libvisual package under versioned filename.
Next release (0.4) breaks backward compatibility.
diffstat:
audio/libvisual0.2/DESCR | 18 ++++++++++++++
audio/libvisual0.2/Makefile | 28 +++++++++++++++++++++++
audio/libvisual0.2/PLIST | 36 +++++++++++++++++++++++++++++
audio/libvisual0.2/buildlink3.mk | 18 ++++++++++++++
audio/libvisual0.2/distinfo | 7 +++++
audio/libvisual0.2/hacks.mk | 12 +++++++++
audio/libvisual0.2/patches/patch-aa | 22 ++++++++++++++++++
audio/libvisual0.2/patches/patch-ab | 45 +++++++++++++++++++++++++++++++++++++
8 files changed, 186 insertions(+), 0 deletions(-)
diffs (218 lines):
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/DESCR Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,18 @@
+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.
+
+This package contains the older 0.2 release, for backward compatibility.
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/Makefile Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+#
+
+DISTNAME= libvisual-0.2.0
+PKGNAME= libvisual0.2-0.2.0
+CATEGORIES= audio graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvisual/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://libvisual.sourceforge.net/
+COMMENT= Abstraction library between applications and audio visualisation plugins (0.2 branch)
+
+CONFLICTS+= libvisual<0.4.0
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/libvisual.pc.in
+GNU_CONFIGURE= yes
+USE_TOOLS+= pkg-config
+
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc*)
+CPPFLAGS+= -mmmx
+.endif
+
+.include "../../mk/x11.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/PLIST Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/03 23:29:50 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_object.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_thread.h
+include/libvisual/lv_time.h
+include/libvisual/lv_transform.h
+include/libvisual/lv_types.h
+include/libvisual/lv_ui.h
+include/libvisual/lv_video.h
+include/libvisual/lvconfig.h
+lib/libvisual.la
+lib/pkgconfig/libvisual.pc
+@dirrm include/libvisual
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/buildlink3.mk Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBVISUAL0.2_BUILDLINK3_MK:= ${LIBVISUAL0.2_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= libvisual0.2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibvisual0.2}
+BUILDLINK_PACKAGES+= libvisual0.2
+
+.if ${LIBVISUAL0.2_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.libvisual0.2+= libvisual0.2>=0.2.0
+BUILDLINK_PKGSRCDIR.libvisual0.2?= ../../audio/libvisual0.2
+.endif # LIBVISUAL0.2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/distinfo Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+
+SHA1 (libvisual-0.2.0.tar.gz) = 8867f743c7407890c8cc571acab2fbcab869f3a1
+RMD160 (libvisual-0.2.0.tar.gz) = d933e849ffb8ce8f21d9d58e92fd104b137b718d
+Size (libvisual-0.2.0.tar.gz) = 431141 bytes
+SHA1 (patch-aa) = f7a0b011fa39996813bb7a8fe00aefdfaa680583
+SHA1 (patch-ab) = d4014e06622f59e31f4ee42dd24ce729e27b580d
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/hacks.mk Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: hacks.mk,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+
+.if !defined(LIBVISUAL_HACKS_MK)
+LIBVISUAL_HACKS_MK= # defined
+
+# [ Mon Jan 2 13:49:14 CET 2006 : jmmv ]
+# -funroll-loops breaks the inlined MMX code in libvisual/lv_video_mmx.c.
+# It adds an immediate value to a movd instruction that does not let it
+# compile.
+BUILDLINK_TRANSFORM+= rm:-funroll-loops
+
+.endif
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/patches/patch-aa Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+
+--- libvisual/lv_cpu.c.orig 2005-02-09 20:20:12.000000000 +0100
++++ libvisual/lv_cpu.c
+@@ -354,7 +354,7 @@ void visual_cpu_initialize ()
+ #endif
+
+ /* Count the number of CPUs in system */
+-#if !defined(VISUAL_OS_WIN32) && !defined(VISUAL_OS_UNKNOWN)
++#if !defined(VISUAL_OS_WIN32) && !defined(VISUAL_OS_UNKNOWN) && defined(_SC_NPROCESSORS_ONLN)
+ _lv_cpu_caps.nrcpu = sysconf (_SC_NPROCESSORS_ONLN);
+ if (_lv_cpu_caps.nrcpu == -1)
+ _lv_cpu_caps.nrcpu = 1;
+@@ -423,7 +423,7 @@ void visual_cpu_initialize ()
+ #endif
+ #endif /* VISUAL_ARCH_X86 */
+
+-#if VISUAL_ARCH_POWERPC
++#if defined(VISUAL_ARCH_POWERPC)
+ check_os_altivec_support ();
+ #endif /* VISUAL_ARCH_POWERPC */
+
diff -r d5725e25ff48 -r 660b231c238d audio/libvisual0.2/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libvisual0.2/patches/patch-ab Mon Jul 03 23:29:50 2006 +0000
@@ -0,0 +1,45 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/07/03 23:29:50 wiz Exp $
+
+gcc-2.95 does not know the i386 MMX registers used in the assembler
+statements, do disable them.
+
+--- configure.orig Sun Jan 9 23:17:45 2005
++++ configure Tue Apr 19 17:04:54 2005
+@@ -2046,7 +2046,7 @@ case "$host_os" in
+ solaris*) lv_solaris=yes;;
+ linux*) lv_linux=yes;;
+ *sco*) lv_sco=yes;;
+- freebsd*) lv_freebsd=yes;;
++ freebsd*|dragonfly*) lv_freebsd=yes;;
+ netbsd*) lv_netbsd=yes;;
+ openbsd*) lv_openbsd=yes;;
+ *darwin*) lv_darwin=yes;;
+@@ -21919,13 +21919,13 @@ echo "$as_me: WARNING: $AIX_COMPILE_INFO
+ *)
+ LV_THREAD_LIBS=error
+ lv_save_LIBS="$LIBS"
+- for thread_lib in "" pthread pthread32 pthreads thread dce; do
++ for thread_lib in "" -lpthread -lpthread32 -lpthreads -lthread -ldce -pthread; do
+ if test x"$thread_lib" = x; then
+ add_thread_lib=""
+ IN=""
+ else
+- add_thread_lib="-l$thread_lib"
+- IN=" in -l$thread_lib"
++ add_thread_lib="$thread_lib"
++ IN=" in $thread_lib"
+ fi
+ if test x"$have_threads" = xposix; then
+ defattr=0
+@@ -25450,7 +25450,11 @@ _______EOF
+ if test x$lv_ix86 = xyes ; then
+ cat >>$outfile <<_______EOF
+
++#if defined(__GNUC__) && __GNUC__ <= 2
++#define VISUAL_ARCH_UNKNOWN
++#else
+ #define VISUAL_ARCH_X86
++#endif
+ _______EOF
+ fi
+
Home |
Main Index |
Thread Index |
Old Index