SPB Git

Repository Public BSD-3-Clause

Package.swift 4.6 KB 112 lines swift

1// swift-tools-version: 6.02// =============================================================================3//                  SP BOUCHER | SOFTWARE & RESEARCH4//             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5// =============================================================================6//7// PROJECT METADATA8// -----------------------------------------------------------------------------9// Project          : ORIX Maps10// File             : Packages/ORIXMapRenderer/Package.swift11// Module           : Packages12// Repository       : https://git.spboucher.ai/orix-maps13// Created          : 2026-11-2514// Last Modified    : 2026-11-2515//16// =============================================================================17// AUTHOR & PROFESSIONAL AFFILIATION18// =============================================================================19//20// Author           : Simon-Pierre Boucher21// Position         : Professor of Finance22// Institution      : Université du Québec en Outaouais (UQO)23// Department       : Département des sciences administratives24// Organization     : SP Boucher25//26// Website          : https://spboucher.ai27// Git              : https://git.spboucher.ai28//29// =============================================================================30// OFFICIAL CONTACT DIRECTORY31// =============================================================================32//33// General          : info@spboucher.ai34// Professional     : contact@spboucher.ai35// Direct           : simon@spboucher.ai36// Research         : research@spboucher.ai37// Development      : dev@spboucher.ai38// Support          : support@spboucher.ai39// Security/Admin   : admin@spboucher.ai40// Notifications    : notifications@spboucher.ai41//42// Preferred Contact: support@spboucher.ai43//44// =============================================================================45// COPYRIGHT & INTELLECTUAL PROPERTY46// =============================================================================47//48// Copyright (c) 202649// Simon-Pierre Boucher50//51// All rights reserved where applicable.52//53// This file is governed by the applicable project license,54// copyright notices, institutional agreements and relevant law.55//56// Unless expressly authorized by the applicable license or57// rights holder, copying, redistribution, sublicensing,58// publication and commercial exploitation are not permitted.59//60// Existing third-party rights and notices remain unaffected.61//62// =============================================================================63// CONFIDENTIALITY & SECURITY64// =============================================================================65//66// Classification   : Public67// Distribution     : Public repository; use is governed by the project license68// Security Contact : admin@spboucher.ai69//70// Access to this source does not independently grant permission71// to redistribute or disclose confidential materials.72//73// Do not embed credentials, private keys, access tokens,74// certificates or confidential personal information.75//76// =============================================================================77// LICENSE & MAINTENANCE78// =============================================================================79//80// License          : Proprietary, all rights reserved (see license file)81// License File     : LICENSE82// Maintainer       : Simon-Pierre Boucher83// Technical Contact: dev@spboucher.ai84//85// =============================================================================86// END OF SP BOUCHER SOURCE HEADER87// =============================================================================8889import PackageDescription9091// The rendering layer. The public API (MapController, MapCamera, MapEvent) does not expose the engine: MapLibre Native92// is used on iOS only, behind `#if canImport(MapLibre)`, and can be replaced by the ORIX Atlas Metal engine.93let package = Package(94    name: "ORIXMapRenderer",95    platforms: [.iOS(.v18), .macOS(.v15)],96    products: [.library(name: "ORIXMapRenderer", targets: ["ORIXMapRenderer"])],97    dependencies: [98        .package(path: "../ORIXGeoCore"),99        .package(path: "../ORIXMapStyle"),100        // BSD-2-Clause. See docs/adr/0002-rendering-engine.md.101        .package(url: "https://github.com/maplibre/maplibre-gl-native-distribution", exact: "7.0.0"),102    ],103    targets: [104        .target(name: "ORIXMapRenderer", dependencies: [105            "ORIXGeoCore", "ORIXMapStyle",106            .product(name: "MapLibre", package: "maplibre-gl-native-distribution", condition: .when(platforms: [.iOS])),107        ]),108        .testTarget(name: "ORIXMapRendererTests", dependencies: ["ORIXMapRenderer"]),109    ],110    swiftLanguageModes: [.v6]111)112
Files main
Menu

Theme