diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 11:40:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 11:40:32 +0000 |
commit | 4215622c05ed14d30fdad5a4d0feba6d94b0d046 (patch) | |
tree | 2e7c452f4b9f4b13bf11bf37ea05bdcf1bc7d73e /games-engines/renpy | |
parent | d117dce29795dfc5a9824d31a128decaa37f73d2 (diff) |
gentoo auto-resync : 25:02:2024 - 11:40:31
Diffstat (limited to 'games-engines/renpy')
-rw-r--r-- | games-engines/renpy/Manifest | 2 | ||||
-rw-r--r-- | games-engines/renpy/renpy-8.2.0.ebuild | 111 |
2 files changed, 113 insertions, 0 deletions
diff --git a/games-engines/renpy/Manifest b/games-engines/renpy/Manifest index 0f44249aa729..8a873500616f 100644 --- a/games-engines/renpy/Manifest +++ b/games-engines/renpy/Manifest @@ -4,5 +4,7 @@ AUX renpy-8.1.0-ignore_rpyc_errors.patch 810 BLAKE2B 3aaf2cfd788c736c0d78aafe71d AUX renpy-8.1.3-system-path.patch 544 BLAKE2B 29ca59be9efebeacc960caa4a7039e81f28512c4e0c2bb9ee00a864951e6957f5c692608a6fe64da05781afec56fc25999a6e58d665671aac4710b32187e2e7c SHA512 7260f7e7075da7223b0320524789a19e9a07d079b96879b26068c497628c4182ca455438b28203e1d4e0185d79897734ecd63290a58cb265ea3367230bc4956c AUX renpy.1 4642 BLAKE2B 446100972a1cb82dd91a25bb03895bdf717f33d1ffa27497a1e71ec561a1cb3ef986962943d890e209231b788d141a5ab86fdbefbc01a8f1c760b998e1b99a46 SHA512 2727a6ff9675a2b82a979faf5d75e7b3b96915f4c7382d22bba35d74674e613f45d4e8437e24edb410aac45cd8d219cc68e118387e538aafb32b0c312443b066 DIST renpy-8.1.3-source.tar.bz2 69220231 BLAKE2B fe9295da7081dda77c2a720138cdd63b744d40844ce5a0bb4164720cf34f828cbf25ac77e1aa57e95585ad6eab644cd0fff2a3a818e6b86482e589a28f40affa SHA512 22304cf8e7328c50ff897761ec0a504e8618d53484491f4196ad93015656dd08c2197c11adea83069682912a5b8d05d3223e3ad34fa68881abdad5f73e51884b +DIST renpy-8.2.0-source.tar.bz2 70209427 BLAKE2B b776dcfd0efe66f9d6ff06007cb8abb1b4ff6bc1a4dd7563a928e5396d52c9054398bca6333434e14d1e30ecf87ba68dbb7941facf7468702c800036d93db89d SHA512 a493baa6e1df0d8bbb8c8f0634bf82879dd82265db30100892d4a13267f75f7428c7da9ab565298aa2ab6a5ddf66743907835d5d0dabbf7fb9c35a652703f511 EBUILD renpy-8.1.3-r1.ebuild 2587 BLAKE2B 2046904fa187f703fc04996e8145656b743e3b444c201e6d9370b6d6f1902ae2102402ff3c3c62061d402b56981ee5719b7134a526a19f092f31d7b4c8a0f18d SHA512 0e7a2b0471aa9400b4ffd63e222d54030061b84075f4582252ffc89fdfe2fc942776d82984711223b19b6c7373b50094ee0ac75b24a4120bb93e0f48b82afae5 +EBUILD renpy-8.2.0.ebuild 2587 BLAKE2B cef0d08e7c217a3fd30952a9794aa3d06f80306a5a8b357e2a211b50f23201f3359ed5c6f7aa61be2b558fd3f26ef7db2e4b2a08c627cc59a68d252912e83c5a SHA512 d18d3a157c77c8e60ef1305c80c0c9ed1155bc63771b93a80ed3dd55a62f2b366cf583c6cceb29718b13ffc4e3688d105a4a7be3e342fe3bb9b72f761123351d MISC metadata.xml 1219 BLAKE2B ae72fe8342e3cf123a436e3ccaf33a107afb745d10d405f03e3d843be6c8ebce29d9dce8a7a74a0cb06dc3fa16a5e58ebcbae1c8e5aad8b09490aeb1ceb579e0 SHA512 06a1222ed2a751105c8c7ac2da2e754bbdf82fcd9c14f8f27f4991674cd44e3bb8acdf4a016e0c3598984d7d1944566870dac10e91bba9b5d40b7edce4a07158 diff --git a/games-engines/renpy/renpy-8.2.0.ebuild b/games-engines/renpy/renpy-8.2.0.ebuild new file mode 100644 index 000000000000..a793d5e9dd49 --- /dev/null +++ b/games-engines/renpy/renpy-8.2.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +inherit desktop gnome2-utils distutils-r1 + +DESCRIPTION="Visual novel engine written in python" +HOMEPAGE="https://www.renpy.org" +SRC_URI="https://www.renpy.org/dl/${PV}/${P}-source.tar.bz2" +S="${WORKDIR}/${P}-source" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="development doc examples" +REQUIRED_USE="examples? ( development )" + +BDEPEND=" + $(python_gen_cond_dep '<dev-python/cython-3[${PYTHON_USEDEP}]') + virtual/pkgconfig" +DEPEND=" + dev-libs/fribidi + $(python_gen_cond_dep ' + >=dev-python/pygame_sdl2-8.2.0[${PYTHON_USEDEP}] + >=dev-lang/python-exec-0.3[${PYTHON_USEDEP}] + dev-python/ecdsa[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + ') + media-libs/glew:0 + media-libs/libpng:0 + media-libs/libsdl2[video] + media-libs/freetype:2 + sys-libs/zlib + media-video/ffmpeg:= +" +RDEPEND="${DEPEND} + !app-eselect/eselect-renpy" + +PATCHES=( + "${FILESDIR}/renpy-6.99.12.4-compat-style.patch" + "${FILESDIR}/renpy-6.99.12.4-compat-infinite-loop.patch" + "${FILESDIR}/renpy-8.1.0-ignore_rpyc_errors.patch" + "${FILESDIR}/renpy-8.1.3-system-path.patch" +) + +python_prepare_all() { + einfo "Deleting precompiled python files" + find . -name '*.py[co]' -print -delete || die + + distutils-r1_python_prepare_all +} + +python_compile() { + cd "${S}"/module || die + distutils-r1_python_compile +} + +python_install() { + cd "${S}"/module || die + distutils-r1_python_install + + cd "${S}" || die + python_newscript renpy.py ${PN} + + python_domodule renpy + if use development ; then + python_domodule launcher + fi + if use examples ; then + python_domodule the_question tutorial + fi +} + +python_install_all() { + distutils-r1_python_install_all + if use development; then + newicon -s 32 launcher/game/images/logo32.png ${P}.png + make_desktop_entry ${PN} "Ren'Py ${PV}" ${P} + fi + + if use doc; then + insinto "/usr/share/doc/${PF}/html" + doins -r doc/* + fi + newman "${FILESDIR}/${PN}.1" "${P}.1" +} + +pkg_preinst() { + use development && gnome2_icon_savelist +} + +pkg_postinst() { + use development && gnome2_icon_cache_update + + local v + for v in ${REPLACING_VERSIONS}; do + ver_test "${v}" -ge 7 && continue + einfo "Starting from ${PN}-7 slots are dropped." + einfo "RenPy natively supports compatibility with games made for older versions." + einfo "Report bugs upstream on such problems, usually they are easy to fix." + break + done +} + +pkg_postrm() { + use development && gnome2_icon_cache_update +} |