aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xmms-scivi
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2005-10-16 08:09:24 +0800
committermnag <mnag@FreeBSD.org>2005-10-16 08:09:24 +0800
commitb612bfdc5c6e204d232dda249b2dd57c25c9dd6e (patch)
treec75c0c9b4c69ffffd9a088d2a3384549ec91aa98 /graphics/xmms-scivi
parent6dfa626d4c6d84c77d74b10f9d1d7a6e12fc4ec7 (diff)
downloadfreebsd-ports-gnome-b612bfdc5c6e204d232dda249b2dd57c25c9dd6e.tar.gz
freebsd-ports-gnome-b612bfdc5c6e204d232dda249b2dd57c25c9dd6e.tar.zst
freebsd-ports-gnome-b612bfdc5c6e204d232dda249b2dd57c25c9dd6e.zip
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>
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%%