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: Wed, 16 Jul 2025 12:57:45 +0000 (UTC)	[thread overview]
Message-ID: <1752670641.7b3a79c3c80ebf0c3c8000d368a90385934cd7c3.arsen@gentoo> (raw)

commit:     7b3a79c3c80ebf0c3c8000d368a90385934cd7c3
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 16 12:51:49 2025 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Wed Jul 16 12:57:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3a79c3

media-libs/fcft: add 3.3.2

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

 media-libs/fcft/Manifest          |  2 +
 media-libs/fcft/fcft-3.3.2.ebuild | 99 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 101 insertions(+)

diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest
index 0c5bc7a06091..5b7219f79998 100644
--- a/media-libs/fcft/Manifest
+++ b/media-libs/fcft/Manifest
@@ -9,3 +9,5 @@ DIST fcft-3.1.9.tar.gz 701854 BLAKE2B 0d7500749a311ae5d4f1586a85901884583ae036af
 DIST fcft-3.2.0.tar.gz 734390 BLAKE2B 951df88f3b4129cc7178afaa6dc8a022803ece17de1815ed583c88cc21271d29749880ee4444cd8fe601f715c085bea4c2cf1939c202fc5f752d0a3879286f01 SHA512 7cb7a5bc5597a616568e0383f0b346e8e6cec55309b31583b320cc1be12bb5e57ff9b11b927bbbb0d1367cbc8e55f6dce134433e1a7b58dc69c7a3c79c115f89
 DIST fcft-3.3.1.tar.gz 735261 BLAKE2B 57d0b4b6ca965a4de5131639eb7cd3195d6d37c382f244b3de355be2b085e5d752f9ffaed3004e8ccd96a3f5f043f7097ce04b46bce1a6a0b81c108411bc182d SHA512 242368682d11db2edfe8e60b361e78a6b513f8cc8f1ef073fed7ec0bb37498ca643a6e74138e9d88fddaf616a51f79fc18e4ce8dff32b4b23679fcca48386b0d
 DIST fcft-3.3.1.tar.gz.sig 584 BLAKE2B c708928e02d66ebb3b04a15c3fd9ff2068b69a075a49a1a821dc53bb1615b4c8c761b7f96d72189ab50e67882d720f7857b3cb7f4dc26d30d5a80d88e9e13885 SHA512 46ede6a09f4686e34e63337f99b9269e2ecbe6adb7d0b335364d6de6645a1d787ceb12f0bdf88f1fadde2396682658f9721148e86131ab4dcb1110f05a4d9cf9
+DIST fcft-3.3.2.tar.gz 740257 BLAKE2B 13a59930db9d2432137a6f04d487368462418d878e1c4f84de28fbec37d0bc675eb07d83b98e657b51c21fbaa4afeca09f62904f31955a205a89d65ec070eeef SHA512 b66288820bc3ee29e3c2d0f82e6f820d895587f2422cad3dc9f2d7743bd94327b6ba4c1ba74ca0213d8ea8af479a6a6ba6b7496220748711396f87be5f107899
+DIST fcft-3.3.2.tar.gz.sig 584 BLAKE2B b03c6192684f127f56e7b8d471bec1a29b45e5185982ca45caa9c8a66aac4726a204fdcd605c33055a6b5a30d21944ee49b69a2a3740af49c8c6fa449791ead7 SHA512 066b557986a7bbcb846c891d16bfaf5624f2cb8c3bf74e31e3e72c41736ef2bed6fe0bccf62526e793d0173cdc247f576c6b112c08c665b6b3630017b476d217

diff --git a/media-libs/fcft/fcft-3.3.2.ebuild b/media-libs/fcft/fcft-3.3.2.ebuild
new file mode 100644
index 000000000000..5acc159b526f
--- /dev/null
+++ b/media-libs/fcft/fcft-3.3.2.ebuild
@@ -0,0 +1,99 @@
+# Copyright 2020-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+inherit meson python-any-r1 verify-sig
+
+DESCRIPTION="Simple library for font loading and glyph rasterization"
+HOMEPAGE="https://codeberg.org/dnkl/fcft"
+SRC_URI="
+	https://codeberg.org/dnkl/${PN}/releases/download/${PV}/${P}.tar.gz
+	verify-sig? ( https://codeberg.org/dnkl/${PN}/releases/download/${PV}/${P}.tar.gz.sig )
+"
+
+# MIT for fcft
+# ZLIB for nanosvg
+LICENSE="MIT ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+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:=[-cjk]
+	)
+"
+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
+	)
+	verify-sig? ( sec-keys/openpgp-keys-dnkl )
+"
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/dnkl.asc
+
+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:[~2025-07-16 12:57 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-16 12:57 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-22 11:55 [gentoo-commits] repo/gentoo:master commit in: media-libs/fcft/ Sam James
2025-05-01 17:32 Sam James
2025-05-01 16:44 Sam James
2025-05-01 16:13 Sam James
2025-03-14 12:49 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-02-27 12:41 Arsen Arsenović
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=1752670641.7b3a79c3c80ebf0c3c8000d368a90385934cd7c3.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