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