1 |
commit: 5933741eeecff5d9abd3803e80f5be0d0fe11db8 |
2 |
Author: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
3 |
AuthorDate: Sat Oct 23 18:25:50 2021 +0000 |
4 |
Commit: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
5 |
CommitDate: Sat Oct 23 18:25:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5933741e |
7 |
|
8 |
media-libs/fcft: Bump to 2.4.6 |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party> |
12 |
|
13 |
media-libs/fcft/Manifest | 1 + |
14 |
media-libs/fcft/fcft-2.4.6.ebuild | 77 +++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest |
18 |
index 69ad186d2..9084c202d 100644 |
19 |
--- a/media-libs/fcft/Manifest |
20 |
+++ b/media-libs/fcft/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST fcft-2.4.2.tar.gz 323827 BLAKE2B ae19997f3ad1ccd4170332978b83dd00547be1fff5 |
22 |
DIST fcft-2.4.3.tar.gz 324345 BLAKE2B 06f79351887b875bc37e940b2fe6fb89f00d9051713f951070e836618f3817c189f4fc167ea2334acf8f03135fa40597c07016cbd7ae9be0d86cbbfec1bd79c0 SHA512 8eb7fc108e89eeaf240eec2d3e4157b13e707ab996d5e94d5bb5488ee45a0f5df3686e7e515f9c50efa0199e9cbb2fc0192d7a09a20a298fa6edd77227a3d623 |
23 |
DIST fcft-2.4.4.tar.gz 324371 BLAKE2B 2bba92bb67904e8ce26228191fad77fe4b5bf881dc38fa851f80f8ef69bc6df44ad6775d86157df7671f064042cc4b4523206b96e9a4b9b7375950624dea50a6 SHA512 45d1ab44b820f78f78ab71839d16af8244cb07abd363e9d9bf0cde0df60cb7f2de9e134081c02ee68f24aca76842ea6301d28b71af7148f62019a0af6c45d035 |
24 |
DIST fcft-2.4.5.tar.gz 403734 BLAKE2B 3fbd0119bb1d955b0e01be4f0ab00348b0b589849e0b338b39e424edd4994bb7ef9f51daa4e2905052a524e47d7b0f1c324300bb755eb4a43a8d920bdb820a1a SHA512 e29cabcb76357c91a93b63eaac1d548a7e4a4c05f6db39448bef6949c5e42965493b588b5c1d5cd2a223bce29e6f2a673ed63ebfa2d0d59a7edc453df06c5c8d |
25 |
+DIST fcft-2.4.6.tar.gz 411139 BLAKE2B bbf0becd32060b74fdd0bbea09cdeb9251fdf660b63fb06c6d27b2cf7e7c088fb9a7e97ef2eb16326a139739a671fbd1ee0ae06ba026a27b16a16b37560db33f SHA512 554d4e01a24aba36eb44c195eef8b82aac08e8e32ddae3dabc45bef20428d02aee981610edecfb9f8311250b5c2c783664b0929305a857dd2910431512a91d95 |
26 |
|
27 |
diff --git a/media-libs/fcft/fcft-2.4.6.ebuild b/media-libs/fcft/fcft-2.4.6.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..b0405660b |
30 |
--- /dev/null |
31 |
+++ b/media-libs/fcft/fcft-2.4.6.ebuild |
32 |
@@ -0,0 +1,77 @@ |
33 |
+# Copyright 2020-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit meson |
39 |
+ |
40 |
+if [[ ${PV} != *9999* ]]; then |
41 |
+ SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64" |
43 |
+ S="${WORKDIR}/${PN}" |
44 |
+else |
45 |
+ inherit git-r3 |
46 |
+ EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" |
47 |
+fi |
48 |
+ |
49 |
+DESCRIPTION="A simple library for font loading and glyph rasterization" |
50 |
+HOMEPAGE="https://codeberg.org/dnkl/fcft" |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0/3" |
53 |
+IUSE="examples +text-shaping test" |
54 |
+RESTRICT="!test? ( test )" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ dev-libs/tllist |
58 |
+ media-libs/fontconfig |
59 |
+ media-libs/freetype |
60 |
+ x11-libs/pixman |
61 |
+ text-shaping? ( media-libs/harfbuzz ) |
62 |
+ examples? ( |
63 |
+ dev-libs/libutf8proc:= |
64 |
+ dev-libs/wayland |
65 |
+ ) |
66 |
+" |
67 |
+DEPEND=" |
68 |
+ ${RDEPEND} |
69 |
+ test? ( |
70 |
+ text-shaping? ( media-fonts/noto-emoji ) |
71 |
+ ) |
72 |
+" |
73 |
+BDEPEND=" |
74 |
+ app-text/scdoc |
75 |
+ app-i18n/unicode-data |
76 |
+ examples? ( |
77 |
+ dev-libs/wayland-protocols |
78 |
+ dev-util/wayland-scanner |
79 |
+ ) |
80 |
+" |
81 |
+ |
82 |
+src_prepare() { |
83 |
+ default |
84 |
+ |
85 |
+ rm -r "unicode" || die "Failed removing vendored unicode-data" |
86 |
+ |
87 |
+ sed -i "s;unicode/UnicodeData.txt;${EPREFIX}/usr/share/unicode-data/UnicodeData.txt;" \ |
88 |
+ meson.build || die "Failed changing UnicodeData.txt to system's copy" |
89 |
+} |
90 |
+ |
91 |
+src_configure() { |
92 |
+ local emesonargs=( |
93 |
+ $(meson_feature text-shaping) |
94 |
+ $(meson_use examples) |
95 |
+ "-Dwerror=false" |
96 |
+ ) |
97 |
+ |
98 |
+ use test && emesonargs+=( |
99 |
+ $(meson_use text-shaping test-text-shaping) |
100 |
+ ) |
101 |
+ |
102 |
+ meson_src_configure |
103 |
+} |
104 |
+ |
105 |
+src_install() { |
106 |
+ meson_src_install |
107 |
+ use examples && newbin "${BUILD_DIR}/example/example" fcft-example |
108 |
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
109 |
+} |