git: c0ac48b56040 - main - graphics/libopendrive: Add libopendrive 0.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 May 2025 04:52:50 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c0ac48b560408574aaa8454d092ed374eb53b307
commit c0ac48b560408574aaa8454d092ed374eb53b307
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-05-29 04:39:16 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-05-29 04:52:18 +0000
graphics/libopendrive: Add libopendrive 0.5.0
libOpenDRIVE is a lightweight, dependency-free, fast C++ library providing
OpenDRIVE file parsing and 3D model generation.
It's small and can be easily integrated in other projects. A core function is
the parsing of OpenDRIVE files and the generation of 3D models. The library
targets OpenDRIVE version 1.4.
---
graphics/Makefile | 1 +
graphics/libopendrive/Makefile | 21 +++++++++++++++++++++
graphics/libopendrive/distinfo | 3 +++
graphics/libopendrive/pkg-descr | 6 ++++++
graphics/libopendrive/pkg-plist | 30 ++++++++++++++++++++++++++++++
5 files changed, 61 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index 609c835a71a6..c2a376bdd50c 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -496,6 +496,7 @@
SUBDIR += libmypaint
SUBDIR += libnsbmp
SUBDIR += libnsgif
+ SUBDIR += libopendrive
SUBDIR += libopenraw
SUBDIR += libosmesa
SUBDIR += libpano13
diff --git a/graphics/libopendrive/Makefile b/graphics/libopendrive/Makefile
new file mode 100644
index 000000000000..b96a228fdbf8
--- /dev/null
+++ b/graphics/libopendrive/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= libopendrive
+PORTVERSION= 0.6.0
+CATEGORIES= graphics
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Small, lightweight C++ library for handling OpenDRIVE files
+WWW= https://github.com/pageldev/libOpenDRIVE
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake compiler:c++14-lang
+
+CMAKE_ON= BUILD_SHARED_LIBS
+
+USE_GITHUB= yes
+GH_ACCOUNT= pageldev
+GH_PROJECT= libOpenDRIVE
+GH_TAGNAME= edfd564
+
+.include <bsd.port.mk>
diff --git a/graphics/libopendrive/distinfo b/graphics/libopendrive/distinfo
new file mode 100644
index 000000000000..393438c08144
--- /dev/null
+++ b/graphics/libopendrive/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1748107894
+SHA256 (pageldev-libOpenDRIVE-0.6.0-edfd564_GH0.tar.gz) = 89184e50350f715e88d921dda95879b8693efd14d47d0a8cb8d6bc8635089e7e
+SIZE (pageldev-libOpenDRIVE-0.6.0-edfd564_GH0.tar.gz) = 132294
diff --git a/graphics/libopendrive/pkg-descr b/graphics/libopendrive/pkg-descr
new file mode 100644
index 000000000000..f4b23eb472f2
--- /dev/null
+++ b/graphics/libopendrive/pkg-descr
@@ -0,0 +1,6 @@
+libOpenDRIVE is a lightweight, dependency-free, fast C++ library providing
+OpenDRIVE file parsing and 3D model generation.
+
+It's small and can be easily integrated in other projects. A core function is
+the parsing of OpenDRIVE files and the generation of 3D models. The library
+targets OpenDRIVE version 1.4.
diff --git a/graphics/libopendrive/pkg-plist b/graphics/libopendrive/pkg-plist
new file mode 100644
index 000000000000..e54966418ff0
--- /dev/null
+++ b/graphics/libopendrive/pkg-plist
@@ -0,0 +1,30 @@
+bin/test-xodr
+cmake/OpenDriveConfig-%%CMAKE_BUILD_TYPE%%.cmake
+cmake/OpenDriveConfig.cmake
+include/CubicBezier.hpp
+include/Geometries/Arc.h
+include/Geometries/CubicSpline.h
+include/Geometries/Line.h
+include/Geometries/ParamPoly3.h
+include/Geometries/RoadGeometry.h
+include/Geometries/Spiral.h
+include/Geometries/Spiral/odrSpiral.h
+include/Junction.h
+include/Lane.h
+include/LaneSection.h
+include/LaneValidityRecord.h
+include/Math.hpp
+include/Mesh.h
+include/OpenDriveMap.h
+include/RefLine.h
+include/Road.h
+include/RoadMark.h
+include/RoadNetworkMesh.h
+include/RoadObject.h
+include/RoadSignal.h
+include/RoutingGraph.h
+include/Utils.hpp
+include/XmlNode.h
+include/pugixml/pugiconfig.hpp
+include/pugixml/pugixml.hpp
+lib/libOpenDrive.so