From 3e02de9a64a4e3d1f1af271a9da7ff7bbf8d86c8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Dec 2023 01:48:12 +0000 Subject: gentoo auto-resync : 18:12:2023 - 01:48:11 --- media-libs/fcft/Manifest | 2 + media-libs/fcft/fcft-3.1.7.ebuild | 94 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) create mode 100644 media-libs/fcft/fcft-3.1.7.ebuild (limited to 'media-libs/fcft') diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index d5c18e944b60..3a00809858c7 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -2,8 +2,10 @@ DIST fcft-3.1.2.tar.gz 741659 BLAKE2B d4c3b9ef444771f255b7b19e9645d53558caed2022 DIST fcft-3.1.3.tar.gz 741726 BLAKE2B 00792d3bb3848e271b28be7d9afe81e917f547558663b7cc3ce08a3b36cc2d56f3e69b1e06bf16cf73f1a08c8b20696906d6eaa07b59e113846820dd57e22419 SHA512 7275f4807b72b5125242dfba9499647d6c1e80ac9a7df8adde4e8ad082744472d3efa6b8c608c07a2107a7df3005ccad69d574cfb06f35991ccf676df6f1b407 DIST fcft-3.1.5.tar.gz 742014 BLAKE2B 39266ab2a7ea422671414d97c21a90b0eeabe9ed7480c54e44e33ff6d39ab903ac3df154b6733bb4de1e69401480d313f067e6f73f13748bf7fd54aa617cd5e6 SHA512 e223d7e825d8f81f05d2f7ec1b945b28311386dc6ccf55eefaeff2231d64483fdf18a2468f942586ecc0bb4ef75ed9ef0a8a490162b0f8bf7a8619e46742c564 DIST fcft-3.1.6.tar.gz 699121 BLAKE2B 597ce1a701db29d3a8b913d831f1847c9526c450352b565436c843388447d8203b54b3d24ab668690986488c102f281c46685a2072bf4afee2bf58465ab9d6c3 SHA512 4fe4e318561706bd446e79b0df8df4fa5b542b9d546aa7361a1523593c26040d827ce059658c0eac89a77b83c771fd43bc74e2fe29cd16b2846a2db7ec733f49 +DIST fcft-3.1.7.tar.gz 697694 BLAKE2B 2afdd26c631d365ae450691a2073fc61d361c759886e77781b6438e0d8e0db6626230bcc70b99ef2d5a5a05006280bca93d2433157a6974093f1af932952b4c2 SHA512 e862856dfb85c5df85f9f32dce8ed9e7fed8b3dc8435876994f53d276a2c597d0cee0b4fbcbb62362a3771e9ca82c49db95da989404d0c8aa5f604dd50c79075 EBUILD fcft-3.1.2-r1.ebuild 2072 BLAKE2B 413f9b8ca65d8a4fee9f6dc06f6a82a5fd71c20e367b4c6d323c5884c716ecf564c6d5be2d711d716a594c6df12dba9674e003114b33ef7dc05bf41f03c4d84b SHA512 afc54726a34924b5b1f68f234598fdaf06ef60ebb66764a1d5304b1f4957e3b60125659a3c7c51d3039896c5bd24bacac74d684713c982c119c619d53a9218ec EBUILD fcft-3.1.3.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9 EBUILD fcft-3.1.5.ebuild 2072 BLAKE2B 413f9b8ca65d8a4fee9f6dc06f6a82a5fd71c20e367b4c6d323c5884c716ecf564c6d5be2d711d716a594c6df12dba9674e003114b33ef7dc05bf41f03c4d84b SHA512 afc54726a34924b5b1f68f234598fdaf06ef60ebb66764a1d5304b1f4957e3b60125659a3c7c51d3039896c5bd24bacac74d684713c982c119c619d53a9218ec EBUILD fcft-3.1.6.ebuild 2073 BLAKE2B 3c850b1a7f0afb115d1ba7bd251e719febf4d25a03f40ad2ff1f00c0d26a3b30b9f87d0557f16b6a078d3a9fa6bf6ea9cdd413cc5dfe0b9955fde9971da02125 SHA512 a21760c0192c8f1296a7b8c9b9f6f532436359a46dde213bfb12b3f47db85f3f9bf418bb0d2ee894dee9da55eae1d0d8afd97aab1ab5e9fe50dd683639b50cc9 +EBUILD fcft-3.1.7.ebuild 2074 BLAKE2B 421a54c0b49b4d4b7b1935a25ccffd89a8e0aea3bb900a0ef461840f5fd9b02ccb0578a419386e043697242c12dae07d439ceddd86b1ce5aef40f629f6a01423 SHA512 fb2bfcccf70e8a4a0b1a712c36dfd1f08f178f9353fea74ffdc4ff6abab141ac070603156dcf617d1721b096d40f91a57b95086762c2726e2419f5f392cb8d51 MISC metadata.xml 485 BLAKE2B 6afa04131e16f8240d2a2d878dfa709b5c5458d5710de56691c39315e57b2b4219efc11f185e98341c5553334c5eb7c9bcbc723290e7613b20dfff0d066cacd5 SHA512 aa6e49b3cdaac9c16cdf9f213a0471aa11a304a15a9f3cd1ffd5e643b2ec00089eb2925d9fde235369b535a09992e71a2f2ae29f41bfa84277e1f47efbbe7d7c diff --git a/media-libs/fcft/fcft-3.1.7.ebuild b/media-libs/fcft/fcft-3.1.7.ebuild new file mode 100644 index 000000000000..fead22b49493 --- /dev/null +++ b/media-libs/fcft/fcft-3.1.7.ebuild @@ -0,0 +1,94 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit meson python-any-r1 + +DESCRIPTION="Simple library for font loading and glyph rasterization" +HOMEPAGE="https://codeberg.org/dnkl/fcft" +SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +# MIT for fcft +# ZLIB for nanosvg +LICENSE="MIT ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="examples +harfbuzz +libutf8proc test" +REQUIRED_USE=" + libutf8proc? ( harfbuzz ) + examples? ( libutf8proc ) +" +RESTRICT="!test? ( test )" + +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + x11-libs/pixman + examples? ( + dev-libs/libutf8proc:= + dev-libs/wayland + ) + harfbuzz? ( + media-libs/harfbuzz:=[truetype] + ) + libutf8proc? ( + dev-libs/libutf8proc:= + ) +" +DEPEND=" + ${RDEPEND} + app-i18n/unicode-data + dev-libs/tllist + examples? ( + dev-libs/wayland-protocols + ) + test? ( + dev-libs/check + harfbuzz? ( media-fonts/noto-emoji ) + ) +" +BDEPEND=" + ${PYTHON_DEPS} + app-text/scdoc + virtual/pkgconfig + examples? ( + dev-util/wayland-scanner + ) +" + +src_prepare() { + default + + rm -r unicode || die "Failed removing vendored unicode-data" + + sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \ + meson.build || die "Failed changing UnicodeData.txt to system's copy" + sed -i "s;unicode/emoji-data.txt;${EPREFIX}/usr/share/unicode-data/emoji/emoji-data.txt;" \ + meson.build || die "Failed changing emoji-data.txt to system's copy" +} + +src_configure() { + local emesonargs=( + $(meson_feature harfbuzz grapheme-shaping) + $(meson_feature libutf8proc run-shaping) + $(meson_use examples) + $(use test && meson_use harfbuzz test-text-shaping) + # bundled, tiny, I believe this means we should always include it + -Dsvg-backend=nanosvg + -Ddocs=enabled + ) + + meson_src_configure +} + +src_install() { + local DOCS=( CHANGELOG.md README.md ) + meson_src_install + + rm -r "${ED}"/usr/share/doc/${PN} || die + + use examples && newbin "${BUILD_DIR}/example/example" fcft-example +} -- cgit v1.2.3