diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/soya/soya-0.15_rc1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/soya/soya-0.15_rc1.ebuild')
-rw-r--r-- | dev-python/soya/soya-0.15_rc1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/soya/soya-0.15_rc1.ebuild b/dev-python/soya/soya-0.15_rc1.ebuild new file mode 100644 index 000000000000..874b44e3b510 --- /dev/null +++ b/dev-python/soya/soya-0.15_rc1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=(python2_7) + +inherit distutils-r1 eutils + +MY_PN="Soya" +MY_PV="${PV/_}" +MY_P="Soya-${MY_PV}" +TUT_P="SoyaTutorial-0.14" + +DESCRIPTION="A high-level 3D engine for Python, designed with games in mind" +HOMEPAGE="http://home.gna.org/oomadness/en/soya3d/index.html" +SRC_URI="http://download.gna.org/soya/${MY_P}.tar.bz2 + doc? ( http://download.gna.org/soya/${TUT_P}.tar.bz2 ) + examples? ( http://download.gna.org/soya/${TUT_P}.tar.bz2 )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND=">=dev-games/ode-0.10[-double-precision] + dev-python/editobj + dev-python/pillow + >=dev-python/pyopenal-0.1.6 + media-fonts/freefonts + >=media-libs/cal3d-0.10 + media-libs/freeglut + >=media-libs/freetype-2.1.5 + >=media-libs/glew-1.3.3:* + >=media-libs/libsdl-1.2.8[opengl] + media-libs/openal + virtual/opengl" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}" + +PATCHES=( + "${FILESDIR}/${P}-glu.patch" +) + +src_unpack() { + if [ ${A} != "" ]; then + unpack ${A} + fi + + mv "${WORKDIR}/${MY_P}" "${WORKDIR}/${MY_PN}" +} + +src_install() { + distutils-r1_src_install + + insinto /usr/share/${PF} + if use doc; then + cd "${WORKDIR}/${TUT_P}/doc" + doins soya_guide.pdf pudding/pudding.pdf || die "doins failed" + fi + if use examples; then + cd "${WORKDIR}/${TUT_P}" + doins -r tutorial || die "doins failed" + fi +} |