From f977dfa36a5f0b62d1a5df551b1875ce283bfcdb Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 22 Sep 2026 03:46:38 +0000 Subject: automatic import of libopen3d-dev --- libopen3d-dev.spec | 13 +++++++++++-- sources | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/libopen3d-dev.spec b/libopen3d-dev.spec index db3a367..a4d614d 100644 --- a/libopen3d-dev.spec +++ b/libopen3d-dev.spec @@ -33,6 +33,7 @@ Group: Development/Libraries Packager: openEuler Builder BuildRequires: cmake +BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: pkgconfig @@ -146,10 +147,18 @@ sed -i 's#-DGLFW_BUILD_DOCS=OFF#-DGLFW_BUILD_DOCS=OFF\n -DGLFW_BUILD_WAYL -DUSE_SYSTEM_EMBREE=OFF \ -DUSE_SYSTEM_VTK=OFF \ -DBUILD_VTK_FROM_SOURCE=ON -%cmake_build + +# openEuler's cmake configure macro configures IN-SOURCE: it does not pass +# -S/-B, so the cache lands in the unpacked source directory +# (BUILD/libopen3d-dev-0.19.0). The cmake_build / cmake_install macros from +# the same macro set, however, always use the out-of-source vpath directory +# (the _vpath_builddir value, i.e. aarch64-openEuler-linux-gnu), which the +# configure step never created -- hence "is not a directory". Drive the +# already-configured in-source tree explicitly instead. +%{__cmake} --build . %{?_smp_mflags} --verbose %install -%cmake_install +DESTDIR=%{buildroot} %{__cmake} --install . %files %license LICENSE diff --git a/sources b/sources index 8f0eeb3..eab0f76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4cc0b359b232c85bfb6a4ca7fcee7a57 libopen3d-dev-0.19.0.tar.gz +e2d57391ed4d98afe2112d33bceca54e libopen3d-dev-0.19.0.tar.gz -- cgit v1.2.3