Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2019 04:47:14 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493351 - in head/graphics: . magnum-examples
Message-ID:  <201902190447.x1J4lEnH086777@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Feb 19 04:47:14 2019
New Revision: 493351
URL: https://svnweb.freebsd.org/changeset/ports/493351

Log:
  New port: graphics/magnum-examples: Examples for the Magnum C++11/C++14 graphics engine

Added:
  head/graphics/magnum-examples/
  head/graphics/magnum-examples/Makefile   (contents, props changed)
  head/graphics/magnum-examples/distinfo   (contents, props changed)
  head/graphics/magnum-examples/pkg-descr   (contents, props changed)
  head/graphics/magnum-examples/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Tue Feb 19 04:24:35 2019	(r493350)
+++ head/graphics/Makefile	Tue Feb 19 04:47:14 2019	(r493351)
@@ -549,6 +549,7 @@
     SUBDIR += lximage-qt
     SUBDIR += lximageqt-l10n
     SUBDIR += magnum
+    SUBDIR += magnum-examples
     SUBDIR += magnum-extras
     SUBDIR += magnum-plugins
     SUBDIR += mahotas

Added: head/graphics/magnum-examples/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/magnum-examples/Makefile	Tue Feb 19 04:47:14 2019	(r493351)
@@ -0,0 +1,39 @@
+# $FreeBSD$
+
+PORTNAME=	magnum-examples
+DISTVERSIONPREFIX=	v
+DISTVERSION=	2019.01
+CATEGORIES=	graphics
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Examples for the Magnum C++11/C++14 graphics engine
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libBox2D.so:misc/box2d \
+		libCorradeUtility.so:devel/corrade \
+		libglfw.so:graphics/glfw \
+		libMagnum.so:graphics/magnum
+
+USES=		cmake compiler:c++14-lang gl localbase:ldflags openal
+USE_GITHUB=	yes
+GH_ACCOUNT=	mosra
+GH_TUPLE=	mosra:toolchains:fc22ff5:t/toolchains
+USE_GL=		gl egl glesv2
+USE_SDL=	sdl2
+USE_XORG=	ice sm x11 xext
+
+LDFLAGS+=	-lGL # only missing for one example
+
+CMAKE_ARGS=	-DLIB_SUFFIX:STRING=""
+
+CMAKE_ON=	WITH_AUDIO_EXAMPLE WITH_BOX2D_EXAMPLE WITH_CUBEMAP_EXAMPLE \
+		WITH_MOUSEINTERACTION_EXAMPLE WITH_MOTIONBLUR_EXAMPLE \
+		WITH_PRIMITIVES_EXAMPLE WITH_TEXT_EXAMPLE WITH_TEXTUREDTRIANGLE_EXAMPLE \
+		WITH_TRIANGLE_EXAMPLE WITH_TRIANGLE_PLAIN_GLFW_EXAMPLE WITH_VIEWER_EXAMPLE
+# examples that failed to build:
+CMAKE_OFF=	WITH_AREALIGHTS_EXAMPLE WITH_BULLET_EXAMPLE WITH_IMGUI_EXAMPLE WITH_LEAPMOTION_EXAMPLE \
+		WITH_OVR_EXAMPLE WITH_PICKING_EXAMPLE WITH_SHADOWS_EXAMPLE WITH_TRIANGLE_SOKOL_EXAMPLE WITH_WEBVR_EXAMPLE
+
+.include <bsd.port.mk>

Added: head/graphics/magnum-examples/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/magnum-examples/distinfo	Tue Feb 19 04:47:14 2019	(r493351)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1550548501
+SHA256 (mosra-magnum-examples-v2019.01_GH0.tar.gz) = 260f63b88f703c8bdf458a76b1b1b5da1bc3e4182ac6c52308b958d16f2b9522
+SIZE (mosra-magnum-examples-v2019.01_GH0.tar.gz) = 2551256
+SHA256 (mosra-toolchains-fc22ff5_GH0.tar.gz) = 06adf04d07a3042faf9b1545bb94843c17cea0ead23e67c8e32df7d2f718a84a
+SIZE (mosra-toolchains-fc22ff5_GH0.tar.gz) = 6863

Added: head/graphics/magnum-examples/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/magnum-examples/pkg-descr	Tue Feb 19 04:47:14 2019	(r493351)
@@ -0,0 +1,4 @@
+Various examples for the Magnum C++11/C++14 graphics engine, demonstrating its
+features, usage and capabilities.
+
+WWW: https://magnum.graphics/

Added: head/graphics/magnum-examples/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/magnum-examples/pkg-plist	Tue Feb 19 04:47:14 2019	(r493351)
@@ -0,0 +1,9 @@
+bin/magnum-audio
+bin/magnum-box2d
+bin/magnum-mouseinteraction
+bin/magnum-primitives
+bin/magnum-text
+bin/magnum-triangle
+bin/magnum-triangle-plain-glfw
+bin/magnum-viewer
+share/magnum/examples/viewer/scene.ogex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902190447.x1J4lEnH086777>