diff options
author | Chris Mayo <aklhfex@gmail.com> | 2022-11-27 17:42:40 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-12-09 08:54:01 +0200 |
commit | 25f48d1e58e4f561d7b1e339c7958ee8b9d7d0db (patch) | |
tree | 3cfbf549b3bdd30912699b63fb4bb56f9630c0c8 /media-gfx/gnofract4d | |
parent | net-vpn/vtun: update EAPI 7 -> 8 (diff) | |
download | gentoo-25f48d1e58e4f561d7b1e339c7958ee8b9d7d0db.tar.gz gentoo-25f48d1e58e4f561d7b1e339c7958ee8b9d7d0db.tar.bz2 gentoo-25f48d1e58e4f561d7b1e339c7958ee8b9d7d0db.zip |
media-gfx/gnofract4d: add 4.3_p20221125 respect CFLAGS
Closes: https://bugs.gentoo.org/882653
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28450
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 2c7eb33475e4..3f5b8b8f6263 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,2 +1,3 @@ DIST gnofract4d-4.3_p20211108.tar.gz 18271921 BLAKE2B b73fef616b8a91827edd514ec128bcb6d63a8fc8f1433989e31bd9f11711a9568a61358dcca23846bff461ef6a8addeae68cc5ab5f4ae29b6e9b2857bdbad2b8 SHA512 0d95f31ac9b1b82bfd459ac896c73bfcffb3b256750093cdccee976839112fcaeb42260c0eb48ef4f30dc0504f5b84cc425f6568997c05639993354756f9ef75 DIST gnofract4d-4.3_p20221114.tar.gz 18275321 BLAKE2B 029babc09810aa2a2fe0a627144bd347cb363666a9412cce067c2ce505fd8d554a3e12058ab74ccc5d1ff29587e96276026e685ee586e3961c92f72b30fe72d5 SHA512 d45183c0dc77959210b512ecfb35a8487ebf103ec5d46f815f4a2e05655ed5cc2f5fd1399f644fd919a459ffdb54dfe32a7745991dd37f527f5b79747aa22618 +DIST gnofract4d-4.3_p20221125.tar.gz 18275177 BLAKE2B 24fcd71818a98a3137b485046f295b523884d05ece694e37cf871e1fdaba7b26ac870675895a7a361e5d1fe142b0ae68c720c6e39615226951e8e1af6f57c848 SHA512 75d8d12441a0e2024f0ef125fee5cbe8dcc10c4c48ba366d5529644ae743928b998f85369aafc6e737cb994a82ebdcbe941e11c916c0d0996e785a146469e359 diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild new file mode 100644 index 000000000000..593a1c57a032 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20221125.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature virtualx xdg + +COMMIT="f90eb2a9c25e3f3aef65e8d4dce7d73bcb795b2d" + +DESCRIPTION="A program for drawing beautiful mathematically-based images known as fractals" +HOMEPAGE="https://fract4d.github.io/gnofract4d/" +SRC_URI="https://github.com/fract4d/gnofract4d/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + media-libs/libjpeg-turbo:0= + media-libs/libpng:0=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + ') + x11-libs/gtk+:3[introspection]" +BDEPEND=" + virtual/pkgconfig + test? ( + media-video/ffmpeg[vpx,zlib] + )" + +distutils_enable_tests pytest + +S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare() { + sed -i -e "s:share/doc/gnofract4d/:share/doc/${PF}/:" setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die + local EPYTEST_IGNORE=( + # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow + test_regress.py + ) + TMPDIR="${T}" virtx epytest +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +} |