diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-16 00:09:24 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-10-16 00:09:24 +0000 |
commit | b3cd987b5347643efed3434e2639bdee920bbb14 (patch) | |
tree | 665a0cfbdcb23dd93b79ff049d791f0ea1621765 /graphics | |
parent | 9b836cde7d0a24b52580267173174ba8a276e4e6 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/xmms-scivi/Makefile | 44 | ||||
-rw-r--r-- | graphics/xmms-scivi/distinfo | 2 | ||||
-rw-r--r-- | graphics/xmms-scivi/files/patch-src_presets.c | 25 | ||||
-rw-r--r-- | graphics/xmms-scivi/files/patch-src_scivi.h | 10 | ||||
-rw-r--r-- | graphics/xmms-scivi/pkg-descr | 23 | ||||
-rw-r--r-- | graphics/xmms-scivi/pkg-plist | 33 |
7 files changed, 138 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index 174a9d7e5141..ad37c57b6d2d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -613,6 +613,7 @@ SUBDIR += xmms-nebulus SUBDIR += xmms-paranormal SUBDIR += xmms-plazma + SUBDIR += xmms-scivi SUBDIR += xmms-vumeter SUBDIR += xmms-waterfall SUBDIR += xmms-xvs 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%% |