From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2831D1382C5 for ; Thu, 24 Jun 2021 12:22:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B6762E0870; Thu, 24 Jun 2021 12:22:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 903F1E086E for ; Thu, 24 Jun 2021 12:22:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 507AA342B42 for ; Thu, 24 Jun 2021 12:22:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDB007C8 for ; Thu, 24 Jun 2021 12:22:41 +0000 (UTC) From: "Jian Lin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jian Lin" Message-ID: <1624518413.15d82654daf12e54a2fbdae4adc95bb73d080b38.jian@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-libs/fcft/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/fcft/Manifest media-libs/fcft/fcft-2.4.1.ebuild X-VCS-Directories: media-libs/fcft/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: 15d82654daf12e54a2fbdae4adc95bb73d080b38 X-VCS-Branch: master Date: Thu, 24 Jun 2021 12:22:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d8d0059e-607d-4880-a06a-ab81f1e3fc2f X-Archives-Hash: 53610527dd9f5d8aeac095702a4b7736 commit: 15d82654daf12e54a2fbdae4adc95bb73d080b38 Author: Ryan Fox 2a03 party> AuthorDate: Thu Jun 24 07:06:53 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Thu Jun 24 07:06:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15d82654 media-libs/fcft: Bump to 2.4.1 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Ryan Fox 2a03.party> media-libs/fcft/Manifest | 1 + media-libs/fcft/fcft-2.4.1.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index bcfffde7d..f6bfbeb44 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -1,2 +1,3 @@ DIST fcft-2.3.3.tar.gz 313168 BLAKE2B b3dbc3af511e8a8007a17400fe6880a08a62ca0cb69795438ab7c6a86f856b25a3bd26cdef8031f1c8d66f4527d191a72ce87852f001e05b8f37285dea4befb5 SHA512 91f3c1292889c2fd1cdce439e0168a37a932d3a05ea78fff93ce69ea7b1adc33424e67a0b2c36931d26128e1169e6f784f16445475c94690dedf608f92278009 DIST fcft-2.4.0.tar.gz 323605 BLAKE2B 1926d26b633cf768257340f093de734513678f3b5e62cb2fa89fd08496d06b36de89fe797a5328c35a5b467d3ea48214d5a3e76660d2effaea0f28fddbc7bd48 SHA512 0904344cf69875e5ed2b0543911cfcbd7fddafcc19ef611ff6abb30004515eb61a69f5add25f9576132dcd60bc0c2cc7f6461fade9124a32c4026154e56d8e64 +DIST fcft-2.4.1.tar.gz 323792 BLAKE2B d33c087ec4bf6f0b2bba6da0110abe50de5f232beac970e657416e73f1d02fd54d342686d954e67eca86e5f676d793d94edae52f64a85ea62e662a8552289ae4 SHA512 2cce6db53010262eec36a8ef8ba146e296513b89d6a9358868c49acce1db75e058c66ef43b66433d9644460d85c6cbcdb8d755f14ca3b5a58912cd8e0e83f120 diff --git a/media-libs/fcft/fcft-2.4.1.ebuild b/media-libs/fcft/fcft-2.4.1.ebuild new file mode 100644 index 000000000..979d903ad --- /dev/null +++ b/media-libs/fcft/fcft-2.4.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" + S="${WORKDIR}/${PN}" +else + inherit git-r3 + EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" +fi + +DESCRIPTION="A simple library for font loading and glyph rasterization" +HOMEPAGE="https://codeberg.org/dnkl/fcft" +LICENSE="MIT" +SLOT="0/3" +IUSE="examples +text-shaping test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-libs/tllist + media-libs/fontconfig + media-libs/freetype + x11-libs/pixman + text-shaping? ( media-libs/harfbuzz ) + examples? ( + dev-libs/libutf8proc:= + dev-libs/wayland + ) +" +DEPEND=" + ${RDEPEND} + test? ( + text-shaping? ( media-fonts/noto-emoji ) + ) +" +BDEPEND=" + app-text/scdoc + app-i18n/unicode-data + examples? ( + dev-libs/wayland-protocols + 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" +} + +src_configure() { + local emesonargs=( + $(meson_feature text-shaping) + $(meson_use examples) + "-Dwerror=false" + ) + + use test && emesonargs+=( + $(meson_use text-shaping test-text-shaping) + ) + + meson_src_configure +} + +src_install() { + meson_src_install + use examples && newbin "${BUILD_DIR}/example/example" fcft-example + mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" +}