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 F0955158F58 for ; Mon, 16 Aug 2021 20:48:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49693E0FC5; Mon, 16 Aug 2021 19:05:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1D8DCE0FC6 for ; Mon, 16 Aug 2021 19:05:01 +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 9519134769C for ; Mon, 16 Aug 2021 19:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21DB18D1 for ; Mon, 16 Aug 2021 19:04:57 +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: <1628964103.c22d2f3f6d64de9a9a48ef90ec0b9908e2343276.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.5.ebuild X-VCS-Directories: media-libs/fcft/ X-VCS-Committer: jian X-VCS-Committer-Name: Jian Lin X-VCS-Revision: c22d2f3f6d64de9a9a48ef90ec0b9908e2343276 X-VCS-Branch: master Date: Mon, 16 Aug 2021 19:04:57 +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: 5bb4d738-fe88-4cf1-ab97-8c85918a0ba4 X-Archives-Hash: bc3d4d03c50d62ce682f9d4f725f6c89 commit: c22d2f3f6d64de9a9a48ef90ec0b9908e2343276 Author: Ryan Fox 2a03 party> AuthorDate: Sat Aug 14 18:01:43 2021 +0000 Commit: Jian Lin outlook com> CommitDate: Sat Aug 14 18:01:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c22d2f3f media-libs/fcft: Bump to 2.4.5 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.5.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index 9450644a3..69ad186d2 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -4,3 +4,4 @@ DIST fcft-2.4.1.tar.gz 323792 BLAKE2B d33c087ec4bf6f0b2bba6da0110abe50de5f232bea DIST fcft-2.4.2.tar.gz 323827 BLAKE2B ae19997f3ad1ccd4170332978b83dd00547be1fff5908be84d7811357821f7606fa6da1bfaf51f94f8fd6dd68609eea6098079336cc606ea831ffe97b1ce6f28 SHA512 667a2adabca4538e8b8db5ea9f7dba5eb703aa675c3aa869769ee927c8a29860294811756746e9f308a3ded9e8ef259f8c078d528b9fecd19536e6f5926cf558 DIST fcft-2.4.3.tar.gz 324345 BLAKE2B 06f79351887b875bc37e940b2fe6fb89f00d9051713f951070e836618f3817c189f4fc167ea2334acf8f03135fa40597c07016cbd7ae9be0d86cbbfec1bd79c0 SHA512 8eb7fc108e89eeaf240eec2d3e4157b13e707ab996d5e94d5bb5488ee45a0f5df3686e7e515f9c50efa0199e9cbb2fc0192d7a09a20a298fa6edd77227a3d623 DIST fcft-2.4.4.tar.gz 324371 BLAKE2B 2bba92bb67904e8ce26228191fad77fe4b5bf881dc38fa851f80f8ef69bc6df44ad6775d86157df7671f064042cc4b4523206b96e9a4b9b7375950624dea50a6 SHA512 45d1ab44b820f78f78ab71839d16af8244cb07abd363e9d9bf0cde0df60cb7f2de9e134081c02ee68f24aca76842ea6301d28b71af7148f62019a0af6c45d035 +DIST fcft-2.4.5.tar.gz 403734 BLAKE2B 3fbd0119bb1d955b0e01be4f0ab00348b0b589849e0b338b39e424edd4994bb7ef9f51daa4e2905052a524e47d7b0f1c324300bb755eb4a43a8d920bdb820a1a SHA512 e29cabcb76357c91a93b63eaac1d548a7e4a4c05f6db39448bef6949c5e42965493b588b5c1d5cd2a223bce29e6f2a673ed63ebfa2d0d59a7edc453df06c5c8d diff --git a/media-libs/fcft/fcft-2.4.5.ebuild b/media-libs/fcft/fcft-2.4.5.ebuild new file mode 100644 index 000000000..b0405660b --- /dev/null +++ b/media-libs/fcft/fcft-2.4.5.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 )" + +RDEPEND=" + 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}" +}