summaryrefslogtreecommitdiff
path: root/graphics/xmms-scivi
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2005-10-16 00:09:24 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2005-10-16 00:09:24 +0000
commitb3cd987b5347643efed3434e2639bdee920bbb14 (patch)
tree665a0cfbdcb23dd93b79ff049d791f0ea1621765 /graphics/xmms-scivi
parentSince netsaint hasn't been maintained since 2002, and development (diff)
Scivi is a visualization plugin for XMMS, uses 3D
Accelerated hardware, but is not actually 3D. Features: Low CPU Usage because of 3D accelerated hardware. All effects including potentially expensive complex image transformations are done in hardware. So, if you have a fast video card, your CPU most of a time will be idle! Powerful C-style Scripting Language will help you to program your own nice presets! The visualization is under your control! Root-window rendering supported. Put a nice video effects on your desktop! This feature is window-manager dependent. KDE and GNOME probably won't work Press 'V' to switch to root-window mode. Full-screen rendering. Planned. WWW: http://xmms-scivi.sourceforge.net/ PR: 87488 Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Notes
Notes: svn path=/head/; revision=145484
Diffstat (limited to 'graphics/xmms-scivi')
-rw-r--r--graphics/xmms-scivi/Makefile44
-rw-r--r--graphics/xmms-scivi/distinfo2
-rw-r--r--graphics/xmms-scivi/files/patch-src_presets.c25
-rw-r--r--graphics/xmms-scivi/files/patch-src_scivi.h10
-rw-r--r--graphics/xmms-scivi/pkg-descr23
-rw-r--r--graphics/xmms-scivi/pkg-plist33
6 files changed, 137 insertions, 0 deletions
diff --git a/graphics/xmms-scivi/Makefile b/graphics/xmms-scivi/Makefile
new file mode 100644
index 000000000000..1769ed7e8ea4
--- /dev/null
+++ b/graphics/xmms-scivi/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: xmms-scivi
+# Date created: 15 Oct 2005
+# Whom: Alejandro Pulver <alejandro@varnet.biz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= scivi
+DISTVERSION= 0.2.0-rc3
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX}${PORTNAME}
+PKGNAMEPREFIX= xmms-
+
+MAINTAINER= alejandro@varnet.biz
+COMMENT= Scivi is a visualization plugin for XMMS
+
+LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
+
+USE_X_PREFIX= yes
+USE_BZIP2= yes
+USE_REINPLACE= yes
+USE_GL= yes
+USE_GNOME= gtk12
+
+USE_LIBTOOL_VER=15
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
+ ${WRKSRC}/configure ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e "s|<stdint.h>|<inttypes.h>|g" \
+ ${WRKSRC}/src/dynam.c ${WRKSRC}/src/glstuff.c \
+ ${WRKSRC}/src/gui.c ${WRKSRC}/src/plugin.c \
+ ${WRKSRC}/src/presets.c ${WRKSRC}/src/scivi.c \
+ ${WRKSRC}/src/utilx.c ${WRKSRC}/src/utilf.c \
+ ${WRKSRC}/src/utilsnd.c
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/graphics/xmms-scivi/distinfo b/graphics/xmms-scivi/distinfo
new file mode 100644
index 000000000000..77134dd58fc2
--- /dev/null
+++ b/graphics/xmms-scivi/distinfo
@@ -0,0 +1,2 @@
+MD5 (scivi-0.2.0-rc3.tar.bz2) = 1de22e25ea5dde0aa655ecc4910156aa
+SIZE (scivi-0.2.0-rc3.tar.bz2) = 304802
diff --git a/graphics/xmms-scivi/files/patch-src_presets.c b/graphics/xmms-scivi/files/patch-src_presets.c
new file mode 100644
index 000000000000..668a67176bbb
--- /dev/null
+++ b/graphics/xmms-scivi/files/patch-src_presets.c
@@ -0,0 +1,25 @@
+--- src/presets.c.orig Sat Nov 1 21:06:51 2003
++++ src/presets.c Sat Oct 15 20:54:03 2005
+@@ -20,6 +20,8 @@
+ #include <config.h>
+ #endif
+
++#include <sys/cdefs.h>
++#include <sys/syslimits.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -162,10 +164,10 @@
+ line = 1;
+
+ while (1) {
+- glr = getline(&linebuffer, &linebuffersize, f);
+-
+- if (glr < 0)
++ if (fgets(linebuffer, linebuffersize, f) == NULL)
+ break;
++
++ glr = strlen(linebuffer);
+
+ line++;
+
diff --git a/graphics/xmms-scivi/files/patch-src_scivi.h b/graphics/xmms-scivi/files/patch-src_scivi.h
new file mode 100644
index 000000000000..b1b2ef535175
--- /dev/null
+++ b/graphics/xmms-scivi/files/patch-src_scivi.h
@@ -0,0 +1,10 @@
+--- src/scivi.h.orig Wed Jan 28 17:28:55 2004
++++ src/scivi.h Fri Oct 14 21:46:01 2005
+@@ -19,6 +19,7 @@
+ #ifndef SCIVI_H
+ #define SCIVI_H
+
++#include <pthread.h>
+ #include <X11/Xlib.h>
+ #include <gtk/gtk.h>
+ #include "glstuff.h"
diff --git a/graphics/xmms-scivi/pkg-descr b/graphics/xmms-scivi/pkg-descr
new file mode 100644
index 000000000000..aa5c1b96c4a0
--- /dev/null
+++ b/graphics/xmms-scivi/pkg-descr
@@ -0,0 +1,23 @@
+Scivi is a visualization plugin for XMMS, uses 3D
+Accelerated hardware, but is not actually 3D.
+
+Features:
+
+Low CPU Usage because of 3D accelerated hardware.
+All effects including potentially expensive complex
+image transformations are done in hardware. So, if
+you have a fast video card, your CPU most of a time
+will be idle!
+
+Powerful C-style Scripting Language will help you to
+program your own nice presets! The visualization is
+under your control!
+
+Root-window rendering supported. Put a nice video
+effects on your desktop! This feature is window-manager
+dependent. KDE and GNOME probably won't work
+Press 'V' to switch to root-window mode.
+
+Full-screen rendering. Planned.
+
+WWW: http://xmms-scivi.sourceforge.net/
diff --git a/graphics/xmms-scivi/pkg-plist b/graphics/xmms-scivi/pkg-plist
new file mode 100644
index 000000000000..ef4a7cce0bd7
--- /dev/null
+++ b/graphics/xmms-scivi/pkg-plist
@@ -0,0 +1,33 @@
+lib/xmms/Visualization/scivi.so
+%%DATADIR%%/presets/array1.scv
+%%DATADIR%%/presets/mines.scv
+%%DATADIR%%/presets/randot.scv
+%%DATADIR%%/presets/simple.scv
+%%DATADIR%%/presets/simple10.scv
+%%DATADIR%%/presets/simple11.scv
+%%DATADIR%%/presets/simple12.scv
+%%DATADIR%%/presets/simple2.scv
+%%DATADIR%%/presets/simple3.scv
+%%DATADIR%%/presets/simple4.scv
+%%DATADIR%%/presets/simple5.scv
+%%DATADIR%%/presets/simple6.scv
+%%DATADIR%%/presets/simple7.scv
+%%DATADIR%%/presets/simple8.scv
+%%DATADIR%%/presets/simple9.scv
+%%DATADIR%%/presets/simplefc.scv
+%%DATADIR%%/presets/simpleso.scv
+%%DATADIR%%/presets/solariz.scv
+%%DATADIR%%/presets/trans1.scv
+%%DATADIR%%/presets/trans2.scv
+%%DATADIR%%/presets/trans3.scv
+%%DATADIR%%/presets/trans4.scv
+%%DATADIR%%/presets/trans5.scv
+%%DATADIR%%/presets/trans6.scv
+%%DATADIR%%/presets/trans7.scv
+%%DATADIR%%/presets/trans8.scv
+%%DATADIR%%/presets/trans9.scv
+%%DATADIR%%/scivi-warn.xpm
+%%PORTDOCS%%%%DOCSDIR%%/README
+@dirrm %%DATADIR%%/presets
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%