From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D886138335 for ; Sun, 15 Jul 2018 02:54:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA067E0856; Sun, 15 Jul 2018 02:54:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1A91E0856 for ; Sun, 15 Jul 2018 02:54:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 583FA335C99 for ; Sun, 15 Jul 2018 02:54:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4AD6236A for ; Sun, 15 Jul 2018 02:54:33 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1531622645.d82165bfefd38aafc92642ab0b7e45aec6780fae.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/partio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/partio/partio-9999.ebuild X-VCS-Directories: media-libs/partio/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: d82165bfefd38aafc92642ab0b7e45aec6780fae X-VCS-Branch: master Date: Sun, 15 Jul 2018 02:54:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4da154a7-0802-4076-b397-d21fc97eee42 X-Archives-Hash: 3c0d55906003716095ddf71827b67857 commit: d82165bfefd38aafc92642ab0b7e45aec6780fae Author: David Seifert gentoo org> AuthorDate: Sun Jul 15 02:41:36 2018 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Jul 15 02:44:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82165bf media-libs/partio: Add live ebuild Package-Manager: Portage-2.3.42, Repoman-2.3.9 media-libs/partio/partio-9999.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/media-libs/partio/partio-9999.ebuild b/media-libs/partio/partio-9999.ebuild new file mode 100644 index 00000000000..45be65d43fd --- /dev/null +++ b/media-libs/partio/partio-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit cmake-utils vcs-snapshot python-single-r1 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/wdas/partio.git" +else + MY_GIT_COMMIT="2774ef3958da46d9f8a4230ebda9e04b1aa8f4e5" + SRC_URI="https://github.com/wdas/${PN}/archive/${MY_GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A library for particle IO and manipulation" +HOMEPAGE="https://www.disneyanimation.com/technology/partio.html" + +LICENSE="BSD" +SLOT="0" +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:*" + +src_prepare() { + cmake-utils_src_prepare + cmake_comment_add_subdirectory "src/tests" +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package doc Doxygen) + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + cmake-utils_src_configure +}