media-gfx/colmap - 3.8 (lastrodamo)

Search

Install

Install this version:

emerge -a =media-gfx/colmap-3.8

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-gfx/colmap-3.8

Or alternatively:

emerge --autounmask-write -a =media-gfx/colmap-3.8

Package Information

Description:
A general-purpose Structure-from-Motion and Multi-View Stereo pipeline.
Homepage:
https://colmap.github.io/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
3.8 8 ~amd64 ~x86 3
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake xdg-utils

DESCRIPTION="A general-purpose Structure-from-Motion and Multi-View Stereo pipeline."
HOMEPAGE="https://colmap.github.io/"
SRC_URI="https://github.com/colmap/colmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="3"
KEYWORDS="~amd64 ~x86"

DEPEND="
	sci-libs/ceres-solver
	dev-libs/boost
	media-libs/freeimage
	sci-libs/metis"

RDEPEND="${DEPEND}"

src_configure() {
	CMAKE_BUILD_TYPE=Release

	local mycmakeargs=(
#		-DBOOST_STATIC=0
		-DBoost_USE_STATIC_LIBS=OFF
		-DCMAKE_CUDA_ARCHITECTURES=native
	)
	cmake_src_configure
}

pkg_postinst() {
	xdg_desktop_database_update
}

Inherited Eclasses

Dependencies

DEPEND

	sci-libs/ceres-solver
	dev-libs/boost
	media-libs/freeimage
	sci-libs/metis

RDEPEND

	sci-libs/ceres-solver
	dev-libs/boost
	media-libs/freeimage
	sci-libs/metis

Manifest for 3.8

Type File Size Source URLs
DIST colmap-3.8.tar.gz 3698389 bytes https://github.com/colmap/colmap/archive/refs/tags/3.8.tar.gz