summaryrefslogtreecommitdiff
path: root/sci-libs/levmar
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-12 21:55:15 +0000
commit7218e1b46bceac05841e90472501742d905fb3fc (patch)
tree56fae051db521b8fce8014cbc8b11484885b14b3 /sci-libs/levmar
parent6d691ad5b6239929063441bbd14c489e92e7396e (diff)
gentoo resync : 12.03.2021
Diffstat (limited to 'sci-libs/levmar')
-rw-r--r--sci-libs/levmar/Manifest4
-rw-r--r--sci-libs/levmar/levmar-2.6-r1.ebuild (renamed from sci-libs/levmar/levmar-2.6.ebuild)21
-rw-r--r--sci-libs/levmar/metadata.xml2
3 files changed, 14 insertions, 13 deletions
diff --git a/sci-libs/levmar/Manifest b/sci-libs/levmar/Manifest
index caf669fc890d..ef785609f4a6 100644
--- a/sci-libs/levmar/Manifest
+++ b/sci-libs/levmar/Manifest
@@ -1,5 +1,5 @@
AUX levmar-2.6-demo-underlinking.patch 419 BLAKE2B f9b5f6761a1c29568a86e92793024c3eab4988c9cb4fde157fcc94d59dc0675d4eb3cfaad50528838e3800df543280813a3f8339d2586bf4b6199a82f18e558b SHA512 bed5504603e17dcde3c6fc91031f0d221eec3e8da3a75c930e7a113b04162340d5e83593e7ef3d60e17d2df07caff24356a64b95e8842fcbe5b79c26c1ae2c61
AUX levmar-2.6-shared.patch 425 BLAKE2B f66eb4f1f50a93b201f3c315b30dfd956f546159a7a6de1d8e97ed70fec70526b48c3b6065b3010c199e4fdccf72fde74f7096a8388b04f6973f251d0412c672 SHA512 1544ba8d450f383f556f6f140b7b0c15d128bc0e12071f4cd47ae00068d3c67e82c49c4b7525ef3d9af2e3df805f3c749e460c91de652065e2954d6c1ee76109
DIST levmar-2.6.tgz 81143 BLAKE2B 569bba64797e3cf20a0248167b48dfac4b87b3f238637ae5a970616786faedddc63e35b89c5623ee46239442b50e5f7129958ea0715a7ecb965363c0e2efc216 SHA512 5b4c64b63be9b29d6ad2df435af86cd2c2e3216313378561a670ac6a392a51bbf1951e96c6b1afb77c570f23dd8e194017808e46929fec2d8d9a7fe6cf37022b
-EBUILD levmar-2.6.ebuild 993 BLAKE2B 55af808dc0f35ffcb19b2178ab23029a161ab394f33c0434376b7e5e38c77c135af8da088ef0b4a06b8701283418d1ca343cb18ca60ff64ecd773288ce55ba3f SHA512 8acc867d778775723d8b39e8d69527cbac94f9cb657ebaf28ae0c6d5e88228f24648b7819c67f2ef2718f36db50b18194d3984fa09778e0aedd7aca8ae4be15d
-MISC metadata.xml 765 BLAKE2B c99d768ce005a5feb04a006d677d619ef4bbdfc68f6efaefb9b2ace3be6d3f0499c4c50f7a4380f34ec88e7f2f5aba551f92eb57987fb8e62c878ecb17bb246a SHA512 5aa2314b9c7fd03543d1a4e069bb7f3812237784473b4529d902873131b25338962090ecdb8cd2e9c9d9893486a88acf2febbabd4bc802f7f761ea9b73c9c1c8
+EBUILD levmar-2.6-r1.ebuild 993 BLAKE2B 9ce405201b68dfee51bac28aab33534fbf4e418d5db9eecb9a26b1361e9f77bbee3f172f7682c163e3c444670353c55d41ed201433621cc064a162dc860185dd SHA512 6672ab2e05edba5bfb42ce797725287a4946866a8ad12c4141b7bf141d4d8228d449f488d6ce6b8237f70d0a0f7b8fd214943f52311ca6115b2e8ac431d6f403
+MISC metadata.xml 755 BLAKE2B dac157227f502b9d175cf9ce6795e4cee93bdd137ab0b1f024669bfdf3e61a57e1709fc6ad25198fae02367e38120dc1db65517b9378c5d46522b094f738ff27 SHA512 f164a421bc032838305cff28f3d8d3bb1f3c29f5a588dac9bc926062b8bf7926aaed3b21b724a980a70de0d58b580157101b175e2b533a5bef506097da5a7e22
diff --git a/sci-libs/levmar/levmar-2.6.ebuild b/sci-libs/levmar/levmar-2.6-r1.ebuild
index e2729c65c384..0141944adb95 100644
--- a/sci-libs/levmar/levmar-2.6.ebuild
+++ b/sci-libs/levmar/levmar-2.6-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit cmake-utils eutils toolchain-funcs
+inherit cmake toolchain-funcs
DESCRIPTION="Levenberg-Marquardt nonlinear least squares C library"
HOMEPAGE="https://www.ics.forth.gr/~lourakis/levmar/"
@@ -18,7 +18,7 @@ RESTRICT="!test? ( test )"
RDEPEND="
virtual/blas
virtual/lapack"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
virtual/pkgconfig"
PATCHES=(
@@ -26,23 +26,24 @@ PATCHES=(
"${FILESDIR}"/${P}-demo-underlinking.patch
)
+DOCS=(README.txt)
+
src_configure() {
local mycmakeargs+=(
-DNEED_F2C=OFF
-DHAVE_LAPACK=ON
-DLAPACKBLAS_LIB_NAMES="$($(tc-getPKG_CONFIG) --libs blas lapack)"
- $(cmake-utils_use test BUILD_DEMO)
+ -DBUILD_DEMO=$(usex test)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {
- cd ${CMAKE_BUILD_DIR}
- ./lmdemo || die
+ "${BUILD_DIR}"/lmdemo || die "Tests failed"
}
src_install() {
- dolib.so ${CMAKE_BUILD_DIR}/liblevmar.so
+ dolib.so "${BUILD_DIR}"/liblevmar.so
insinto /usr/include
- doins levmar.h
+ doins "${S}"/levmar.h
}
diff --git a/sci-libs/levmar/metadata.xml b/sci-libs/levmar/metadata.xml
index 114a1bee0b24..6007842dab25 100644
--- a/sci-libs/levmar/metadata.xml
+++ b/sci-libs/levmar/metadata.xml
@@ -8,7 +8,7 @@
<email>3dprint@gentoo.org</email>
<name>Gentoo 3D print</name>
</maintainer>
- <longdescription lang="en">
+ <longdescription>
levmar is a native ANSI C implementation of the Levenberg-Marquardt
optimization algorithm. Both unconstrained and constrained (under
linear equations, inequality and box constraints)