1 |
commit: c3e32feb1e04ae1cdd628376e82f9ae32fc5fcb0 |
2 |
Author: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
3 |
AuthorDate: Wed Apr 14 22:30:36 2021 +0000 |
4 |
Commit: Ryan Fox <flewkey <AT> 2a03 <DOT> party> |
5 |
CommitDate: Wed Apr 14 22:32:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3e32feb |
7 |
|
8 |
media-libs/fcft: New package |
9 |
|
10 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
11 |
Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party> |
12 |
|
13 |
media-libs/fcft/Manifest | 1 + |
14 |
media-libs/fcft/fcft-2.3.3.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ |
15 |
media-libs/fcft/fcft-9999.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ |
16 |
media-libs/fcft/metadata.xml | 11 ++++++++++ |
17 |
4 files changed, 98 insertions(+) |
18 |
|
19 |
diff --git a/media-libs/fcft/Manifest b/media-libs/fcft/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..6999a947f |
22 |
--- /dev/null |
23 |
+++ b/media-libs/fcft/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST fcft-2.3.3.tar.gz 313168 BLAKE2B b3dbc3af511e8a8007a17400fe6880a08a62ca0cb69795438ab7c6a86f856b25a3bd26cdef8031f1c8d66f4527d191a72ce87852f001e05b8f37285dea4befb5 SHA512 91f3c1292889c2fd1cdce439e0168a37a932d3a05ea78fff93ce69ea7b1adc33424e67a0b2c36931d26128e1169e6f784f16445475c94690dedf608f92278009 |
26 |
|
27 |
diff --git a/media-libs/fcft/fcft-2.3.3.ebuild b/media-libs/fcft/fcft-2.3.3.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..6315f733f |
30 |
--- /dev/null |
31 |
+++ b/media-libs/fcft/fcft-2.3.3.ebuild |
32 |
@@ -0,0 +1,43 @@ |
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" |
53 |
+IUSE="+text-shaping" |
54 |
+ |
55 |
+DEPEND=" |
56 |
+ dev-libs/tllist |
57 |
+ media-libs/fontconfig |
58 |
+ media-libs/freetype |
59 |
+ text-shaping? ( media-libs/harfbuzz ) |
60 |
+ x11-libs/pixman |
61 |
+" |
62 |
+RDEPEND="${DEPEND}" |
63 |
+BDEPEND="" |
64 |
+ |
65 |
+src_configure() { |
66 |
+ local emesonargs=( |
67 |
+ $(meson_feature text-shaping) |
68 |
+ ) |
69 |
+ meson_src_configure |
70 |
+} |
71 |
+ |
72 |
+src_install() { |
73 |
+ meson_src_install |
74 |
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
75 |
+} |
76 |
|
77 |
diff --git a/media-libs/fcft/fcft-9999.ebuild b/media-libs/fcft/fcft-9999.ebuild |
78 |
new file mode 100644 |
79 |
index 000000000..6315f733f |
80 |
--- /dev/null |
81 |
+++ b/media-libs/fcft/fcft-9999.ebuild |
82 |
@@ -0,0 +1,43 @@ |
83 |
+# Copyright 2020-2021 Gentoo Authors |
84 |
+# Distributed under the terms of the GNU General Public License v2 |
85 |
+ |
86 |
+EAPI=7 |
87 |
+ |
88 |
+inherit meson |
89 |
+ |
90 |
+if [[ ${PV} != *9999* ]]; then |
91 |
+ SRC_URI="https://codeberg.org/dnkl/fcft/archive/${PV}.tar.gz -> ${P}.tar.gz" |
92 |
+ KEYWORDS="~amd64" |
93 |
+ S="${WORKDIR}/${PN}" |
94 |
+else |
95 |
+ inherit git-r3 |
96 |
+ EGIT_REPO_URI="https://codeberg.org/dnkl/fcft.git" |
97 |
+fi |
98 |
+ |
99 |
+DESCRIPTION="A simple library for font loading and glyph rasterization" |
100 |
+HOMEPAGE="https://codeberg.org/dnkl/fcft" |
101 |
+LICENSE="MIT" |
102 |
+SLOT="0" |
103 |
+IUSE="+text-shaping" |
104 |
+ |
105 |
+DEPEND=" |
106 |
+ dev-libs/tllist |
107 |
+ media-libs/fontconfig |
108 |
+ media-libs/freetype |
109 |
+ text-shaping? ( media-libs/harfbuzz ) |
110 |
+ x11-libs/pixman |
111 |
+" |
112 |
+RDEPEND="${DEPEND}" |
113 |
+BDEPEND="" |
114 |
+ |
115 |
+src_configure() { |
116 |
+ local emesonargs=( |
117 |
+ $(meson_feature text-shaping) |
118 |
+ ) |
119 |
+ meson_src_configure |
120 |
+} |
121 |
+ |
122 |
+src_install() { |
123 |
+ meson_src_install |
124 |
+ mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" |
125 |
+} |
126 |
|
127 |
diff --git a/media-libs/fcft/metadata.xml b/media-libs/fcft/metadata.xml |
128 |
new file mode 100644 |
129 |
index 000000000..5a2954ab2 |
130 |
--- /dev/null |
131 |
+++ b/media-libs/fcft/metadata.xml |
132 |
@@ -0,0 +1,11 @@ |
133 |
+<?xml version="1.0" encoding="UTF-8"?> |
134 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
135 |
+<pkgmetadata> |
136 |
+ <maintainer type="person"> |
137 |
+ <email>flewkey@××××.party</email> |
138 |
+ <name>Ryan Fox</name> |
139 |
+ </maintainer> |
140 |
+ <use> |
141 |
+ <flag name="text-shaping">Support text shaping using HarfBuzz</flag> |
142 |
+ </use> |
143 |
+</pkgmetadata> |