mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-31 09:08:08 -07:00
dev-cpp/tlfloat: new package, add 1.5.0_p20250711
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
1
dev-cpp/tlfloat/Manifest
Normal file
1
dev-cpp/tlfloat/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST tlfloat-1.5.0_p20250711.tar.gz 269342 BLAKE2B 6619a8f6a74a12dee64782c904ba0d250dd030ccfb728d179dd366380403a6ce60d15c3c2785cb2f5a8baa95211c57315ed4b818b64902b8cfe74596f5e4c8dc SHA512 cea86de671f58e3481bc9f411e48ceb2788f20fa96c835d17a57599e5abe6312016746016fcc30a4e83089214e9d6cef72d262eaeee01e9ac634da9b6efada31
|
||||
11
dev-cpp/tlfloat/files/tlfloat-1.5.0_p20250711-fPIC.patch
Normal file
11
dev-cpp/tlfloat/files/tlfloat-1.5.0_p20250711-fPIC.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/tlfloat/CMakeLists.txt 2025-12-28 17:16:56.947900808 +0100
|
||||
+++ b/src/tlfloat/CMakeLists.txt 2025-12-28 17:28:35.570496939 +0100
|
||||
@@ -1,5 +1,8 @@
|
||||
if (BUILD_LIBS)
|
||||
add_library(tlfloat_inline OBJECT arith.cpp misc.cpp trig.cpp logexp.cpp invtrig.cpp hyp.cpp erfgamma.cpp)
|
||||
+ set_target_properties(tlfloat_inline PROPERTIES
|
||||
+ POSITION_INDEPENDENT_CODE ON
|
||||
+ )
|
||||
target_compile_options(tlfloat_inline PRIVATE ${NOEXCEPT_CXX_FLAGS})
|
||||
if (ENABLE_INLINING AND "${LC_CMAKE_BUILD_TYPE}" STREQUAL "release")
|
||||
target_compile_options(tlfloat_inline PRIVATE ${INLINE_CXX_FLAGS})
|
||||
11
dev-cpp/tlfloat/metadata.xml
Normal file
11
dev-cpp/tlfloat/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tupone@gentoo.org</email>
|
||||
<name>Tupone Alfredo</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">shibatch/tlfloat</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
28
dev-cpp/tlfloat/tlfloat-1.5.0_p20250711.ebuild
Normal file
28
dev-cpp/tlfloat/tlfloat-1.5.0_p20250711.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit cmake
|
||||
|
||||
CommitId=38f525b838b05dd5c266d34b16cb554cf1fe37c5
|
||||
|
||||
DESCRIPTION="C++ template library for floating point operations"
|
||||
HOMEPAGE="https://shibatch.github.io/tlfloat-doxygen/"
|
||||
SRC_URI="https://github.com/shibatch/${PN}/archive/${CommitId}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${CommitId}
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fPIC.patch )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user