public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/poselib/
@ 2025-06-26 13:48 Mårten Wadenbäck
  0 siblings, 0 replies; 4+ messages in thread
From: Mårten Wadenbäck @ 2025-06-26 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     95582a7e42a981e8560a4fcdc28cf197b3e8ffd6
Author:     Mårten Wadenbäck <marten <AT> wadenback <DOT> se>
AuthorDate: Thu Jun 26 13:48:10 2025 +0000
Commit:     Mårten Wadenbäck <spamfilter-1 <AT> wadenback <DOT> se>
CommitDate: Thu Jun 26 13:48:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95582a7e

sci-libs/poselib: new package, add 2.0.4

Signed-off-by: Mårten Wadenbäck <marten <AT> wadenback.se>

 sci-libs/poselib/Manifest             |  1 +
 sci-libs/poselib/metadata.xml         | 14 ++++++++++++
 sci-libs/poselib/poselib-2.0.4.ebuild | 41 +++++++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/sci-libs/poselib/Manifest b/sci-libs/poselib/Manifest
new file mode 100644
index 0000000000..a4ddb0a451
--- /dev/null
+++ b/sci-libs/poselib/Manifest
@@ -0,0 +1 @@
+DIST poselib-2.0.4.tar.gz 198206 BLAKE2B 483af5c2d4c825cb8d49e5f98df9a679de0e52f7e43fb0b87ae0f26f0b4f4373cbe0e252d68df0fcf4071b5384e80f45e2d28f48562250ca006caa5b92933601 SHA512 adc43c4f0fd8544d2c7ef05538696a8ae614837f5e90c31b8b9c8f4b5a11eb773229c22444e01482de697a0f5b3137d4a63a24ba9fcc72b366a347252d3c16b1

diff --git a/sci-libs/poselib/metadata.xml b/sci-libs/poselib/metadata.xml
new file mode 100644
index 0000000000..937b0f8c6e
--- /dev/null
+++ b/sci-libs/poselib/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>spamfilter-1@wadenback.se</email>
+    <name>Mårten Wadenbäck</name>
+  </maintainer>
+  <use>
+    <flag name="benchmark">Build the benchmark binary.</flag>
+  </use>
+  <upstream>
+    <remote-id type="github">PoseLib/PoseLib</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/sci-libs/poselib/poselib-2.0.4.ebuild b/sci-libs/poselib/poselib-2.0.4.ebuild
new file mode 100644
index 0000000000..f746e2dbd1
--- /dev/null
+++ b/sci-libs/poselib/poselib-2.0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MY_PN="PoseLib"
+
+DESCRIPTION="Minimal solvers for calibrated camera pose estimation "
+HOMEPAGE="https://github.com/PoseLib/PoseLib"
+SRC_URI="https://github.com/PoseLib/PoseLib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="benchmark"
+
+BDEPEND="dev-build/cmake"
+DEPEND="dev-cpp/eigen"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_SKIP_RPATH=ON
+		-DWITH_BENCHMARK=$(usex benchmark)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	if use benchmark; then
+		# As "benchmark" is a too generic name, let's make it more specific.
+		mv "${D}/usr/bin/benchmark" "${D}/usr/bin/poselib-benchmark" \
+			|| die "Failed to rename benchmark binary"
+	fi
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/poselib/
@ 2025-06-26 14:31 Mårten Wadenbäck
  0 siblings, 0 replies; 4+ messages in thread
From: Mårten Wadenbäck @ 2025-06-26 14:31 UTC (permalink / raw
  To: gentoo-commits

commit:     ae13891e0816df646c609172cbe43ad38093559d
Author:     Mårten Wadenbäck <marten <AT> wadenback <DOT> se>
AuthorDate: Thu Jun 26 14:30:52 2025 +0000
Commit:     Mårten Wadenbäck <spamfilter-1 <AT> wadenback <DOT> se>
CommitDate: Thu Jun 26 14:30:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae13891e

sci-libs/poselib: update maintainers

Signed-off-by: Mårten Wadenbäck <marten <AT> wadenback.se>

 sci-libs/poselib/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/poselib/metadata.xml b/sci-libs/poselib/metadata.xml
index 937b0f8c6e..f8a8c11275 100644
--- a/sci-libs/poselib/metadata.xml
+++ b/sci-libs/poselib/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
-    <email>spamfilter-1@wadenback.se</email>
+    <email>spam-to-marten@wadenback.se</email>
     <name>Mårten Wadenbäck</name>
   </maintainer>
   <use>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/poselib/
@ 2025-06-26 15:51 Mårten Wadenbäck
  0 siblings, 0 replies; 4+ messages in thread
From: Mårten Wadenbäck @ 2025-06-26 15:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b4f70e8200543f933d47b9477f0cbbbe60e783a7
Author:     Mårten Wadenbäck <marten <AT> wadenback <DOT> se>
AuthorDate: Thu Jun 26 15:51:11 2025 +0000
Commit:     Mårten Wadenbäck <spamfilter-1 <AT> wadenback <DOT> se>
CommitDate: Thu Jun 26 15:51:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4f70e82

sci-libs/poselib: update DESCRIPTION

Signed-off-by: Mårten Wadenbäck <marten <AT> wadenback.se>

 sci-libs/poselib/poselib-2.0.4.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-libs/poselib/poselib-2.0.4.ebuild b/sci-libs/poselib/poselib-2.0.4.ebuild
index f746e2dbd1..b522937f0e 100644
--- a/sci-libs/poselib/poselib-2.0.4.ebuild
+++ b/sci-libs/poselib/poselib-2.0.4.ebuild
@@ -7,7 +7,7 @@ inherit cmake
 
 MY_PN="PoseLib"
 
-DESCRIPTION="Minimal solvers for calibrated camera pose estimation "
+DESCRIPTION="Minimal solvers for calibrated camera pose estimation"
 HOMEPAGE="https://github.com/PoseLib/PoseLib"
 SRC_URI="https://github.com/PoseLib/PoseLib/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
@@ -19,7 +19,6 @@ KEYWORDS="~amd64 ~x86"
 
 IUSE="benchmark"
 
-BDEPEND="dev-build/cmake"
 DEPEND="dev-cpp/eigen"
 RDEPEND="${DEPEND}"
 
@@ -35,7 +34,7 @@ src_install() {
 	cmake_src_install
 	if use benchmark; then
 		# As "benchmark" is a too generic name, let's make it more specific.
-		mv "${D}/usr/bin/benchmark" "${D}/usr/bin/poselib-benchmark" \
+		mv "${ED}/usr/bin/benchmark" "${D}/usr/bin/poselib-benchmark" \
 			|| die "Failed to rename benchmark binary"
 	fi
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/poselib/
@ 2025-06-26 15:56 Mårten Wadenbäck
  0 siblings, 0 replies; 4+ messages in thread
From: Mårten Wadenbäck @ 2025-06-26 15:56 UTC (permalink / raw
  To: gentoo-commits

commit:     0b0008a384b300a53a39e2e49e528f65c414aabf
Author:     Mårten Wadenbäck <marten <AT> wadenback <DOT> se>
AuthorDate: Thu Jun 26 15:55:15 2025 +0000
Commit:     Mårten Wadenbäck <spamfilter-1 <AT> wadenback <DOT> se>
CommitDate: Thu Jun 26 15:55:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b0008a3

sci-libs/poselib: Fixed prefix support

Signed-off-by: Mårten Wadenbäck <marten <AT> wadenback.se>

 sci-libs/poselib/poselib-2.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/poselib/poselib-2.0.4.ebuild b/sci-libs/poselib/poselib-2.0.4.ebuild
index b522937f0e..e4cd199d51 100644
--- a/sci-libs/poselib/poselib-2.0.4.ebuild
+++ b/sci-libs/poselib/poselib-2.0.4.ebuild
@@ -34,7 +34,7 @@ src_install() {
 	cmake_src_install
 	if use benchmark; then
 		# As "benchmark" is a too generic name, let's make it more specific.
-		mv "${ED}/usr/bin/benchmark" "${D}/usr/bin/poselib-benchmark" \
+		mv "${ED}/usr/bin/benchmark" "${ED}/usr/bin/${PN}-benchmark" \
 			|| die "Failed to rename benchmark binary"
 	fi
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-26 15:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-26 15:51 [gentoo-commits] repo/proj/guru:dev commit in: sci-libs/poselib/ Mårten Wadenbäck
  -- strict thread matches above, loose matches on Subject: below --
2025-06-26 15:56 Mårten Wadenbäck
2025-06-26 14:31 Mårten Wadenbäck
2025-06-26 13:48 Mårten Wadenbäck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox