pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
residualvm-git: import residualvm-0.4.0 (git) as wip/residualvm-git
Module Name: pkgsrc-wip
Committed By: Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By: yhardy
Date: Sat Oct 19 13:34:37 2019 +0200
Changeset: d85f149f5ec5e55bf26a2f21c0005c087f07c6f6
Modified Files:
Makefile
Added Files:
residualvm-git/DESCR
residualvm-git/Makefile
residualvm-git/PLIST
residualvm-git/distinfo
residualvm-git/options.mk
Log Message:
residualvm-git: import residualvm-0.4.0 (git) as wip/residualvm-git
Residual is a ScummVM sub-project to play LucasArts' LUA-based 3D
adventures, such as Grim Fandango. Residual is an OpenGL program,
and requires a 3D card with working OpenGL support for optimum
playability.
A software renderer is also included for machines without hardware
OpenGL.
This package is built from the latest git snapshots.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=d85f149f5ec5e55bf26a2f21c0005c087f07c6f6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
residualvm-git/DESCR | 9 ++++++
residualvm-git/Makefile | 35 ++++++++++++++++++++
residualvm-git/PLIST | 63 ++++++++++++++++++++++++++++++++++++
residualvm-git/distinfo | 1 +
residualvm-git/options.mk | 81 +++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 190 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index dc969220bf..3bf7ccb55a 100644
--- a/Makefile
+++ b/Makefile
@@ -4298,6 +4298,7 @@ SUBDIR+= relaydb
SUBDIR+= remctl
SUBDIR+= resid-builder
SUBDIR+= residualvm
+SUBDIR+= residualvm-git
SUBDIR+= resin
SUBDIR+= restic
SUBDIR+= revealjs
diff --git a/residualvm-git/DESCR b/residualvm-git/DESCR
new file mode 100644
index 0000000000..7a2b5e2d40
--- /dev/null
+++ b/residualvm-git/DESCR
@@ -0,0 +1,9 @@
+Residual is a ScummVM sub-project to play LucasArts' LUA-based 3D
+adventures, such as Grim Fandango. Residual is an OpenGL program,
+and requires a 3D card with working OpenGL support for optimum
+playability.
+
+A software renderer is also included for machines without hardware
+OpenGL.
+
+This package is built from the latest git snapshots.
diff --git a/residualvm-git/Makefile b/residualvm-git/Makefile
new file mode 100644
index 0000000000..750e0781e6
--- /dev/null
+++ b/residualvm-git/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD$
+
+DISTNAME= residualvm-0.4.0
+MASTER_SITES= ${MASTER_SITE_GITHUB:=residualvm/}
+CATEGORIES= games
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://residualvm.org/
+COMMENT= Lucas Arts' LUA-based 3D adventure engine
+LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND isc AND ofl-v1.1 AND zlib
+
+GIT_REPOSITORIES= residualvm
+GIT_REPO.residualvm= git://github.com/residualvm/residualvm.git
+WRKSRC= ${WRKDIR}/residualvm
+
+USE_TOOLS+= gmake pkg-config
+USE_LANGUAGES= c c++
+HAS_CONFIGURE= yes
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
+CONFIGURE_ARGS+= --enable-all-engines
+
+.include "options.mk"
+
+CONFIGURE_ARGS+= --disable-nasm
+
+.include "../../devel/SDL2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.0.4
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/glew/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/residualvm-git/PLIST b/residualvm-git/PLIST
new file mode 100644
index 0000000000..fd13d32322
--- /dev/null
+++ b/residualvm-git/PLIST
@@ -0,0 +1,63 @@
+@comment $NetBSD$
+bin/residualvm
+man/man6/residualvm.6
+share/applications/residualvm.desktop
+share/doc/residualvm/AUTHORS
+share/doc/residualvm/COPYING
+share/doc/residualvm/COPYING.BSD
+share/doc/residualvm/COPYING.FREEFONT
+share/doc/residualvm/COPYING.ISC
+share/doc/residualvm/COPYING.LGPL
+share/doc/residualvm/COPYING.LUA
+share/doc/residualvm/COPYING.MIT
+share/doc/residualvm/COPYING.OFL
+share/doc/residualvm/COPYING.TINYGL
+share/doc/residualvm/COPYRIGHT
+share/doc/residualvm/KNOWN_BUGS
+share/doc/residualvm/NEWS
+share/doc/residualvm/README.md
+share/icons/hicolor/scalable/apps/residualvm.svg
+share/pixmaps/residualvm.xpm
+share/residualvm/modern.zip
+share/residualvm/myst3.dat
+share/residualvm/residualvm-emi-patch.m4b
+share/residualvm/residualvm-grim-patch.lab
+share/residualvm/shaders/dim.fragment
+share/residualvm/shaders/dim.vertex
+share/residualvm/shaders/emerg.fragment
+share/residualvm/shaders/emerg.vertex
+share/residualvm/shaders/emi_actor.fragment
+share/residualvm/shaders/emi_actor.vertex
+share/residualvm/shaders/emi_background.fragment
+share/residualvm/shaders/emi_background.vertex
+share/residualvm/shaders/emi_dimplane.fragment
+share/residualvm/shaders/emi_dimplane.vertex
+share/residualvm/shaders/grim_actor.fragment
+share/residualvm/shaders/grim_actor.vertex
+share/residualvm/shaders/grim_background.fragment
+share/residualvm/shaders/grim_background.vertex
+share/residualvm/shaders/grim_primitive.fragment
+share/residualvm/shaders/grim_primitive.vertex
+share/residualvm/shaders/myst3_box.fragment
+share/residualvm/shaders/myst3_box.vertex
+share/residualvm/shaders/myst3_cube.fragment
+share/residualvm/shaders/myst3_cube.vertex
+share/residualvm/shaders/myst3_text.fragment
+share/residualvm/shaders/myst3_text.vertex
+share/residualvm/shaders/shadowplane.fragment
+share/residualvm/shaders/shadowplane.vertex
+share/residualvm/shaders/smush.fragment
+share/residualvm/shaders/smush.vertex
+share/residualvm/shaders/stark_actor.fragment
+share/residualvm/shaders/stark_actor.vertex
+share/residualvm/shaders/stark_fade.fragment
+share/residualvm/shaders/stark_fade.vertex
+share/residualvm/shaders/stark_prop.fragment
+share/residualvm/shaders/stark_prop.vertex
+share/residualvm/shaders/stark_shadow.fragment
+share/residualvm/shaders/stark_shadow.vertex
+share/residualvm/shaders/stark_surface.fragment
+share/residualvm/shaders/stark_surface.vertex
+share/residualvm/shaders/text.fragment
+share/residualvm/shaders/text.vertex
+share/residualvm/translations.dat
diff --git a/residualvm-git/distinfo b/residualvm-git/distinfo
new file mode 100644
index 0000000000..c641c554c2
--- /dev/null
+++ b/residualvm-git/distinfo
@@ -0,0 +1 @@
+$NetBSD$
diff --git a/residualvm-git/options.mk b/residualvm-git/options.mk
new file mode 100644
index 0000000000..9bd7fafe87
--- /dev/null
+++ b/residualvm-git/options.mk
@@ -0,0 +1,81 @@
+# $NetBSD$
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.residualvm
+PKG_SUPPORTED_OPTIONS= faad flac fluidsynth mad freetype png theora timidity jpeg
+PKG_SUGGESTED_OPTIONS= faad flac fluidsynth mad freetype png theora timidity jpeg vorbis
+# only one of tremor or ogg/vorbis
+PKG_OPTIONS_OPTIONAL_GROUPS+= vorbis
+PKG_OPTIONS_GROUP.vorbis= vorbis tremor
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mfaad)
+CONFIGURE_ARGS+= --enable-faad
+CONFIGURE_ARGS+= --with-faad-prefix=${BUILDLINK_PREFIX.faad2}
+.include "../../audio/faad2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mflac)
+CONFIGURE_ARGS+= --enable-flac
+CONFIGURE_ARGS+= --with-flac-prefix=${BUILDLINK_PREFIX.flac}
+.include "../../audio/flac/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mfluidsynth)
+CONFIGURE_ARGS+= --enable-fluidsynth
+CONFIGURE_ARGS+= --with-fluidsynth-prefix=${BUILDLINK_PREFIX.fluidsynth}
+.include "../../audio/fluidsynth/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mfreetype)
+CONFIGURE_ARGS+= --enable-freetype2
+#CONFIGURE_ARGS+= --with-freetype-prefix=${BUILDLINK_PREFIX.freetype2}
+.include "../../graphics/freetype2/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mmad)
+CONFIGURE_ARGS+= --enable-mad
+CONFIGURE_ARGS+= --with-mad-prefix=${BUILDLINK_PREFIX.libmad}
+.include "../../audio/libmad/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mvorbis)
+CONFIGURE_ARGS+= --enable-vorbis
+CONFIGURE_ARGS+= --with-vorbis-prefix=${BUILDLINK_PREFIX.libvorbis}
+.include "../../audio/libvorbis/buildlink3.mk"
+CONFIGURE_ARGS+= --with-ogg-prefix=${BUILDLINK_PREFIX.libogg}
+.include "../../multimedia/libogg/buildlink3.mk"
+.endif
+
+# mentioned in configure script, but seemingly not used
+#.if !empty(PKG_OPTIONS:Mlibmpeg2)
+#.include "../../multimedia/libmpeg2/buildlink3.mk"
+#.endif
+
+.if !empty(PKG_OPTIONS:Mpng)
+CONFIGURE_ARGS+= --enable-png
+CONFIGURE_ARGS+= --with-png-prefix=${BUILDLINK_PREFIX.png}
+.include "../../graphics/png/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mjpeg)
+CONFIGURE_ARGS+= --with-jpeg-prefix=${BUILDLINK_PREFIX.jpeg}
+.include "../../mk/jpeg.buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mtheora)
+CONFIGURE_ARGS+= --enable-theoradec
+CONFIGURE_ARGS+= --with-theoradec-prefix=${BUILDLINK_PREFIX.libtheora}
+.include "../../multimedia/libtheora/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mtimidity)
+DEPENDS+= timidity-[0-9]*:../../audio/timidity
+CONFIGURE_ARGS+= --enable-timidity
+.endif
+
+.if !empty(PKG_OPTIONS:Mtremor)
+CONFIGURE_ARGS+= --with-tremor-prefix=${BUILDLINK_PREFIX.tremor}
+CONFIGURE_ARGS+= --enable-tremor
+.include "../../audio/tremor/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index