1 |
commit: 5f6c559f71e6a2270fc371891e97a570a8968935 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 15 10:19:52 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 10:21:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f6c559f |
7 |
|
8 |
media-libs/harfbuzz: Bump to version 2.6.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
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.0.ebuild | 110 ++++++++++++++++++++++++++++++ |
15 |
2 files changed, 111 insertions(+) |
16 |
|
17 |
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest |
18 |
index 8d7d96ac37e..15c80b24326 100644 |
19 |
--- a/media-libs/harfbuzz/Manifest |
20 |
+++ b/media-libs/harfbuzz/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST harfbuzz-2.3.1.tar.bz2 17942960 BLAKE2B b1a29144b608463fa668bb66572c1530e90 |
22 |
DIST harfbuzz-2.4.0a.tar.bz2 17919355 BLAKE2B 4df7677966844481b707fe3133f4fddf3c5c41d7de8aca4e87019e88c928d66000e49117c795af69967f7c69532438ef5aa8f41ead276e7d05fdc4dd874daeb1 SHA512 daeaf029bd5d0d0674f930a8d0dcdc4e0b1253b2369c732c7b4fd130ab9438d0d9526967224a583ee58974c3b492874acaccdac13c71b58c950f0b3f031e505c |
23 |
DIST harfbuzz-2.5.2.tar.xz 5674180 BLAKE2B 64f78f215ab840cda7000813362d886ca3244ffac9acc92ce29826991d4f4c71e4fda1b4da4f1ad13d62a4569fe4173948debbd6e2da5c4d67c7d9db9ecafc85 SHA512 4a295074b56ff77581f79eae918fe064c25f07dc2ada1c87a3b2ba29ebc1ef55fa357b74c935b40621267eb061221050b4671021900ad5417580a4c57eb4739f |
24 |
DIST harfbuzz-2.5.3.tar.xz 5685712 BLAKE2B a9d8a46b6a0667c598ea011f020b09d8fd795105483a8b307ee2a9399de2b84bf3b29659f9a3f7500250879bbb412003ee6f68aaba01b68824bd489615f737e6 SHA512 a2e6cedbe0e505fa31b540e0d0bc6c0b07080bd39879c27e04d351103e21201d75a809dd2fad559bf994b82b311f67ad85778cbbfb670d7e2580beafa09e93ff |
25 |
+DIST harfbuzz-2.6.0.tar.xz 5736808 BLAKE2B 3dcdf71cce8cdb4596d6e622f6fbaeae1a36cf17c219a1bafe077a472f9d25f0a8b8ea7eb36a1e20558d982b36479ce5d3e19f022a5b7dadd563a017b5037767 SHA512 ab055183ae248710f7baee7ef45ac1a6cbd3522eb1e26b78248ac7bc9e421f5495b8fbbd19a339a26bd119f33624eb8742c15c2053407fbb74cce8dcf6c4b3a2 |
26 |
|
27 |
diff --git a/media-libs/harfbuzz/harfbuzz-2.6.0.ebuild b/media-libs/harfbuzz/harfbuzz-2.6.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..f03429a61fe |
30 |
--- /dev/null |
31 |
+++ b/media-libs/harfbuzz/harfbuzz-2.6.0.ebuild |
32 |
@@ -0,0 +1,110 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 ) |
39 |
+ |
40 |
+inherit 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://anongit.freedesktop.org/git/harfbuzz.git" |
47 |
+ inherit git-r3 autotools |
48 |
+else |
49 |
+ SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.xz" |
50 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~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 |
+REQUIRED_USE="introspection? ( glib )" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ cairo? ( x11-libs/cairo:= ) |
61 |
+ glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) |
62 |
+ graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) |
63 |
+ icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) |
64 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34:= ) |
65 |
+ truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) |
66 |
+" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ test? ( ${PYTHON_DEPS} ) |
69 |
+" |
70 |
+BDEPEND=" |
71 |
+ dev-util/gtk-doc-am |
72 |
+ virtual/pkgconfig |
73 |
+" |
74 |
+# eautoreconf requires gobject-introspection-common |
75 |
+# ragel needed if regenerating *.hh files from *.rl |
76 |
+if [[ ${PV} = 9999 ]] ; then |
77 |
+ DEPEND+=" |
78 |
+ >=dev-libs/gobject-introspection-common-1.34 |
79 |
+ dev-util/ragel |
80 |
+ " |
81 |
+fi |
82 |
+ |
83 |
+pkg_setup() { |
84 |
+ use test && python-any-r1_pkg_setup |
85 |
+ if ! use debug ; then |
86 |
+ append-cppflags -DHB_NDEBUG |
87 |
+ fi |
88 |
+} |
89 |
+ |
90 |
+src_prepare() { |
91 |
+ default |
92 |
+ |
93 |
+ xdg_environment_reset |
94 |
+ |
95 |
+ if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then |
96 |
+ # on Darwin/Solaris we need to link with g++, like automake defaults |
97 |
+ # to, but overridden by upstream because on Linux this is not |
98 |
+ # necessary, bug #449126 |
99 |
+ sed -i \ |
100 |
+ -e 's/\<LINK\>/CXXLINK/' \ |
101 |
+ src/Makefile.am || die |
102 |
+ sed -i \ |
103 |
+ -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \ |
104 |
+ src/Makefile.in || die |
105 |
+ sed -i \ |
106 |
+ -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \ |
107 |
+ test/api/Makefile.in || die |
108 |
+ fi |
109 |
+ |
110 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
111 |
+ elibtoolize # for Solaris |
112 |
+ |
113 |
+ # bug 618772 |
114 |
+ append-cxxflags -std=c++14 |
115 |
+} |
116 |
+ |
117 |
+multilib_src_configure() { |
118 |
+ # harfbuzz-gobject only used for instrospection, bug #535852 |
119 |
+ local myeconfargs=( |
120 |
+ --without-coretext |
121 |
+ --without-fontconfig #609300 |
122 |
+ --without-uniscribe |
123 |
+ $(use_enable static-libs static) |
124 |
+ $(multilib_native_use_with cairo) |
125 |
+ $(use_with glib) |
126 |
+ $(use_with introspection gobject) |
127 |
+ $(use_with graphite graphite2) |
128 |
+ $(use_with icu) |
129 |
+ $(multilib_native_use_enable introspection) |
130 |
+ $(use_with truetype freetype) |
131 |
+ ) |
132 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
133 |
+ |
134 |
+ if multilib_is_native_abi; then |
135 |
+ ln -s "${S}"/docs/html docs/html || die |
136 |
+ fi |
137 |
+} |
138 |
+ |
139 |
+multilib_src_install_all() { |
140 |
+ einstalldocs |
141 |
+ find "${ED}" -name "*.la" -delete || die |
142 |
+} |