# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= glm VERSION= 1.0.1 KEYWORDS= math graphics VARIANTS= standard SDESC[standard]= C++ mathematics library for graphics programming HOMEPAGE= https://glm.g-truc.net/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= GITHUB/g-truc:glm:1.0.1 DISTFILE[1]= generated:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= cmake pkgconfig LICENSE= MIT:single LICENSE_FILE= MIT:{{WRKSRC}}/copying.txt LICENSE_SCHEME= solo FPC_EQUIVALENT= math/glm post-patch: ${GREP} -rl GLM_ENABLE_EXPERIMENTAL ${WRKSRC}/glm | ${XARGS}\ ${SED} -i'' 's|#ifndef GLM_ENABLE_EXPERIMENTAL|#if 0|' ${SED} -i'' 's|#ifdef GLM_ENABLE_EXPERIMENTAL|#if 1|' \ ${WRKSRC}/glm/ext.hpp do-install: # from arch linux (0.9.9.6) # For some stupid reason, glm upstream removed the CMake install # target here: https://github.com/g-truc/glm/commit/5f352ec # There is no reasoning for it. Discussion here: # https://github.com/g-truc/glm/issues/947 ${MKDIR} ${STAGEDIR}${PREFIX}/lib/pkgconfig ${SED} "s/@VERSION@/1.0.1/" ${FILESDIR}/glm.pc.in \ > ${STAGEDIR}${PREFIX}/lib/pkgconfig/glm.pc ${MKDIR} ${STAGEDIR}${PREFIX}/lib/cmake/glm ${SED} "s/@VERSION@/1.0.1/" \ ${FILESDIR}/glmConfigVersion.cmake.in \ > ${STAGEDIR}${PREFIX}/lib/cmake/glm/glmConfigVersion.cmake ${SED} "s/@VERSION@/1.0.1/" \ ${FILESDIR}/glmConfig.cmake.in \ > ${STAGEDIR}${PREFIX}/lib/cmake/glm/glmConfig.cmake ${INSTALL_DATA} ${FILESDIR}/glmTargets.cmake \ ${STAGEDIR}${PREFIX}/lib/cmake/glm/glmTargets.cmake (cd ${WRKSRC} && \ ${COPYTREE_SHARE} glm ${STAGEDIR}${PREFIX}/include) ${RM} ${STAGEDIR}${PREFIX}/include/glm/CMakeLists.txt [FILE:917:descriptions/desc.single] OpenGL Mathematics (GLM) is a header only C++ mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification. GLM provides classes and functions designed and implemented with the same naming conventions and functionalities than GLSL so that when a programmer knows GLSL, he knows GLM as well which makes it really easy to use. This project isn't limited to GLSL features. An extension system, based on the GLSL extension conventions, provides extended capabilities: matrix transformations, quaternions, half-based types, random numbers, procedural noise functions, etc... This library works perfectly with OpenGL but it also ensures interoperability with third party libraries and SDKs. It is a good candidate for software rendering (Raytracing / Rasterisation), image processing, physic simulations and any context that requires a simple and convenient mathematics library. [FILE:102:distinfo] 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c 4567161 g-truc-glm-1.0.1.tar.gz [FILE:8576:manifests/plist.single] include/glm/ common.hpp exponential.hpp ext.hpp fwd.hpp geometric.hpp glm.cppm glm.hpp integer.hpp mat2x2.hpp mat2x3.hpp mat2x4.hpp mat3x2.hpp mat3x3.hpp mat3x4.hpp mat4x2.hpp mat4x3.hpp mat4x4.hpp matrix.hpp packing.hpp trigonometric.hpp vec2.hpp vec3.hpp vec4.hpp vector_relational.hpp include/glm/detail/ _features.hpp _fixes.hpp _noise.hpp _swizzle.hpp _swizzle_func.hpp _vectorize.hpp compute_common.hpp compute_vector_decl.hpp compute_vector_relational.hpp func_common.inl func_common_simd.inl func_exponential.inl func_exponential_simd.inl func_geometric.inl func_geometric_simd.inl func_integer.inl func_integer_simd.inl func_matrix.inl func_matrix_simd.inl func_packing.inl func_packing_simd.inl func_trigonometric.inl func_trigonometric_simd.inl func_vector_relational.inl func_vector_relational_simd.inl glm.cpp qualifier.hpp setup.hpp type_float.hpp type_half.hpp type_half.inl type_mat2x2.hpp type_mat2x2.inl type_mat2x3.hpp type_mat2x3.inl type_mat2x4.hpp type_mat2x4.inl type_mat3x2.hpp type_mat3x2.inl type_mat3x3.hpp type_mat3x3.inl type_mat3x4.hpp type_mat3x4.inl type_mat4x2.hpp type_mat4x2.inl type_mat4x3.hpp type_mat4x3.inl type_mat4x4.hpp type_mat4x4.inl type_mat4x4_simd.inl type_quat.hpp type_quat.inl type_quat_simd.inl type_vec1.hpp type_vec1.inl type_vec2.hpp type_vec2.inl type_vec3.hpp type_vec3.inl type_vec4.hpp type_vec4.inl type_vec4_simd.inl include/glm/ext/ _matrix_vectorize.hpp matrix_clip_space.hpp matrix_clip_space.inl matrix_common.hpp matrix_common.inl matrix_double2x2.hpp matrix_double2x2_precision.hpp matrix_double2x3.hpp matrix_double2x3_precision.hpp matrix_double2x4.hpp matrix_double2x4_precision.hpp matrix_double3x2.hpp matrix_double3x2_precision.hpp matrix_double3x3.hpp matrix_double3x3_precision.hpp matrix_double3x4.hpp matrix_double3x4_precision.hpp matrix_double4x2.hpp matrix_double4x2_precision.hpp matrix_double4x3.hpp matrix_double4x3_precision.hpp matrix_double4x4.hpp matrix_double4x4_precision.hpp matrix_float2x2.hpp matrix_float2x2_precision.hpp matrix_float2x3.hpp matrix_float2x3_precision.hpp matrix_float2x4.hpp matrix_float2x4_precision.hpp matrix_float3x2.hpp matrix_float3x2_precision.hpp matrix_float3x3.hpp matrix_float3x3_precision.hpp matrix_float3x4.hpp matrix_float3x4_precision.hpp matrix_float4x2.hpp matrix_float4x2_precision.hpp matrix_float4x3.hpp matrix_float4x3_precision.hpp matrix_float4x4.hpp matrix_float4x4_precision.hpp matrix_int2x2.hpp matrix_int2x2_sized.hpp matrix_int2x3.hpp matrix_int2x3_sized.hpp matrix_int2x4.hpp matrix_int2x4_sized.hpp matrix_int3x2.hpp matrix_int3x2_sized.hpp matrix_int3x3.hpp matrix_int3x3_sized.hpp matrix_int3x4.hpp matrix_int3x4_sized.hpp matrix_int4x2.hpp matrix_int4x2_sized.hpp matrix_int4x3.hpp matrix_int4x3_sized.hpp matrix_int4x4.hpp matrix_int4x4_sized.hpp matrix_integer.hpp matrix_integer.inl matrix_projection.hpp matrix_projection.inl matrix_relational.hpp matrix_relational.inl matrix_transform.hpp matrix_transform.inl matrix_uint2x2.hpp matrix_uint2x2_sized.hpp matrix_uint2x3.hpp matrix_uint2x3_sized.hpp matrix_uint2x4.hpp matrix_uint2x4_sized.hpp matrix_uint3x2.hpp matrix_uint3x2_sized.hpp matrix_uint3x3.hpp matrix_uint3x3_sized.hpp matrix_uint3x4.hpp matrix_uint3x4_sized.hpp matrix_uint4x2.hpp matrix_uint4x2_sized.hpp matrix_uint4x3.hpp matrix_uint4x3_sized.hpp matrix_uint4x4.hpp matrix_uint4x4_sized.hpp quaternion_common.hpp quaternion_common.inl quaternion_common_simd.inl quaternion_double.hpp quaternion_double_precision.hpp quaternion_exponential.hpp quaternion_exponential.inl quaternion_float.hpp quaternion_float_precision.hpp quaternion_geometric.hpp quaternion_geometric.inl quaternion_relational.hpp quaternion_relational.inl quaternion_transform.hpp quaternion_transform.inl quaternion_trigonometric.hpp quaternion_trigonometric.inl scalar_common.hpp scalar_common.inl scalar_constants.hpp scalar_constants.inl scalar_int_sized.hpp scalar_integer.hpp scalar_integer.inl scalar_packing.hpp scalar_packing.inl scalar_reciprocal.hpp scalar_reciprocal.inl scalar_relational.hpp scalar_relational.inl scalar_uint_sized.hpp scalar_ulp.hpp scalar_ulp.inl vector_bool1.hpp vector_bool1_precision.hpp vector_bool2.hpp vector_bool2_precision.hpp vector_bool3.hpp vector_bool3_precision.hpp vector_bool4.hpp vector_bool4_precision.hpp vector_common.hpp vector_common.inl vector_double1.hpp vector_double1_precision.hpp vector_double2.hpp vector_double2_precision.hpp vector_double3.hpp vector_double3_precision.hpp vector_double4.hpp vector_double4_precision.hpp vector_float1.hpp vector_float1_precision.hpp vector_float2.hpp vector_float2_precision.hpp vector_float3.hpp vector_float3_precision.hpp vector_float4.hpp vector_float4_precision.hpp vector_int1.hpp vector_int1_sized.hpp vector_int2.hpp vector_int2_sized.hpp vector_int3.hpp vector_int3_sized.hpp vector_int4.hpp vector_int4_sized.hpp vector_integer.hpp vector_integer.inl vector_packing.hpp vector_packing.inl vector_reciprocal.hpp vector_reciprocal.inl vector_relational.hpp vector_relational.inl vector_uint1.hpp vector_uint1_sized.hpp vector_uint2.hpp vector_uint2_sized.hpp vector_uint3.hpp vector_uint3_sized.hpp vector_uint4.hpp vector_uint4_sized.hpp vector_ulp.hpp vector_ulp.inl include/glm/gtc/ bitfield.hpp bitfield.inl color_space.hpp color_space.inl constants.hpp constants.inl epsilon.hpp epsilon.inl integer.hpp integer.inl matrix_access.hpp matrix_access.inl matrix_integer.hpp matrix_inverse.hpp matrix_inverse.inl matrix_transform.hpp matrix_transform.inl noise.hpp noise.inl packing.hpp packing.inl quaternion.hpp quaternion.inl quaternion_simd.inl random.hpp random.inl reciprocal.hpp round.hpp round.inl type_aligned.hpp type_precision.hpp type_precision.inl type_ptr.hpp type_ptr.inl ulp.hpp ulp.inl vec1.hpp include/glm/gtx/ associated_min_max.hpp associated_min_max.inl bit.hpp bit.inl closest_point.hpp closest_point.inl color_encoding.hpp color_encoding.inl color_space.hpp color_space.inl color_space_YCoCg.hpp color_space_YCoCg.inl common.hpp common.inl compatibility.hpp compatibility.inl component_wise.hpp component_wise.inl dual_quaternion.hpp dual_quaternion.inl easing.hpp easing.inl euler_angles.hpp euler_angles.inl extend.hpp extend.inl extended_min_max.hpp extended_min_max.inl exterior_product.hpp exterior_product.inl fast_exponential.hpp fast_exponential.inl fast_square_root.hpp fast_square_root.inl fast_trigonometry.hpp fast_trigonometry.inl float_notmalize.inl functions.hpp functions.inl gradient_paint.hpp gradient_paint.inl handed_coordinate_space.hpp handed_coordinate_space.inl hash.hpp hash.inl integer.hpp integer.inl intersect.hpp intersect.inl io.hpp io.inl log_base.hpp log_base.inl matrix_cross_product.hpp matrix_cross_product.inl matrix_decompose.hpp matrix_decompose.inl matrix_factorisation.hpp matrix_factorisation.inl matrix_interpolation.hpp matrix_interpolation.inl matrix_major_storage.hpp matrix_major_storage.inl matrix_operation.hpp matrix_operation.inl matrix_query.hpp matrix_query.inl matrix_transform_2d.hpp matrix_transform_2d.inl mixed_product.hpp mixed_product.inl norm.hpp norm.inl normal.hpp normal.inl normalize_dot.hpp normalize_dot.inl number_precision.hpp optimum_pow.hpp optimum_pow.inl orthonormalize.hpp orthonormalize.inl pca.hpp pca.inl perpendicular.hpp perpendicular.inl polar_coordinates.hpp polar_coordinates.inl projection.hpp projection.inl quaternion.hpp quaternion.inl range.hpp raw_data.hpp raw_data.inl rotate_normalized_axis.hpp rotate_normalized_axis.inl rotate_vector.hpp rotate_vector.inl scalar_multiplication.hpp scalar_relational.hpp scalar_relational.inl spline.hpp spline.inl std_based_type.hpp std_based_type.inl string_cast.hpp string_cast.inl texture.hpp texture.inl transform.hpp transform.inl transform2.hpp transform2.inl type_aligned.hpp type_aligned.inl type_trait.hpp type_trait.inl vec_swizzle.hpp vector_angle.hpp vector_angle.inl vector_query.hpp vector_query.inl wrap.hpp wrap.inl include/glm/simd/ common.h exponential.h geometric.h integer.h matrix.h neon.h packing.h platform.h trigonometric.h vector_relational.h lib/cmake/glm/ glmConfig.cmake glmConfigVersion.cmake glmTargets.cmake lib/pkgconfig/glm.pc [FILE:127:files/glm.pc.in] prefix=/usr includedir=${prefix}/include Name: GLM Description: OpenGL Mathematics Version: @VERSION@ Cflags: -I${includedir} [FILE:671:files/glmConfig.cmake.in] set(GLM_VERSION "@VERSION@") ####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) macro(set_and_check _var _file) set(${_var} "${_file}") if(NOT EXISTS "${_file}") message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") endif() endmacro() #################################################################################### set_and_check(GLM_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/include") if (NOT CMAKE_VERSION VERSION_LESS "3.0") include("${CMAKE_CURRENT_LIST_DIR}/glmTargets.cmake") endif() [FILE:1274:files/glmConfigVersion.cmake.in] # This is a basic version file for the Config-mode of find_package(). # It is used by write_basic_package_version_file() as input file for configure_file() # to create a version-file which can be installed along a config.cmake file. # # The created file sets PACKAGE_VERSION_EXACT if the current version string and # the requested version string are exactly the same and it sets # PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version. # The variable CVF_VERSION must be set before calling configure_file(). set(PACKAGE_VERSION "@VERSION@") if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() set(PACKAGE_VERSION_COMPATIBLE TRUE) if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) set(PACKAGE_VERSION_EXACT TRUE) endif() endif() # if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") return() endif() # check that the installed version has the same 32/64bit-ness as the one which is currently searching: if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") math(EXPR installedBits "8 * 8") set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") set(PACKAGE_VERSION_UNSUITABLE FALSE) endif() [FILE:3690:files/glmTargets.cmake] # Generated by CMake if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) message(FATAL_ERROR "CMake >= 2.6.0 required") endif() cmake_policy(PUSH) cmake_policy(VERSION 2.6) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- # Commands may need to know the format version. set(CMAKE_IMPORT_FILE_VERSION 1) # Protect against multiple inclusion, which would fail when already imported targets are added once more. set(_targetsDefined) set(_targetsNotDefined) set(_expectedTargets) foreach(_expectedTarget glm) list(APPEND _expectedTargets ${_expectedTarget}) if(NOT TARGET ${_expectedTarget}) list(APPEND _targetsNotDefined ${_expectedTarget}) endif() if(TARGET ${_expectedTarget}) list(APPEND _targetsDefined ${_expectedTarget}) endif() endforeach() if("${_targetsDefined}" STREQUAL "${_expectedTargets}") unset(_targetsDefined) unset(_targetsNotDefined) unset(_expectedTargets) set(CMAKE_IMPORT_FILE_VERSION) cmake_policy(POP) return() endif() if(NOT "${_targetsDefined}" STREQUAL "") message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") endif() unset(_targetsDefined) unset(_targetsNotDefined) unset(_expectedTargets) # Compute the installation prefix relative to this file. get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) # Use original install prefix when loaded through a # cross-prefix symbolic link such as /lib -> /usr/lib. get_filename_component(_realCurr "${_IMPORT_PREFIX}" REALPATH) get_filename_component(_realOrig "/usr/lib/cmake/glm" REALPATH) if(_realCurr STREQUAL _realOrig) set(_IMPORT_PREFIX "/usr/lib/cmake/glm") endif() unset(_realOrig) unset(_realCurr) get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH) if(_IMPORT_PREFIX STREQUAL "/") set(_IMPORT_PREFIX "") endif() # Create imported target glm add_library(glm INTERFACE IMPORTED) set_target_properties(glm PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" ) if(CMAKE_VERSION VERSION_LESS 3.0.0) message(FATAL_ERROR "This file relies on consumers using CMake 3.0.0 or greater.") endif() # Load information for each installed configuration. get_filename_component(_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) file(GLOB CONFIG_FILES "${_DIR}/glmTargets-*.cmake") foreach(f ${CONFIG_FILES}) include(${f}) endforeach() # Cleanup temporary variables. set(_IMPORT_PREFIX) # Loop over all imported files and verify that they actually exist foreach(target ${_IMPORT_CHECK_TARGETS} ) foreach(file ${_IMPORT_CHECK_FILES_FOR_${target}} ) if(NOT EXISTS "${file}" ) message(FATAL_ERROR "The imported target \"${target}\" references the file \"${file}\" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained \"${CMAKE_CURRENT_LIST_FILE}\" but not all the files it references. ") endif() endforeach() unset(_IMPORT_CHECK_FILES_FOR_${target}) endforeach() unset(_IMPORT_CHECK_TARGETS) # This file does not depend on other imported targets which have # been exported from the same project but in a separate export set. # Commands beyond this point should not need to know the version. set(CMAKE_IMPORT_FILE_VERSION) cmake_policy(POP)