public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/fcft/
Date: Tue, 27 Feb 2024 12:41:02 +0000 (UTC)	[thread overview]
Message-ID: <1709037577.1583b332682013fe1bc6c33d7631609b45c13af7.arsen@gentoo> (raw)

commit:     1583b332682013fe1bc6c33d7631609b45c13af7
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 12:39:26 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 12:39:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1583b332

media-libs/fcft: add 3.1.8

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 media-libs/fcft/Manifest          |  1 +
 media-libs/fcft/fcft-3.1.8.ebuild | 94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest
index 42eade29bed1..f469b79392da 100644
--- a/media-libs/fcft/Manifest
+++ b/media-libs/fcft/Manifest
@@ -3,3 +3,4 @@ DIST fcft-3.1.3.tar.gz 741726 BLAKE2B 00792d3bb3848e271b28be7d9afe81e917f5475586
 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
+DIST fcft-3.1.8.tar.gz 697836 BLAKE2B da7de65e2fb7ce6d2244d8ea3839a62953cbe772a7388cdb15d8f849c139e2e9124b3ad12113fcd90d4055b38a269bf7bfeba5a408f31469a95b56d4e770e992 SHA512 1b1cfbed4e99db8e290a1dcf6c124949f5fb317e225996e63913974f4a52748a04be053cff934c8f8c0b3add22c87f9e3b1c793366431f788529e62d7a7be69c

diff --git a/media-libs/fcft/fcft-3.1.8.ebuild b/media-libs/fcft/fcft-3.1.8.ebuild
new file mode 100644
index 000000000000..d284e9dfccd8
--- /dev/null
+++ b/media-libs/fcft/fcft-3.1.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 2020-2024 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 ~ppc64"
+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
+}


             reply	other threads:[~2024-02-27 12:41 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-27 12:41 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-14 12:49 [gentoo-commits] repo/gentoo:master commit in: media-libs/fcft/ Arsen Arsenović
2025-03-12 17:56 Sam James
2025-03-12 17:56 Sam James
2025-03-12 17:56 Sam James
2025-03-12 14:06 Arsen Arsenović
2025-03-05 23:47 Arsen Arsenović
2025-01-10 13:06 Arsen Arsenović
2025-01-10 10:55 Arsen Arsenović
2025-01-07 22:44 Sam James
2025-01-07 22:44 Sam James
2025-01-07 21:05 Sam James
2024-10-23 19:39 Arsen Arsenović
2024-08-19 21:45 Michael Orlitzky
2024-05-28 14:03 Sam James
2024-01-03 11:51 Sam James
2023-12-18 18:03 Arsen Arsenović
2023-12-18  0:03 Arsen Arsenović
2023-11-22 11:16 Arthur Zamarin
2023-07-14 11:01 Arsen Arsenović
2022-09-20 19:30 Sam James
2022-09-05 12:37 Joonas Niilola
2022-08-08  6:12 Joonas Niilola
2022-06-14  7:13 Joonas Niilola
2022-06-14  7:13 Joonas Niilola
2022-06-14  7:13 Joonas Niilola
2022-06-14  7:13 Joonas Niilola
2022-05-20  1:17 Sam James
2022-05-20  1:17 Sam James
2022-05-17  5:59 Sam James
2022-05-02  6:45 Florian Schmaus
2022-02-14 20:39 Sam James
2022-02-06 20:53 Ionen Wolkens
2022-02-05 23:39 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1709037577.1583b332682013fe1bc6c33d7631609b45c13af7.arsen@gentoo \
    --to=arsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox