diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-26 23:59:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-26 23:59:37 +0100 |
commit | 3e42d1577189af123b773dc0f11e5419035308c8 (patch) | |
tree | 95d77507c924544b12363e6da6aa741c444f3e8a /media-gfx/gnofract4d | |
parent | 6243676c91946098c06d42bc87b5eb99aac40bf0 (diff) |
gentoo auto-resync : 26:04:2024 - 23:59:36
Diffstat (limited to 'media-gfx/gnofract4d')
-rw-r--r-- | media-gfx/gnofract4d/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gnofract4d/gnofract4d-4.3_p20240324.ebuild | 78 |
2 files changed, 80 insertions, 0 deletions
diff --git a/media-gfx/gnofract4d/Manifest b/media-gfx/gnofract4d/Manifest index 945c7e4a3578..0cb19fd2b105 100644 --- a/media-gfx/gnofract4d/Manifest +++ b/media-gfx/gnofract4d/Manifest @@ -1,6 +1,8 @@ AUX gnofract4d-4.3_p20221125-clang16.patch 2070 BLAKE2B fad88eb8307a3387075f2b7c58b12103474f4a807039261a323759f5c5f9579612d6ef25ab93fab317352ee49ee2c90745c92e0ee1f776721940c95c563f1f71 SHA512 0bcb83dbd5486fbbe6ea683cdd85ce057dfef96203f5f4a6cc8b45d1da07b28da2afcff4d18bb584833c06222de15f8e4851d43949fb7090c580bd45635bd391 DIST gnofract4d-4.3_p20221125.tar.gz 18275177 BLAKE2B 24fcd71818a98a3137b485046f295b523884d05ece694e37cf871e1fdaba7b26ac870675895a7a361e5d1fe142b0ae68c720c6e39615226951e8e1af6f57c848 SHA512 75d8d12441a0e2024f0ef125fee5cbe8dcc10c4c48ba366d5529644ae743928b998f85369aafc6e737cb994a82ebdcbe941e11c916c0d0996e785a146469e359 DIST gnofract4d-4.3_p20230717.tar.gz 18275492 BLAKE2B 0bc8834c6f3ed3ec48bf4ee49ad563ce6842485dd32eb568c580d74528d062dcad6f8da4a67434c3784497883d0a73d4fa050a346ef970ac348db58bc6e7ea39 SHA512 c427c42e75b830dcf95012346d2db3a9b63be4e5431e7eae5ec74b915f5eedd857d8fa56d5ec37e8d245c3a77dc413c72115700d614205bdd62b916e6865f749 +DIST gnofract4d-4.3_p20240324.tar.gz 18274057 BLAKE2B 183bf96e0429fa676f1c6fca4ae6466c489d0fe5ffee09ae161e01d0f22b4e77165f846416702c026f5d73a27833dfebd49f5c3131c621c9b1abd2ee9fc5529d SHA512 a174683b659347e4a7203d78d309ab41971d105131d40ea60490871477e80109624405f7012e455389ccc9325e08f224a1d3ea2d4e0c23fc9c5ca4fb83f9dfaa EBUILD gnofract4d-4.3_p20221125-r1.ebuild 1470 BLAKE2B 9316290a45026d2aae523d8e59059fcf08cecf886757c7dd49af0d8532176b6bec30f6e3f01ade36656437be6410502f9486b5f482d7b293df7cbe735d007850 SHA512 030a61800bd923a76e929312a908bc3b45634d891bb48cdd8d605ff23c5ed363293e33e1a9050f74d8e47bc67e787861597e77ee47b6c2171dcc43b056c215ef EBUILD gnofract4d-4.3_p20230717.ebuild 1740 BLAKE2B 1fdd4739fa03dc7c5fb50f866c68238e910f5675ab487fd9c343cae1795267ec3b38973aecc371217da762415d829ea25121b29ce3154ebab9aaee41402e2e64 SHA512 71489072990eab391408b93946168cd31dd030cff20d225210d489b703197f180d5442d8222231308230707586d1cff0328b5cbf612d8bfbb652cf640f8e54d2 +EBUILD gnofract4d-4.3_p20240324.ebuild 1809 BLAKE2B b08de09173356ccf05909190bfa307c9a7c6c1cf517e3b7a1bf58ee140fc6e2a802ba0f8c79cead2fe26b61e14107bc98042abeb00c721995f51b9be12ed4d13 SHA512 f4a130057f94342acd0bdb184c96905bfed27c8b48953b405a5c0361b70ef39fe214ff2ae91c3b1e8751917a88b194cd7be99051375aa25fe8d8ee058ab59ad4 MISC metadata.xml 474 BLAKE2B 6dcdd891ae9b2b69a1f7a2e3de6bc867894444743825642abddac1701d75bd2ec1542a5e6d4c86b76b2e209ccdc4db53e680692a0e6c7c99c280ff96fe6a13a2 SHA512 7b815ce8a870b158e39845840082ea3a87738d1f7c63b6aee869758deb3475f7f2c1c1f1831bfdc8af911c1f7825c514cf26c76af5bb32464e9fa2a308ba8a05 diff --git a/media-gfx/gnofract4d/gnofract4d-4.3_p20240324.ebuild b/media-gfx/gnofract4d/gnofract4d-4.3_p20240324.ebuild new file mode 100644 index 000000000000..47a8800ec72a --- /dev/null +++ b/media-gfx/gnofract4d/gnofract4d-4.3_p20240324.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit meson optfeature python-single-r1 virtualx xdg + +COMMIT="06e34bbf920692828bfd816ab5fb93e7ea9c51c2" + +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" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + media-libs/libjpeg-turbo:0= + media-libs/libpng:0=" +RDEPEND="${DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + ') + gui-libs/gtk:4[introspection]" +BDEPEND=" + virtual/pkgconfig + test? ( + media-video/ffmpeg[vpx,zlib] + $(python_gen_cond_dep ' + dev-python/pytest[${PYTHON_USEDEP}] + ') + )" + +src_prepare() { + sed -i "s:4.3:${PV}:" meson.build || die + default +} + +src_configure() { + local emesonargs=( + -Ddocdir="${EPREFIX}/usr/share/doc/${PF}" + -Dstrip=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + python_optimize + python_fix_shebang "${ED}"/usr/bin/gnofract4d +} + +src_test() { + local EPYTEST_IGNORE=( + # test_regress.py does not provide pytest with any tests and inspecting it requires dev-python/pillow + test_regress.py + ) + local EPYTEST_DESELECT=( + # terminate called after throwing an instance of 'std::exception' + test_fract4d.py::Test::testFDSite + ) + use x86 && EPYTEST_DESELECT+=( + # https://bugs.gentoo.org/890796 + test_fractal.py::Test::testDiagonal + test_fractal.py::Test::testRecolor + ) + TMPDIR="${T}" virtx epytest +} + +pkg_postinst() { + xdg_pkg_postinst + optfeature "creating videos" media-video/ffmpeg[vpx,zlib] +} |