From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/lib3mf/
Date: Sun, 05 Jan 2025 20:35:21 +0000 (UTC) [thread overview]
Message-ID: <1736109206.f52e387ec3243c44746f2f7bc646c700c86c55b9.sam@gentoo> (raw)
commit: f52e387ec3243c44746f2f7bc646c700c86c55b9
Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Tue Dec 17 12:55:39 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 5 20:33:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52e387e
media-libs/lib3mf: add 2.3.2
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-libs/lib3mf/Manifest | 1 +
media-libs/lib3mf/lib3mf-2.3.2.ebuild | 76 +++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/media-libs/lib3mf/Manifest b/media-libs/lib3mf/Manifest
index be0a6fe8db35..637d297e7cfb 100644
--- a/media-libs/lib3mf/Manifest
+++ b/media-libs/lib3mf/Manifest
@@ -1 +1,2 @@
DIST lib3mf-2.2.0.tar.gz 16439833 BLAKE2B c98f57ea99f90625f2bfbdbcde9df8dbd8aeccc655e1bd9be165c24b2d9fb74471e4b01c816d8f665e5793db77c7bcf52016f030ec1947f908d6647e9ad12745 SHA512 2a9ee92312396b8966967a7ed696c58c69a77438f94432ad071659adc8c9d12fba34a3cf3d8c8d3ad3b26c12c9a89f4d8645e6f396987dc05b04952b004a1f07
+DIST lib3mf-2.3.2.tar.gz 35247937 BLAKE2B 8e20e44d715a2942dea8b3d08cb18593162bfd12b9f09b82b182e901f6beb76e2c88d83860c39cdd4e4c239e18f6949e9f9fd5921bc8a9d257975c54a8777e26 SHA512 875529759aff6128b32291d0719b95a75a72a3b19f98711b12c9b1076727b231668b3b14604e69bb1fec79b4725fd098f030b7e965072e566bfb061f3086279c
diff --git a/media-libs/lib3mf/lib3mf-2.3.2.ebuild b/media-libs/lib3mf/lib3mf-2.3.2.ebuild
new file mode 100644
index 000000000000..2bd7621d2d20
--- /dev/null
+++ b/media-libs/lib3mf/lib3mf-2.3.2.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Implementation of the 3D Manufacturing Format file standard"
+HOMEPAGE="https://3mf.io/ https://github.com/3MFConsortium/lib3mf"
+SRC_URI="https://github.com/3MFConsortium/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/2"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE="+system-act test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/libzip:=
+ sys-apps/util-linux
+ sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ system-act? ( dev-go/act )
+ test? (
+ dev-cpp/gtest
+ dev-libs/openssl
+ dev-debug/valgrind
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.1.0-0001-Gentoo-specific-avoid-pre-stripping-library.patch
+ "${FILESDIR}"/${P}-0001-use-system-provided-act-binary.patch
+ "${FILESDIR}"/${P}-0002-Gentoo-specific-remove-add_dependencies.patch
+ "${FILESDIR}"/${P}-0001-remove-std-and-opt-flags.patch
+ "${FILESDIR}"/${P}-include-cstdint.patch
+)
+
+src_prepare() {
+ cmake_src_prepare
+
+ rm -r Include/Libraries/{libzip,zlib} || die
+ ln -s "${EPREFIX}/usr/include" Include/Libraries/zlib || die
+ ln -s "${EPREFIX}/usr/include" Include/Libraries/libzip || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_INCLUDEDIR="include/${PN}"
+ -DLIB3MF_TESTS=$(usex test)
+ -DUSE_INCLUDED_LIBZIP=OFF
+ -DUSE_INCLUDED_ZLIB=OFF
+ -DUSE_SYSTEM_ACT=$(usex system-act)
+ )
+
+ if use test; then
+ mycmakeargs+=(
+ -DUSE_INCLUDED_GTEST=OFF
+ # code says it uses libressl, but works with openssl too
+ -DUSE_INCLUDED_SSL=OFF
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ for suf in abi types implicit; do
+ dosym -r /usr/include/${PN}/Bindings/Cpp/${PN}_${suf}.hpp /usr/include/${PN}/${PN}_${suf}.hpp
+ done
+}
next reply other threads:[~2025-01-05 20:35 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 20:35 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-12 19:25 [gentoo-commits] repo/gentoo:master commit in: media-libs/lib3mf/ Arthur Zamarin
2025-02-12 19:25 Arthur Zamarin
2024-11-25 15:44 Sam James
2023-12-03 5:45 Arthur Zamarin
2021-12-06 11:31 Agostino Sarubbo
2021-12-05 22:04 Sam James
2021-04-27 23:53 Sam James
2021-04-27 18:02 Sam James
2021-04-27 18:01 Sam James
2021-04-10 4:24 Sam James
2021-03-14 8:41 Joonas Niilola
2021-03-14 8:41 Joonas Niilola
2021-03-14 8:41 Joonas Niilola
2021-02-07 17:07 Conrad Kostecki
2020-12-28 2:21 Jonas Stein
2020-11-20 14:59 Joonas Niilola
2020-11-20 14:59 Joonas Niilola
2020-08-25 10:25 Sam James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736109206.f52e387ec3243c44746f2f7bc646c700c86c55b9.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox