Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

18
audio/libvisual0.2/DESCR Normal file
View File

@@ -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.

View File

@@ -0,0 +1,28 @@
# $NetBSD: Makefile,v 1.6 2013/04/06 03:45:07 rodent Exp $
#
DISTNAME= libvisual-0.2.0
PKGNAME= libvisual0.2-0.2.0
PKGREVISION= 1
CATEGORIES= audio graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libvisual/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://localhost.nl/~synap/libvisual-wiki/
COMMENT= Abstraction library for applications and audio visualisation plugins
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/bsd.pkg.mk"

35
audio/libvisual0.2/PLIST Normal file
View File

@@ -0,0 +1,35 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:32:16 joerg 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

View File

@@ -0,0 +1,12 @@
# $NetBSD: buildlink3.mk,v 1.4 2009/03/20 19:23:57 joerg Exp $
BUILDLINK_TREE+= libvisual0.2
.if !defined(LIBVISUAL0.2_BUILDLINK3_MK)
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_TREE+= -libvisual0.2

View File

@@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.3 2012/06/28 08:05:27 sbd 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
SHA1 (patch-libvisual_lv__types.h) = fe25e00f9606e3196fc6cd4b23896dd065c5bb69

View File

@@ -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

View File

@@ -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 */

View File

@@ -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

View File

@@ -0,0 +1,20 @@
$NetBSD: patch-libvisual_lv__types.h,v 1.2 2012/06/28 08:05:27 sbd Exp $
--- libvisual/lv_types.h.orig 2005-01-01 14:11:56.000000000 +0000
+++ libvisual/lv_types.h
@@ -32,6 +32,7 @@ extern "C" {
#define VISUAL_CHECK_CAST(uiobj, cast_type, cast) ((cast*) (uiobj))
+#ifndef __SunOS
#ifndef uint8_t
#define uint8_t u_int8_t
#endif
@@ -43,6 +44,7 @@ extern "C" {
#ifndef uint32_t
#define uint32_t u_int32_t
#endif
+#endif
#ifdef __cplusplus
}