diff options
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-4.3_p20201029.ebuild | 63 | ||||
-rw-r--r-- | media-gfx/gnofract4d/metadata.xml | 9 |
3 files changed, 74 insertions, 2 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 4bd3cdf285e1..e9b342644eab 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,3 +1,5 @@ DIST gnofract4d-4.0.1_p1.tar.gz 7638038 BLAKE2B c12bade5f219d2d41dc50569c0df315273b0c2a0a6a40543f48f3e4cb766512ed18b979463574db65ac443b1a8dffbcc1f3c9dc04d7c6b89881fdfcfce95c41c SHA512 d7f3a081b3681866d2da911eedab6ec74f22f36d5175a85f93751519e96971cf147b99ddcda32c597283b39e9da4f0fc6a8843331334a18efa3bf459cfd00af5 +DIST gnofract4d-4.3_p20201029.tar.gz 18270417 BLAKE2B 82d9f9528c33cf73478fa48d8692617237029944e68d9626d0c39e088b1b6aebc02a8c32a1a0e14c8d115cf3f0434940ec8a8c3d915fc9967b22f7e51353dd6b SHA512 f5844a88c41941429379efe99d1e0593a994a42d600e6e05f722c01c4ced48ceff730bf6bc797e083bd558931d39a31ffe86021eac0f0c6ec0f3047569962e3f EBUILD gnofract4d-4.0.1_p1-r1.ebuild 1694 BLAKE2B b3d643bcea4ff74a339d4015b7f3747d8accd17e3c33f464d03252b2d0ba1106e47d6ce7162b1343259850c34b3a6b206cb62b5d546abf83fcae53e1042b05e5 SHA512 6504876211812d61e6868a5633d1b293d5d5675845720e605c39cbd535dba7d71305ba1227760ee7a926a58968a5c6898b338e86eeacc883bdd8c11b4cb4cd2f -MISC metadata.xml 311 BLAKE2B e595489db486352ace6f66c3d72be3f47857ab75d48b8c2c2964bc2466d372eefa5e503f2c089d88cf6aedfd7d076a6595f733b883dfb25276567de67abc6911 SHA512 392ac93a529b535ac58ad270f8d5d4ded4b1cd8914604ef9533dcdf10c08a05e3afc6800f3eb7b546c856e608444a662c6cfea8b436936e1931d7fdfe43b676b +EBUILD gnofract4d-4.3_p20201029.ebuild 1479 BLAKE2B d64ade871f3b076512259041aad55d4b4d469b824241ebd5df5235338f031751008505b03fe9dd28f7c54345f6f2a7eb34bda031b1fc86f2c85de825a8c2f2d4 SHA512 21df442787343a302c17cb3fc0d2bead5e4d7c2b5197bd0aff0497bcf67a60fc5375f70c5ad956b44250f9cfbe29eade1e48c2965c37e25b8f77e77ac17c2f58 +MISC metadata.xml 504 BLAKE2B b5087f6e8de7658fdb35b694f16dff28b7ecd6c600c787299df812174613a71ef605595531cb97df0e098bfcb10664c40e9e091b76a62078626d944387b2cadd SHA512 03e3638abe60e3a4350eb1770d5fdeb287e3eb83418d266b65ef839031e6eb6d82d5fb2546611038819c1fb302a69a047c9283b922bdb055110722cb4fb2f20f diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20201029.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20201029.ebuild new file mode 100644 index 000000000000..644c1fba0921 --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20201029.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 optfeature virtualx xdg + +COMMIT="3e3893b0ee381098418d7b28997f6b861c53eff1" + +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/libpng:0= + virtual/jpeg" +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 + # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow + rm test_regress.py || die + # tests hanging with virtx + rm fract4dgui/tests/test_{director,gtkfractal}.py || die + + distutils-r1_src_prepare +} + +python_compile_all() { + if use test; then + ln -s "${BUILD_DIR}"/lib/fract4d/*.so fract4d/ || die + fi +} + +src_test() { + virtx distutils-r1_src_test +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +} diff --git a/media-gfx/gnofract4d/metadata.xml b/media-gfx/gnofract4d/metadata.xml index 052b81b5cf3b..d11e338560d8 100644 --- a/media-gfx/gnofract4d/metadata.xml +++ b/media-gfx/gnofract4d/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>aklhfex@gmail.com</email> + <name>Chris Mayo</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <upstream> <remote-id type="github">edyoung/gnofract4d</remote-id> </upstream> |