diff options
author | miwi <miwi@FreeBSD.org> | 2011-02-14 11:27:50 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-02-14 11:27:50 +0800 |
commit | d484747a4c068fd725b480dab6799de2cac4e4c7 (patch) | |
tree | f189fa87ab41e6b3c6aa08195cc1fc75ccc2aec9 /graphics | |
parent | 6180faf621009ed57eb0d0573755233e194f83fb (diff) | |
download | freebsd-ports-gnome-d484747a4c068fd725b480dab6799de2cac4e4c7.tar.gz freebsd-ports-gnome-d484747a4c068fd725b480dab6799de2cac4e4c7.tar.zst freebsd-ports-gnome-d484747a4c068fd725b480dab6799de2cac4e4c7.zip |
projectM is an LGPL'ed reimplementation of Milkdrop under OpenGL. All projectM
requires is a video card with 3D acceleration and your favorite music.
WWW: http://projectm.sourceforge.net/
PR: ports/154750
Submitted by: utisoft at gmail.com
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/Makefile | 1 | ||||
-rw-r--r-- | graphics/projectm-libvisual/Makefile | 41 | ||||
-rw-r--r-- | graphics/projectm-libvisual/distinfo | 2 | ||||
-rw-r--r-- | graphics/projectm-libvisual/files/patch-actor_projectM-cpp | 18 | ||||
-rw-r--r-- | graphics/projectm-libvisual/pkg-descr | 4 |
5 files changed, 66 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile index b60d135b476c..bf630d7123ce 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -766,6 +766,7 @@ SUBDIR += price SUBDIR += processing SUBDIR += proj + SUBDIR += projectm-libvisual SUBDIR += pstoedit SUBDIR += pstoepsi SUBDIR += pvmpov diff --git a/graphics/projectm-libvisual/Makefile b/graphics/projectm-libvisual/Makefile new file mode 100644 index 000000000000..978d30205b4e --- /dev/null +++ b/graphics/projectm-libvisual/Makefile @@ -0,0 +1,41 @@ +# New ports collection Makefile for: projectM-libvisual +# Date created: 5 February 2010 +# Whom: utisoft@gmail.com +# +# $FreeBSD$ +# + +PORTNAME= projectM-libvisual +PORTVERSION= 2.0.1 +CATEGORIES= graphics audio +MASTER_SITES= SF/${PORTNAME:L:S/-libvisual//}/${PORTVERSION} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}-Source + +MAINTAINER= utisoft@gmail.com +COMMENT= Allows projectM to be used with libvisual + +LICENSE= GPLv2 + +LIB_DEPENDS= projectM:${PORTSDIR}/graphics/libprojectm \ + visual-${LIBVISUAL_VER}:${PORTSDIR}/graphics/libvisual${LIBVISUAL_VER:S/.//} \ + SDL:${PORTSDIR}/devel/sdl12 + +USE_CMAKE= yes +CMAKE_ARGS+= -DLIBVISUAL_LIBRARIES=visual-${LIBVISUAL_VER} +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +USE_LDCONFIG= yes +LIBVISUAL_VER= 0.4 + +PLIST_FILES= lib/libvisual-${LIBVISUAL_VER}/actor/libprojectM_libvisual.so +PLIST_DIRS= lib/libvisual-${LIBVISUAL_VER}/actor \ + lib/libvisual-${LIBVISUAL_VER} + +post-patch: + @${FIND} ${WRKSRC} -name "*.[hc]*" | ${XARGS} ${REINPLACE_CMD} \ + -e 's#<libvisual#<libvisual-${LIBVISUAL_VER}/libvisual#g' + @${REINPLACE_CMD} -e 's#/usr/local#${PREFIX}#' \ + ${WRKSRC}/CPackConfig.cmake \ + ${WRKSRC}/cmake_install.cmake \ + ${WRKSRC}/CPackSourceConfig.cmake + +.include <bsd.port.mk> diff --git a/graphics/projectm-libvisual/distinfo b/graphics/projectm-libvisual/distinfo new file mode 100644 index 000000000000..bbcbf29a2dcd --- /dev/null +++ b/graphics/projectm-libvisual/distinfo @@ -0,0 +1,2 @@ +SHA256 (projectM_libvisual-2.0.1-Source.tar.gz) = 8526b8687caebcef5f3374dd61665732f10030e970a7db4804eb65a06da18ea0 +SIZE (projectM_libvisual-2.0.1-Source.tar.gz) = 23128 diff --git a/graphics/projectm-libvisual/files/patch-actor_projectM-cpp b/graphics/projectm-libvisual/files/patch-actor_projectM-cpp new file mode 100644 index 000000000000..80bdcfc2c5a3 --- /dev/null +++ b/graphics/projectm-libvisual/files/patch-actor_projectM-cpp @@ -0,0 +1,18 @@ +--- actor_projectM.cpp.orig 2011-02-06 15:46:19.000000000 +0000 ++++ actor_projectM.cpp 2011-02-06 15:46:38.000000000 +0000 +@@ -56,7 +56,6 @@ + static VisPluginInfo info[1]; + + actor[0].requisition = lv_projectm_requisition; +- actor[0].palette = lv_projectm_palette; + actor[0].render = lv_projectm_render; + actor[0].vidoptions.depth = VISUAL_VIDEO_DEPTH_GL; /* We want GL clearly */ + +@@ -209,7 +208,6 @@ + * we aren't with projectm, so just ignore :) */ + extern "C" VisPalette *lv_projectm_palette (VisPluginData *plugin) + { +- return NULL; + } + + /* This is where the real rendering happens! This function is what we call, many times diff --git a/graphics/projectm-libvisual/pkg-descr b/graphics/projectm-libvisual/pkg-descr new file mode 100644 index 000000000000..5db446ed747e --- /dev/null +++ b/graphics/projectm-libvisual/pkg-descr @@ -0,0 +1,4 @@ +projectM is an LGPL'ed reimplementation of Milkdrop under OpenGL. All projectM +requires is a video card with 3D acceleration and your favorite music. + +WWW: http://projectm.sourceforge.net/ |