commit:     0cd5fdc08f32654eb843aca9333fd4dae1d0b304
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Tue Feb 11 11:18:59 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 15:10:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cd5fdc0

sci-physics/yoda: unbundled libs

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/40528
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 sci-physics/yoda/yoda-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sci-physics/yoda/yoda-9999.ebuild 
b/sci-physics/yoda/yoda-9999.ebuild
index 983694bc2c2d..949e13b94b55 100644
--- a/sci-physics/yoda/yoda-9999.ebuild
+++ b/sci-physics/yoda/yoda-9999.ebuild
@@ -13,6 +13,7 @@ HOMEPAGE="https://yoda.hepforge.org/";
 if [[ ${PV} == 9999 ]]; then
        inherit git-r3
        EGIT_REPO_URI="https://gitlab.com/hepcedar/yoda";
+       EGIT_BRANCH="main"
 else
        SRC_URI="https://yoda.hepforge.org/downloads?f=${P^^}.tar.bz2 -> 
${P^^}.tar.bz2"
        S="${WORKDIR}/${P^^}"
@@ -26,6 +27,8 @@ RESTRICT="!test? ( test )"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) root? ( python )"
 
 RDEPEND="
+       dev-cpp/yaml-cpp
+       dev-libs/tinyxml
        root? ( sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] )
        python? ( ${PYTHON_DEPS} )
        zlib? ( sys-libs/zlib )
@@ -58,6 +61,8 @@ src_prepare() {
 src_configure() {
        # we need to use the prefix cython here
        econf --disable-static \
+               --with-yaml-cpp="${EPREFIX}/usr" \
+               --with-tinyxml="${EPREFIX}/usr" \
                $(use_enable root) \
                $(use_enable python pyext) \
                $(use_with zlib zlib "${ESYSROOT}/usr") \

Reply via email to