From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- media-libs/partio/Manifest | 4 ++ .../files/partio-1.1.0-Rename-partconv.patch | 65 ++++++++++++++++++++++ media-libs/partio/metadata.xml | 22 ++++++++ media-libs/partio/partio-1.1.0_p20170829.ebuild | 47 ++++++++++++++++ 4 files changed, 138 insertions(+) create mode 100644 media-libs/partio/Manifest create mode 100644 media-libs/partio/files/partio-1.1.0-Rename-partconv.patch create mode 100644 media-libs/partio/metadata.xml create mode 100644 media-libs/partio/partio-1.1.0_p20170829.ebuild (limited to 'media-libs/partio') diff --git a/media-libs/partio/Manifest b/media-libs/partio/Manifest new file mode 100644 index 000000000000..3baedc73de69 --- /dev/null +++ b/media-libs/partio/Manifest @@ -0,0 +1,4 @@ +AUX partio-1.1.0-Rename-partconv.patch 2459 SHA256 033734d2b88152b5473157c3e4a60900c59113e4154ac3c94b9d3d769393ade5 SHA512 1965a236f43092c05c940c0f2b33d9c77066ed5fbf3b1753bcf5d9b13c8e5a6e60ef41ba13c9471d1d26d1dc74fead52d0ef1c18f04b1f942345fd1412b0c932 WHIRLPOOL c3906101181e514afc1bd74fd6eff496250699952eb8d127a99b18d2a9dac83bcc9dae8562d0e63e49435afcee75b0035a9031f9e9df87420b353ac6473144c8 +DIST partio-1.1.0_p20170829.tar.gz 275959 SHA256 b3d426c4869d3dddd6a43c9b0f4a7d4ea79abedfbe223a8c1f1122cbfbbdbdae SHA512 daedb23ae2b89d3f2ef36ef13afc624a663b3fab91c22f9a454439ff3bc194b78a87e37c9133f6948567ab3b183eff960bb51951b0427cff8c1c29099b6578d6 WHIRLPOOL b6a55111025615901d12b49753b84ada896ea7835f3adaaa3ba83873b2d0a681479bde6d321a7ea0fad60a0e6d7f6c55795b9d5a1352ffe91edea5c5e92e51a4 +EBUILD partio-1.1.0_p20170829.ebuild 1061 SHA256 22d1a7312c2b3ad40d35079b42fb11d7ee34e7e266a3e1feddc1cfe618dd1307 SHA512 92dafb90ef000211544c9ed8e12282814be2a859ab92cc41df78204b3320fec5c0f60b5eca7cb5dd053c6c83aeedfd7d01eaaf7fbcdb09f276fc9775f7b06149 WHIRLPOOL 536c6c6f75ac1cb200a3079d555febc418f155a570cc6fb11c92d39a128c255d62456e0d06e7511fa823b2a5ca9de61adba325a45f20b67a9693c70abb866a81 +MISC metadata.xml 640 SHA256 94c580f7b4ebe98b3d670714e411497b8a944fc95a724058d62a582b278f3f98 SHA512 a865d1f0ad5b7f95e8a8be112b08de5972e66f49a43ed9904a9f9e6eb9f4b0eb981ea924600426f03562f34d49b1305918d2418485c66084f8dab35e524c40e5 WHIRLPOOL 673c9d7d59ab4b4bb9fa55002464df47abb23b2747a38c86de9b88373c8990a7164d280dfc3f3341c5723374a96261767122117135b544d41c885a0c4d41b67c diff --git a/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch b/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch new file mode 100644 index 000000000000..35f7c1244f38 --- /dev/null +++ b/media-libs/partio/files/partio-1.1.0-Rename-partconv.patch @@ -0,0 +1,65 @@ +From 7042285af5491fd3c2727fa24a7fd44145c066e5 Mon Sep 17 00:00:00 2001 +From: Jonathan Scruggs +Date: Sat, 23 Sep 2017 16:43:37 +0100 +Subject: [PATCH] Rename partconv to partconvert to avoid file collisions + +* partconv is the name of a program used by Crystal Space + +Closes: https://bugs.gentoo.org/631834 +--- + README.md | 2 +- + src/Makefile | 2 +- + src/tools/CMakeLists.txt | 6 +++--- + src/tools/{partconv.cpp => partconvert.cpp} | 0 + 4 files changed, 5 insertions(+), 5 deletions(-) + rename src/tools/{partconv.cpp => partconvert.cpp} (100%) + +diff --git a/README.md b/README.md +index 0a3ac19..4cd12c3 100644 +--- a/README.md ++++ b/README.md +@@ -56,7 +56,7 @@ src/ + doc/ Doxygen documentation and (the start of) a manual + tests/ Start of regression tests (I need more) + tools/ Useful tools +- partconv ++ partconvert + partinfo + partview + +diff --git a/src/Makefile b/src/Makefile +index 0ced80e..ca4f965 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -25,4 +25,4 @@ reader/BGEO.o: reader/BGEO.cpp Particle.h ParticleSimple.h \ + reader/PDB.o: reader/PDB.cpp Particle.h ParticleSimple.h \ + reader/../Particle.h reader/pdb.h + partinfo.o: partinfo.cpp Particle.h +-partconv.o: partconf.cpp Particle.h +\ No newline at end of file ++partconvert.o: partconf.cpp Particle.h +diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt +index 7a6d26b..b4ed9ae 100644 +--- a/src/tools/CMakeLists.txt ++++ b/src/tools/CMakeLists.txt +@@ -47,10 +47,10 @@ ENDIF(GLUT_FOUND AND OPENGL_FOUND) + ADD_EXECUTABLE(partinfo partinfo.cpp) + target_link_libraries(partinfo ${PARTIO_LIBRARIES}) + +-ADD_EXECUTABLE(partconv partconv.cpp) +-target_link_libraries(partconv ${PARTIO_LIBRARIES}) ++ADD_EXECUTABLE(partconvert partconvert.cpp) ++target_link_libraries(partconvert ${PARTIO_LIBRARIES}) + + ADD_EXECUTABLE(partattr partattr.cpp) + target_link_libraries(partattr ${PARTIO_LIBRARIES}) + +-install(TARGETS partattr partconv partinfo DESTINATION ${CMAKE_INSTALL_BINDIR}) ++install(TARGETS partattr partconvert partinfo DESTINATION ${CMAKE_INSTALL_BINDIR}) +diff --git a/src/tools/partconv.cpp b/src/tools/partconvert.cpp +similarity index 100% +rename from src/tools/partconv.cpp +rename to src/tools/partconvert.cpp +-- +2.14.1 + diff --git a/media-libs/partio/metadata.xml b/media-libs/partio/metadata.xml new file mode 100644 index 000000000000..a8653bfa5b18 --- /dev/null +++ b/media-libs/partio/metadata.xml @@ -0,0 +1,22 @@ + + + + + j.scruggs@gmail.com + Jonathan Scruggs + + + agrigo2001@yahoo.com.au + Adrian Grigo + + + proxy-maint@gentoo.org + Proxy Maintainers + + + A library for particle IO and manipulation + + + wdas/partio + + diff --git a/media-libs/partio/partio-1.1.0_p20170829.ebuild b/media-libs/partio/partio-1.1.0_p20170829.ebuild new file mode 100644 index 000000000000..bbba8e72a91c --- /dev/null +++ b/media-libs/partio/partio-1.1.0_p20170829.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit cmake-utils vcs-snapshot python-single-r1 + +DESCRIPTION="A library for particle IO and manipulation" +HOMEPAGE="http://www.disneyanimation.com/technology/partio.html" + +MY_GIT_COMMIT="2774ef3958da46d9f8a4230ebda9e04b1aa8f4e5" +SRC_URI="https://github.com/wdas/${PN}/archive/${MY_GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + media-libs/freeglut + virtual/opengl + sys-libs/zlib:= +" + +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen[latex] ) + dev-lang/swig:* +" + +PATCHES=( "${FILESDIR}/${PN}-1.1.0-Rename-partconv.patch" ) + +src_prepare() { + cmake-utils_src_prepare + + sed -e '/ADD_SUBDIRECTORY (src\/tests)/d' -i CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package doc Doxygen) + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + + cmake-utils_src_configure +} -- cgit v1.2.3