From fbbf0ee3d56a6fd27adf182c6907dc745623aeaa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Aug 2024 11:05:14 +0100 Subject: gentoo auto-resync : 10:08:2024 - 11:05:14 --- sci-libs/ViSP/Manifest | 2 +- sci-libs/ViSP/ViSP-3.5.0-r1.ebuild | 115 +++++++++++++++++++++++++++++++++++++ sci-libs/ViSP/ViSP-3.5.0.ebuild | 111 ----------------------------------- 3 files changed, 116 insertions(+), 112 deletions(-) create mode 100644 sci-libs/ViSP/ViSP-3.5.0-r1.ebuild delete mode 100644 sci-libs/ViSP/ViSP-3.5.0.ebuild (limited to 'sci-libs/ViSP') diff --git a/sci-libs/ViSP/Manifest b/sci-libs/ViSP/Manifest index d72cc9b2d475..e57bd4f5ff84 100644 --- a/sci-libs/ViSP/Manifest +++ b/sci-libs/ViSP/Manifest @@ -1,5 +1,5 @@ AUX ViSP-3.0.1-opencv.patch 403 BLAKE2B 0bc3da5cd6e73cdd47dac7b525f4f3fbe6e683aa79f9185a3e92cecaf36fdc30c018fe93d1e9f7ac69890b7807e16663e21e65025184b950a8f384c1ec2748d8 SHA512 3a6a84ac6ad2bce4fdf7228b4a296589239c2b4b019b3ad8e4654af71b00eca6102444f38c32604013ec62d60d067deb2902ea8cffffff6d97e0762602a013f4 AUX ViSP-3.2.0-ocv.patch 1065 BLAKE2B 830cecf11df2d9c5c909ab5e2b5e7430e953355feeea77e40b77d53f24d2f1799a529c8dfda061ca6a276a1e150d10fee475f63e798511ce0296e8fde1fd75a8 SHA512 35fbb672da815fd404bd483800bf3f27b4f62d41b1173b10292a964d23129f4ec8afd530f8de913500214633a425a1a7567341b6da317b9e74720cf9414f3eff DIST visp-3.5.0.tar.gz 52005297 BLAKE2B a429c07c8d80e8790bdd72bf27b777c79784173cc8be2539656c1cfbc111e35b3f80207a866fe3aaca536033af9e9d5006bf7e10a56cef5655aa9615a674c5ac SHA512 5a968a78c8ed2c48da71fa3def482b84fd73961f012e82ea1d7dd9b7b14336be5596ac9fc1bdf16414793d2399431bbc4306710d31b62946e6b2c03f692751b8 -EBUILD ViSP-3.5.0.ebuild 2879 BLAKE2B 5c9eb22ec47648131fa455005669eb4ed1358effa398b33c73a88b48fca7f7fb2f5638e4a89518480d49f552a0fb43d777899a1fb8832f768fd4a1dff95b4d87 SHA512 ee6ae9e188f1f7fa60cef6048da6eeff7c70b931cba47fbbe49068c7dbbccdc0d5dfc4c3cfabc593d950ded8ca5e6ec531798ed5f09095954fa180f4c2ea5a57 +EBUILD ViSP-3.5.0-r1.ebuild 2972 BLAKE2B 58cf789eac70ba221b6c9acdec74278aebd12eb3e78be19d0961f17a8e09d63539644123bdfe7efed46cb835574e2fe00bbb18857e70c321a6bccad3f07bf2e4 SHA512 8ae7dfda52eaa227185382e5a0808c19a7334ff18a11eb3ef3cadadf583d6c9853c71cf87a03d228268864b97947e161c423bb286f59f72403515fe44b4b1aca MISC metadata.xml 1384 BLAKE2B 5146b30499cd534556ef2b6f9048535296f38e5ae2dd2dca9670799de61cf666b74ec2ed602a35c56df839317221200129ef71fcf6c6026fe7d74a14ac70dd9c SHA512 4dbd648e138eea6bdb7a97d2eb32f1df909afa7a4922b4ffff356e511a4d73fa0095b65c3b70100c81436b1f9636f9190fedc98ced52c13db0f1d86ca86d9f66 diff --git a/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild b/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild new file mode 100644 index 000000000000..a8833954122d --- /dev/null +++ b/sci-libs/ViSP/ViSP-3.5.0-r1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Visual Servoing Platform: visual tracking and visual servoing library" +HOMEPAGE="https://visp.inria.fr/" +SRC_URI="https://visp-doc.inria.fr/download/releases/visp-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/3.5" +KEYWORDS="~amd64 ~arm" +IUSE=" + +coin demos +dmtx doc examples gsl ieee1394 jpeg motif ogre + opencv pcl png test tutorials usb v4l X xml +zbar zlib + cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 +" +REQUIRED_USE="motif? ( coin )" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + virtual/lapack + coin? ( + >=media-libs/coin-4 + virtual/opengl + ) + dmtx? ( media-libs/libdmtx ) + gsl? ( sci-libs/gsl:= ) + ieee1394? ( media-libs/libdc1394:2= ) + jpeg? ( virtual/jpeg:0 ) + motif? ( media-libs/SoXt ) + ogre? ( + dev-games/ogre[ois(+)] + dev-libs/boost:= + ) + opencv? ( media-libs/opencv:=[contribdnn(+)] ) + pcl? ( sci-libs/pcl:= ) + png? ( media-libs/libpng:0= ) + usb? ( virtual/libusb:1 ) + v4l? ( media-libs/libv4l ) + X? ( x11-libs/libX11 ) + xml? ( dev-libs/libxml2 ) + zbar? ( media-gfx/zbar ) + zlib? ( sys-libs/zlib )" +DEPEND="${COMMON_DEPEND} + v4l? ( virtual/os-headers )" +RDEPEND="${COMMON_DEPEND} + demos? ( sci-misc/ViSP-images )" +BDEPEND=" + virtual/pkgconfig + test? ( sci-misc/ViSP-images ) + doc? ( + app-text/doxygen + media-gfx/graphviz + virtual/latex-base + )" + +S="${WORKDIR}/visp-${PV}" + +PATCHES=( + "${FILESDIR}/${PN}-3.2.0-ocv.patch" + "${FILESDIR}/${PN}-3.0.1-opencv.patch" +) + +src_configure() { + local mycmakeargs=( + "-DBUILD_JAVA=OFF" + "-DBUILD_EXAMPLES=$(usex examples ON OFF)" + "-DBUILD_TESTS=$(usex test ON OFF)" + "-DBUILD_DEMOS=$(usex demos ON OFF)" + "-DBUILD_TUTORIALS=$(usex tutorials ON OFF)" + "-DUSE_COIN3D=$(usex coin ON OFF)" + "-DUSE_DC1394=$(usex ieee1394 ON OFF)" + "-DUSE_DMTX=$(usex dmtx ON OFF)" + "-DUSE_GSL=$(usex gsl ON OFF)" + "-DUSE_JPEG=$(usex jpeg ON OFF)" + "-DUSE_PNG=$(usex png ON OFF)" + "-DUSE_LAPACK=ON" + # disable using the builtin copy + "-DWITH_LAPACK=OFF" + "-DUSE_LIBUSB_1=$(usex usb ON OFF)" + "-DUSE_OGRE=$(usex ogre ON OFF)" + "-DUSE_OIS=$(usex ogre ON OFF)" + "-DUSE_OPENCV=$(usex opencv ON OFF)" + "-DUSE_PCL=$(usex pcl ON OFF)" + "-DUSE_SOQT=OFF" + "-DUSE_SOXT=$(usex motif ON OFF)" + "-DUSE_V4L2=$(usex v4l ON OFF)" + "-DUSE_X11=$(usex X ON OFF)" + "-DUSE_XML2=$(usex xml ON OFF)" + "-DUSE_ZBAR=$(usex zbar ON OFF)" + "-DUSE_ZLIB=$(usex zlib ON OFF)" + "-DCOIN3D_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/Coin4" + "-DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" + "-DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)" + "-DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)" + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + use doc && cmake_src_compile visp_doc +} + +src_install() { + use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) + cmake_src_install + if use tutorials ; then + dodoc -r tutorial + docompress -x /usr/share/doc/${PF}/tutorial + fi +} diff --git a/sci-libs/ViSP/ViSP-3.5.0.ebuild b/sci-libs/ViSP/ViSP-3.5.0.ebuild deleted file mode 100644 index 5a7052834f6b..000000000000 --- a/sci-libs/ViSP/ViSP-3.5.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Visual Servoing Platform: visual tracking and visual servoing library" -HOMEPAGE="https://visp.inria.fr/" -SRC_URI="https://visp-doc.inria.fr/download/releases/visp-${PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/3.5" -KEYWORDS="~amd64 ~arm" -IUSE=" - +coin demos +dmtx doc examples gsl ieee1394 jpeg motif ogre - opencv pcl png test tutorials usb v4l X xml +zbar zlib - cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 -" -REQUIRED_USE="motif? ( coin )" -RESTRICT="!test? ( test )" - -COMMON_DEPEND=" - coin? ( - >=media-libs/coin-4 - virtual/opengl - ) - dmtx? ( media-libs/libdmtx ) - gsl? ( sci-libs/gsl:= ) - ieee1394? ( media-libs/libdc1394:2= ) - jpeg? ( virtual/jpeg:0 ) - motif? ( media-libs/SoXt ) - ogre? ( - dev-games/ogre[ois(+)] - dev-libs/boost:= - ) - opencv? ( media-libs/opencv:=[contribdnn(+)] ) - pcl? ( sci-libs/pcl:= ) - png? ( media-libs/libpng:0= ) - usb? ( virtual/libusb:1 ) - v4l? ( media-libs/libv4l ) - X? ( x11-libs/libX11 ) - xml? ( dev-libs/libxml2 ) - zbar? ( media-gfx/zbar ) - zlib? ( sys-libs/zlib )" -DEPEND="${COMMON_DEPEND} - v4l? ( virtual/os-headers )" -RDEPEND="${COMMON_DEPEND} - demos? ( sci-misc/ViSP-images )" -BDEPEND=" - virtual/pkgconfig - test? ( sci-misc/ViSP-images ) - doc? ( - app-text/doxygen - media-gfx/graphviz - virtual/latex-base - )" - -S="${WORKDIR}/visp-${PV}" - -PATCHES=( - "${FILESDIR}/${PN}-3.2.0-ocv.patch" - "${FILESDIR}/${PN}-3.0.1-opencv.patch" -) - -src_configure() { - local mycmakeargs=( - "-DBUILD_JAVA=OFF" - "-DBUILD_EXAMPLES=$(usex examples ON OFF)" - "-DBUILD_TESTS=$(usex test ON OFF)" - "-DBUILD_DEMOS=$(usex demos ON OFF)" - "-DBUILD_TUTORIALS=$(usex tutorials ON OFF)" - "-DUSE_COIN3D=$(usex coin ON OFF)" - "-DUSE_DC1394=$(usex ieee1394 ON OFF)" - "-DUSE_DMTX=$(usex dmtx ON OFF)" - "-DUSE_GSL=$(usex gsl ON OFF)" - "-DUSE_JPEG=$(usex jpeg ON OFF)" - "-DUSE_PNG=$(usex png ON OFF)" - "-DUSE_LIBUSB_1=$(usex usb ON OFF)" - "-DUSE_OGRE=$(usex ogre ON OFF)" - "-DUSE_OIS=$(usex ogre ON OFF)" - "-DUSE_OPENCV=$(usex opencv ON OFF)" - "-DUSE_PCL=$(usex pcl ON OFF)" - "-DUSE_SOQT=OFF" - "-DUSE_SOXT=$(usex motif ON OFF)" - "-DUSE_V4L2=$(usex v4l ON OFF)" - "-DUSE_X11=$(usex X ON OFF)" - "-DUSE_XML2=$(usex xml ON OFF)" - "-DUSE_ZBAR=$(usex zbar ON OFF)" - "-DUSE_ZLIB=$(usex zlib ON OFF)" - "-DCOIN3D_INCLUDE_DIR=${EPREFIX:-${SYSROOT}}/usr/include/Coin4" - "-DENABLE_SSE2=$(usex cpu_flags_x86_sse2 ON OFF)" - "-DENABLE_SSE3=$(usex cpu_flags_x86_sse3 ON OFF)" - "-DENABLE_SSSE3=$(usex cpu_flags_x86_ssse3 ON OFF)" - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - use doc && cmake_src_compile visp_doc -} - -src_install() { - use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) - cmake_src_install - if use tutorials ; then - dodoc -r tutorial - docompress -x /usr/share/doc/${PF}/tutorial - fi -} -- cgit v1.2.3