summaryrefslogtreecommitdiff
path: root/media-libs/partio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-07 06:41:06 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-07 06:41:06 +0000
commitd69399c7befdd98cda62d6a1788ae2aa7f104c5e (patch)
treeeac7184f4cfe7d67580c1d0a0d9942a91e6cb4ee /media-libs/partio
parente4d9d6796d5018e338f0b27a3bc97716195bf0b8 (diff)
gentoo auto-resync : 07:01:2025 - 06:41:06
Diffstat (limited to 'media-libs/partio')
-rw-r--r--media-libs/partio/Manifest4
-rw-r--r--media-libs/partio/partio-1.17.3.ebuild (renamed from media-libs/partio/partio-1.14.6.ebuild)39
2 files changed, 34 insertions, 9 deletions
diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest
index 435dfd952573..6fd100f8d289 100644
--- a/media-libs/partio/Manifest
+++ b/media-libs/partio/Manifest
@@ -1,5 +1,5 @@
-DIST partio-1.14.6.tar.gz 336527 BLAKE2B 60c9c6ad9d5a7b58967e7633180d4f8d399bd129cc7b76fc4329b3d191ce0d381df7f977d5ec11ccedbdbcd8afa0fde2f946960f08a242338c2f674b4c94343e SHA512 5479d00b3124e8e06abbc65b1cdc01cdac37b9207c0615029e488baa0835e4ad545be2fb07dda5b4541dd846115059aaca5950ff904bddec6bb1fd72180ebcc0
DIST partio-1.17.1.tar.gz 338461 BLAKE2B 6c08d5b74db34ce114206ab92332e42e827d537d83e65597ba777344e1b9dc69f9b57153f716e87df6955b9898cedcd7e6da353db111463d7c8bd47f648cca6a SHA512 5dbbd988c76a26ac6f3024e29ed12f37f7995daf211e065b9ffaf185c6203be7d9de48bd62b5955d2f5444af72fb3306ea5a0f3501cb0a49a26f157bb09ec6bc
-EBUILD partio-1.14.6.ebuild 1002 BLAKE2B c040a28986216592d5fd933ce503e08872a02e6018d4f1c37e2f339dc936e191882dceb576690bb993770935e16511190d3e8bc2100bd7f6ecfd4bece7459cc7 SHA512 0ac5b3c02c427b6003cc416e342cd8d06388fee39b7e23f5b4024a443b647d3a8e6f835591450954531b5fa896d107cf5774ac20d737c6e1a2467723db2629fb
+DIST partio-1.17.3.tar.gz 338044 BLAKE2B 5842c5e1ee728d5e3ea77258293b1cd0a72147ac1229e2156741cfe9a55971e2dd30d2b8e239b0a3cde8e055f564d98cd7c29cf649d33eb9f1891158ba69c1c7 SHA512 b110d29b9d4226c773adf8b98f0bcb78a877d5bf944b09500d81d2810dc2e4cc1386cbe29aa724fc256c00f6df34e171a091b2ddc60aedc9fa2576eb00a3fefa
EBUILD partio-1.17.1.ebuild 1004 BLAKE2B d87febed2e75c8d55a4aa81809a5097974256c9620ddf52df9b7e2a6b6f299518dfdd3fb250290003bf8ccd45c8b66a35404687096dcf378b07e1d6f48082727 SHA512 bc6c9386e50ecd86e61fa1df3bdee805785722e73de3905642705000abe99ce686dbf491e48bcfd21560b25d3d4d59785c73c802276e07438dd0852e6869b05a
+EBUILD partio-1.17.3.ebuild 1482 BLAKE2B 7501fcbf44d9da5bc1ac93c5f45c1a4b270f7810037b63a73afd260cbd76692a3a3074b0f052420bf82806e9777d7ee323ce5bcc0f27f861367d9852d20bd1e5 SHA512 2fe1cb94144de6db598f69861440669e757f2ecd83e3b7f070c9cd78ee1d4bb43e74d30b3930376d1222b6b566d840902ccf62fadd27d9725f2e783eb60ed1df
MISC metadata.xml 477 BLAKE2B db04e4cf381caad226dc2d4ff99870ff9628b29b4bab50eed56a9d51ddbfcfc3b9c45858f5ef011c49c0a5994c48f8af72e5857f8c9a818ba0a8ed89efc5a80d SHA512 f7c292f403330a235b7c477ed8ac7f3e200cc4cbd76ebb95ad2f9dce35cc8fef0c0bd67500a9ad81045f6322e01520d524eaa12ef09c0fa7e495666d4b44cdb3
diff --git a/media-libs/partio/partio-1.14.6.ebuild b/media-libs/partio/partio-1.17.3.ebuild
index 1f7714410e59..49cd9a61e83f 100644
--- a/media-libs/partio/partio-1.14.6.ebuild
+++ b/media-libs/partio/partio-1.17.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-single-r1
if [[ ${PV} == *9999 ]]; then
@@ -11,15 +11,17 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/wdas/partio.git"
else
SRC_URI="https://github.com/wdas/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
fi
DESCRIPTION="Library for particle IO and manipulation"
-HOMEPAGE="http://partio.us/"
+HOMEPAGE="https://partio.us/"
LICENSE="BSD"
SLOT="0"
-IUSE="doc"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
@@ -29,7 +31,11 @@ RDEPEND="${PYTHON_DEPS}
virtual/opengl
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? (
+ dev-cpp/gtest
+ )
+"
BDEPEND="
dev-lang/swig
@@ -45,7 +51,26 @@ BDEPEND="
src_configure() {
local mycmakeargs=(
- $(cmake_use_find_package doc Doxygen)
+ "$(cmake_use_find_package doc Doxygen)"
+
+ -DPARTIO_GTEST_ENABLED="$(usex test)" # "Enable GTest for tests"
+ -DPARTIO_ORIGIN_RPATH="no" # "Enable ORIGIN rpath in the installed libraries"
+
+ -DPARTIO_USE_GLVND="yes" # "Use GLVND for OpenGL"
+ -DPARTIO_BUILD_SHARED_LIBS="yes" # "Enabled shared libraries"
+
+ -DWDAS_CXX_STANDARD=17
)
+
cmake_src_configure
}
+
+src_test() {
+ CMAKE_SKIP_TESTS=(
+ # fail on import partjson, partio
+ testpartjson
+ testpartio
+ )
+
+ cmake_src_test
+}