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 8379813933E for ; Thu, 22 Jul 2021 15:47:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE1FEE0A62; Thu, 22 Jul 2021 15:47:33 +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 A15CBE0A62 for ; Thu, 22 Jul 2021 15:47:33 +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 2B2FB342AA5 for ; Thu, 22 Jul 2021 15:47:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9BF7C7A3 for ; Thu, 22 Jul 2021 15:47:30 +0000 (UTC) From: "Ryan Fox" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ryan Fox" Message-ID: <1626968800.56ef949c63bfcff76d21afc4eaaf2fee176944e2.flewkey@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/fcft/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-libs/fcft/Manifest media-libs/fcft/fcft-2.4.4.ebuild X-VCS-Directories: media-libs/fcft/ X-VCS-Committer: flewkey X-VCS-Committer-Name: Ryan Fox X-VCS-Revision: 56ef949c63bfcff76d21afc4eaaf2fee176944e2 X-VCS-Branch: dev Date: Thu, 22 Jul 2021 15:47:30 +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: 139a66d0-f6b9-4a0d-9f79-3b0234f39ea8 X-Archives-Hash: f32eb2b45c1ac707769407bbb4040db8 commit: 56ef949c63bfcff76d21afc4eaaf2fee176944e2 Author: Ryan Fox 2a03 party> AuthorDate: Thu Jul 22 15:46:40 2021 +0000 Commit: Ryan Fox 2a03 party> CommitDate: Thu Jul 22 15:46:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56ef949c media-libs/fcft: Bump to 2.4.4 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.4.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index 99d06124b..9450644a3 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -3,3 +3,4 @@ DIST fcft-2.4.0.tar.gz 323605 BLAKE2B 1926d26b633cf768257340f093de734513678f3b5e DIST fcft-2.4.1.tar.gz 323792 BLAKE2B d33c087ec4bf6f0b2bba6da0110abe50de5f232beac970e657416e73f1d02fd54d342686d954e67eca86e5f676d793d94edae52f64a85ea62e662a8552289ae4 SHA512 2cce6db53010262eec36a8ef8ba146e296513b89d6a9358868c49acce1db75e058c66ef43b66433d9644460d85c6cbcdb8d755f14ca3b5a58912cd8e0e83f120 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 diff --git a/media-libs/fcft/fcft-2.4.4.ebuild b/media-libs/fcft/fcft-2.4.4.ebuild new file mode 100644 index 000000000..979d903ad --- /dev/null +++ b/media-libs/fcft/fcft-2.4.4.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}" +}