1 |
commit: 3d428adacb7a512eb9db3b0b211a0393abab91a0 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 26 19:04:13 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 26 19:07:09 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d428ada |
7 |
|
8 |
media-libs/harfbuzz: Bump to version 2.6.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
media-libs/harfbuzz/Manifest | 1 + |
14 |
media-libs/harfbuzz/harfbuzz-2.6.5.ebuild | 111 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 112 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest |
18 |
index 66b2d916e50..e741812357e 100644 |
19 |
--- a/media-libs/harfbuzz/Manifest |
20 |
+++ b/media-libs/harfbuzz/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST harfbuzz-2.6.4.tar.xz 5967468 BLAKE2B 24d215324a408a724f47a901c4a56605144d15373518bd52643ece83705d0c63582a80635ecef6a6d8d2f5f39c750076d553fb39aaa8c0dd41702ee910c32f24 SHA512 d8664bb64fda11ff7646693070637e3827f8b3d1de50e11ecf108ce4d19c878b26b2ba4cff278da6e6cc0cb431e1630d9eaa7c32a9bebb9655a7aa8dabf7114f |
23 |
+DIST harfbuzz-2.6.5.tar.xz 8510596 BLAKE2B e495fbba7e0cb58918afeb6beb3ebcf936be896ca606cef27dcbfb9b5f10add144f7fcaa50dec35a9f909d7e87deebadb7c9e6bbbadcbd799effd96076786cde SHA512 ae66211f9b4233c1da4b22b703ab4912f684390294c5c88113e6c927d5aeda8960da3ff607a7c7be5968d9fbb5a95b1f6933070d0aab2aa442a3ec8a112cd16f |
24 |
|
25 |
diff --git a/media-libs/harfbuzz/harfbuzz-2.6.5.ebuild b/media-libs/harfbuzz/harfbuzz-2.6.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..085525d97ee |
28 |
--- /dev/null |
29 |
+++ b/media-libs/harfbuzz/harfbuzz-2.6.5.ebuild |
30 |
@@ -0,0 +1,111 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
37 |
+ |
38 |
+inherit flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils |
39 |
+ |
40 |
+DESCRIPTION="An OpenType text shaping engine" |
41 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" |
42 |
+ |
43 |
+if [[ ${PV} = 9999 ]] ; then |
44 |
+ EGIT_REPO_URI="https://github.com/harfbuzz/harfbuzz.git" |
45 |
+ inherit git-r3 autotools |
46 |
+else |
47 |
+ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.xz" |
48 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="Old-MIT ISC icu" |
52 |
+SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416 |
53 |
+ |
54 |
+IUSE="+cairo debug +glib +graphite icu +introspection static-libs test +truetype" |
55 |
+RESTRICT="!test? ( test )" |
56 |
+REQUIRED_USE="introspection? ( glib )" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ cairo? ( x11-libs/cairo:= ) |
60 |
+ glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) |
61 |
+ graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) |
62 |
+ icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) |
63 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34:= ) |
64 |
+ truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) |
65 |
+" |
66 |
+DEPEND="${RDEPEND} |
67 |
+ test? ( ${PYTHON_DEPS} ) |
68 |
+" |
69 |
+BDEPEND=" |
70 |
+ dev-util/gtk-doc-am |
71 |
+ virtual/pkgconfig |
72 |
+" |
73 |
+# eautoreconf requires gobject-introspection-common |
74 |
+# ragel needed if regenerating *.hh files from *.rl |
75 |
+if [[ ${PV} = 9999 ]] ; then |
76 |
+ DEPEND+=" |
77 |
+ >=dev-libs/gobject-introspection-common-1.34 |
78 |
+ dev-util/ragel |
79 |
+ " |
80 |
+fi |
81 |
+ |
82 |
+pkg_setup() { |
83 |
+ use test && python-any-r1_pkg_setup |
84 |
+ if ! use debug ; then |
85 |
+ append-cppflags -DHB_NDEBUG |
86 |
+ fi |
87 |
+} |
88 |
+ |
89 |
+src_prepare() { |
90 |
+ default |
91 |
+ |
92 |
+ xdg_environment_reset |
93 |
+ |
94 |
+ if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then |
95 |
+ # on Darwin/Solaris we need to link with g++, like automake defaults |
96 |
+ # to, but overridden by upstream because on Linux this is not |
97 |
+ # necessary, bug #449126 |
98 |
+ sed -i \ |
99 |
+ -e 's/\<LINK\>/CXXLINK/' \ |
100 |
+ src/Makefile.am || die |
101 |
+ sed -i \ |
102 |
+ -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \ |
103 |
+ src/Makefile.in || die |
104 |
+ sed -i \ |
105 |
+ -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \ |
106 |
+ test/api/Makefile.in || die |
107 |
+ fi |
108 |
+ |
109 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
110 |
+ elibtoolize # for Solaris |
111 |
+ |
112 |
+ # bug 618772 |
113 |
+ append-cxxflags -std=c++14 |
114 |
+} |
115 |
+ |
116 |
+multilib_src_configure() { |
117 |
+ # harfbuzz-gobject only used for instrospection, bug #535852 |
118 |
+ local myeconfargs=( |
119 |
+ --without-coretext |
120 |
+ --without-fontconfig #609300 |
121 |
+ --without-uniscribe |
122 |
+ $(use_enable static-libs static) |
123 |
+ $(multilib_native_use_with cairo) |
124 |
+ $(use_with glib) |
125 |
+ $(use_with introspection gobject) |
126 |
+ $(use_with graphite graphite2) |
127 |
+ $(use_with icu) |
128 |
+ $(multilib_native_use_enable introspection) |
129 |
+ $(use_with truetype freetype) |
130 |
+ ) |
131 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
132 |
+ |
133 |
+ if multilib_is_native_abi; then |
134 |
+ ln -s "${S}"/docs/html docs/html || die |
135 |
+ fi |
136 |
+} |
137 |
+ |
138 |
+multilib_src_install_all() { |
139 |
+ einstalldocs |
140 |
+ find "${ED}" -type f -name "*.la" -delete || die |
141 |
+} |