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 0C1C8158086 for ; Sat, 23 Oct 2021 18:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF645E07F0; Sat, 23 Oct 2021 18:26:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45640E07F0 for ; Sat, 23 Oct 2021 18:26:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0665B343148 for ; Sat, 23 Oct 2021 18:26:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76AEC144 for ; Sat, 23 Oct 2021 18:26:56 +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: <1635013550.5933741eeecff5d9abd3803e80f5be0d0fe11db8.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.6.ebuild X-VCS-Directories: media-libs/fcft/ X-VCS-Committer: flewkey X-VCS-Committer-Name: Ryan Fox X-VCS-Revision: 5933741eeecff5d9abd3803e80f5be0d0fe11db8 X-VCS-Branch: dev Date: Sat, 23 Oct 2021 18:26:56 +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: ad971cd5-54a6-47fc-9e93-893b9c95a57c X-Archives-Hash: a4da631582600927517248b89679baf3 commit: 5933741eeecff5d9abd3803e80f5be0d0fe11db8 Author: Ryan Fox 2a03 party> AuthorDate: Sat Oct 23 18:25:50 2021 +0000 Commit: Ryan Fox 2a03 party> CommitDate: Sat Oct 23 18:25:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5933741e media-libs/fcft: Bump to 2.4.6 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ryan Fox 2a03.party> media-libs/fcft/Manifest | 1 + media-libs/fcft/fcft-2.4.6.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest index 69ad186d2..9084c202d 100644 --- a/media-libs/fcft/Manifest +++ b/media-libs/fcft/Manifest @@ -5,3 +5,4 @@ DIST fcft-2.4.2.tar.gz 323827 BLAKE2B ae19997f3ad1ccd4170332978b83dd00547be1fff5 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 +DIST fcft-2.4.6.tar.gz 411139 BLAKE2B bbf0becd32060b74fdd0bbea09cdeb9251fdf660b63fb06c6d27b2cf7e7c088fb9a7e97ef2eb16326a139739a671fbd1ee0ae06ba026a27b16a16b37560db33f SHA512 554d4e01a24aba36eb44c195eef8b82aac08e8e32ddae3dabc45bef20428d02aee981610edecfb9f8311250b5c2c783664b0929305a857dd2910431512a91d95 diff --git a/media-libs/fcft/fcft-2.4.6.ebuild b/media-libs/fcft/fcft-2.4.6.ebuild new file mode 100644 index 000000000..b0405660b --- /dev/null +++ b/media-libs/fcft/fcft-2.4.6.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}" +}