[Midnightbsd-cvs] mports: mports/graphics: Required for amarok

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Sep 7 15:55:17 EDT 2008


Log Message:
-----------
Required for amarok

Modified Files:
--------------
    mports/graphics:
        Makefile (r1.78 -> r1.79)

Added Files:
-----------
    mports/graphics/libvisual04:
        Makefile (r1.1)
        distinfo (r1.1)
        pkg-descr (r1.1)
        pkg-plist (r1.1)
    mports/graphics/libvisual04/files:
        patch-configure (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/graphics/Makefile,v
retrieving revision 1.78
retrieving revision 1.79
diff -L graphics/Makefile -L graphics/Makefile -u -r1.78 -r1.79
--- graphics/Makefile
+++ graphics/Makefile
@@ -54,6 +54,7 @@
     SUBDIR += libmng
     SUBDIR += librsvg2
     SUBDIR += libungif
+    SUBDIR += libvisual04
     SUBDIR += libwmf
     SUBDIR += linux-adobesvg
     SUBDIR += linux-cairo
--- /dev/null
+++ 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/
--- /dev/null
+++ graphics/libvisual04/pkg-plist
@@ -0,0 +1,56 @@
+include/libvisual%%VER%%/libvisual/libvisual.h
+include/libvisual%%VER%%/libvisual/lv_actor.h
+include/libvisual%%VER%%/libvisual/lv_audio.h
+include/libvisual%%VER%%/libvisual/lv_bin.h
+include/libvisual%%VER%%/libvisual/lv_bits.h
+include/libvisual%%VER%%/libvisual/lv_bmp.h
+include/libvisual%%VER%%/libvisual/lv_buffer.h
+include/libvisual%%VER%%/libvisual/lv_cache.h
+include/libvisual%%VER%%/libvisual/lv_collection.h
+include/libvisual%%VER%%/libvisual/lv_color.h
+include/libvisual%%VER%%/libvisual/lv_common.h
+include/libvisual%%VER%%/libvisual/lv_config.h
+include/libvisual%%VER%%/libvisual/lv_cpu.h
+include/libvisual%%VER%%/libvisual/lv_defines.h
+include/libvisual%%VER%%/libvisual/lv_error.h
+include/libvisual%%VER%%/libvisual/lv_event.h
+include/libvisual%%VER%%/libvisual/lv_fourier.h
+include/libvisual%%VER%%/libvisual/lv_gl.h
+include/libvisual%%VER%%/libvisual/lv_hashlist.h
+include/libvisual%%VER%%/libvisual/lv_hashmap.h
+include/libvisual%%VER%%/libvisual/lv_input.h
+include/libvisual%%VER%%/libvisual/lv_keysym.h
+include/libvisual%%VER%%/libvisual/lv_libvisual.h
+include/libvisual%%VER%%/libvisual/lv_list.h
+include/libvisual%%VER%%/libvisual/lv_log.h
+include/libvisual%%VER%%/libvisual/lv_math.h
+include/libvisual%%VER%%/libvisual/lv_mem.h
+include/libvisual%%VER%%/libvisual/lv_morph.h
+include/libvisual%%VER%%/libvisual/lv_object.h
+include/libvisual%%VER%%/libvisual/lv_os.h
+include/libvisual%%VER%%/libvisual/lv_palette.h
+include/libvisual%%VER%%/libvisual/lv_param.h
+include/libvisual%%VER%%/libvisual/lv_plugin.h
+include/libvisual%%VER%%/libvisual/lv_random.h
+include/libvisual%%VER%%/libvisual/lv_rectangle.h
+include/libvisual%%VER%%/libvisual/lv_ringbuffer.h
+include/libvisual%%VER%%/libvisual/lv_songinfo.h
+include/libvisual%%VER%%/libvisual/lv_thread.h
+include/libvisual%%VER%%/libvisual/lv_time.h
+include/libvisual%%VER%%/libvisual/lv_transform.h
+include/libvisual%%VER%%/libvisual/lv_types.h
+include/libvisual%%VER%%/libvisual/lv_ui.h
+include/libvisual%%VER%%/libvisual/lv_utils.h
+include/libvisual%%VER%%/libvisual/lv_video.h
+include/libvisual%%VER%%/libvisual/lvconfig.h
+lib/libvisual%%VER%%.a
+lib/libvisual%%VER%%.la
+lib/libvisual%%VER%%.so
+lib/libvisual%%VER%%.so.0
+libdata/pkgconfig/libvisual%%VER%%.pc
+share/locale/es_AR/LC_MESSAGES/libvisual%%VER%%.mo
+share/locale/es_ES/LC_MESSAGES/libvisual%%VER%%.mo
+ at dirrmtry share/locale/es_AR/LC_MESSAGES
+ at dirrmtry share/locale/es_AR
+ at dirrm include/libvisual%%VER%%/libvisual
+ at dirrm include/libvisual%%VER%%
--- /dev/null
+++ graphics/libvisual04/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for:	libvisual
+# Date created:		23 oktober 2004
+# Whom:			Koop Mast <kwm at FreeBSD.org>
+#
+# $MidnightBSD: mports/graphics/libvisual04/Makefile,v 1.1 2008/09/07 19:55:14 laffer1 Exp $
+# $FreeBSD: ports/graphics/libvisual04/Makefile,v 1.14 2008/06/06 13:34:42 edwin Exp $
+#
+
+PORTNAME=	libvisual
+PORTVERSION=	0.4.0
+PORTREVISION=	1
+CATEGORIES=	graphics
+MASTER_SITES=	SF
+PKGNAMESUFFIX=	04
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Abstraction library that sits between apps and visual plugin
+LICENSE=	lgpl
+
+USE_AUTOTOOLS=	libtool:15
+USE_GNOME=	gnomehack pkgconfig
+USE_GETTEXT=	yes
+GNU_CONFIGURE=	yes
+CPPFLAGS=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
+CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+USE_LDCONFIG=	yes
+PLIST_SUB=	VER=-0.4
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|-Wno-unused-variable||g;s|-O3|${CFLAGS}|g' \
+		${WRKSRC}/libvisual/Makefile.in
+	@${REINPLACE_CMD} -e 's|sys/sched.h||g' -e '/test.*==/s|==|=|g' ${WRKSRC}/configure
+	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e 's|$$<|$${.ALLSRC}|g'
+
+.include <bsd.port.mk>
--- /dev/null
+++ graphics/libvisual04/distinfo
@@ -0,0 +1,3 @@
+MD5 (libvisual-0.4.0.tar.gz) = f4e78547c79ea8a8ad111cf8b85011bb
+SHA256 (libvisual-0.4.0.tar.gz) = 0b4dfdb87125e129567752089e3c8b54cefed601eef169d2533d8659da8dc1d7
+SIZE (libvisual-0.4.0.tar.gz) = 583386
--- /dev/null
+++ graphics/libvisual04/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig	Thu Jun 23 13:09:46 2005
++++ configure	Thu Jun 23 13:10:48 2005
+@@ -25450,7 +25450,11 @@
+         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
+ 


More information about the Midnightbsd-cvs mailing list