1 |
commit: 4ad81a5672911e883acd65a92a5952fd243f9570 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 26 08:00:43 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 26 08:16:35 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad81a56 |
7 |
|
8 |
media-libs/harfbuzz: Bump to version 1.4.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
media-libs/harfbuzz/Manifest | 1 + |
13 |
media-libs/harfbuzz/harfbuzz-1.4.6.ebuild | 101 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 102 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest |
17 |
index 2c31c7e5297..bc3f95f1fdd 100644 |
18 |
--- a/media-libs/harfbuzz/Manifest |
19 |
+++ b/media-libs/harfbuzz/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST harfbuzz-1.3.1.tar.bz2 1358437 SHA256 a242206dd119d5e6cc1b2253c116abbae03f9 |
21 |
DIST harfbuzz-1.3.4.tar.bz2 1408308 SHA256 718aa6fcadef1a6548315b8cfe42cc27e926256302c337f42df3a443843f6a2b SHA512 72027ce64d735f1f7ecabcc78ba426d6155cebd564439feb77cefdfc28b00bfd9f6314e6735addaa90cee1d98cf6d2c0b61f77b446ba34e11f7eb7cdfdcd386a WHIRLPOOL 998c7255dc2a67e40c9872434a3c73e0133fb70d7423772286c485c4cf97c56578d922bc68e934dec64e88d2a6b35ef91e5aae39373cbd941aa4990b94abc387 |
22 |
DIST harfbuzz-1.4.3.tar.bz2 1470967 SHA256 838c17400a88a3a451eb401573ef94cdd50919730d98255547c459fef1d85321 SHA512 d80efc65054ef7310441a0f49961fb8df1ca569c9ab12bd4a36255863b896021b1c1516455e38b011fb2871b5428bd285dfca884e263d976937bee16e515124c WHIRLPOOL 299a01ce9189843dc5bc5de87e1081e2f2eb929d31d7740f7ed88889604ecf7f7a8976ceeae2206ca170f4deab191b848345c515b30a2e14c60446825f7fc084 |
23 |
DIST harfbuzz-1.4.5.tar.bz2 1474461 SHA256 d0e05438165884f21658154c709075feaf98c93ee5c694b951533ac425a9a711 SHA512 dd505ef950ef1d702a820987d8e93097e4c4fd9f725d18e69dd756ea21d4d5624eb2edfc8563f89947e3913bf5efa1834092e06ea02821744b0b588ce2ceb00e WHIRLPOOL a81252744980fb53816df7ce7ed810e0202551976a90493da4e382dc19947bd715d83fcdbc31f39312d9e91b53443667faabe178ad59edb5d06df2ed1569ce06 |
24 |
+DIST harfbuzz-1.4.6.tar.bz2 1475086 SHA256 21a78b81cd20cbffdb04b59ac7edfb410e42141869f637ae1d6778e74928d293 SHA512 aade3902adadf3a8339ba1d05279e639da7cb53981adc64e2a2d32a5d49335a6a9782a62cdf80beca569ec8a639792bf0368c0b6ecad08f35bc85878678aa096 WHIRLPOOL 0ac9d9856f1ff145eaf993a01834198b5b7a07666b7cf995d60c10ee36715cf0055c42b9b0484091a6c89dfa561f674c0ec721d35ed382548d06011b30ee7877 |
25 |
|
26 |
diff --git a/media-libs/harfbuzz/harfbuzz-1.4.6.ebuild b/media-libs/harfbuzz/harfbuzz-1.4.6.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c46b2a1d717 |
29 |
--- /dev/null |
30 |
+++ b/media-libs/harfbuzz/harfbuzz-1.4.6.ebuild |
31 |
@@ -0,0 +1,101 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz" |
38 |
+[[ ${PV} == 9999 ]] && inherit git-r3 autotools |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 ) |
41 |
+ |
42 |
+inherit eutils libtool multilib-minimal python-any-r1 xdg-utils |
43 |
+ |
44 |
+DESCRIPTION="An OpenType text shaping engine" |
45 |
+HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" |
46 |
+[[ ${PV} == 9999 ]] || SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2" |
47 |
+ |
48 |
+LICENSE="Old-MIT ISC icu" |
49 |
+SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416 |
50 |
+[[ ${PV} == 9999 ]] || \ |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris" |
52 |
+ |
53 |
+IUSE="+cairo fontconfig +glib +graphite icu +introspection static-libs test +truetype" |
54 |
+REQUIRED_USE="introspection? ( glib )" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ cairo? ( x11-libs/cairo:= ) |
58 |
+ fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] ) |
59 |
+ glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) |
60 |
+ graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) |
61 |
+ icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) |
62 |
+ introspection? ( >=dev-libs/gobject-introspection-1.34:= ) |
63 |
+ truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ dev-util/gtk-doc-am |
67 |
+ virtual/pkgconfig |
68 |
+ test? ( ${PYTHON_DEPS} ) |
69 |
+" |
70 |
+# eautoreconf requires gobject-introspection-common |
71 |
+# ragel needed if regenerating *.hh files from *.rl |
72 |
+[[ ${PV} = 9999 ]] && DEPEND="${DEPEND} |
73 |
+ >=dev-libs/gobject-introspection-common-1.34 |
74 |
+ dev-util/ragel |
75 |
+" |
76 |
+ |
77 |
+pkg_setup() { |
78 |
+ use test && python-any-r1_pkg_setup |
79 |
+} |
80 |
+ |
81 |
+src_prepare() { |
82 |
+ default |
83 |
+ |
84 |
+ xdg_environment_reset |
85 |
+ |
86 |
+ if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then |
87 |
+ # on Darwin/Solaris we need to link with g++, like automake defaults |
88 |
+ # to, but overridden by upstream because on Linux this is not |
89 |
+ # necessary, bug #449126 |
90 |
+ sed -i \ |
91 |
+ -e 's/\<LINK\>/CXXLINK/' \ |
92 |
+ src/Makefile.am || die |
93 |
+ sed -i \ |
94 |
+ -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \ |
95 |
+ src/Makefile.in || die |
96 |
+ sed -i \ |
97 |
+ -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \ |
98 |
+ test/api/Makefile.in || die |
99 |
+ fi |
100 |
+ |
101 |
+ [[ ${PV} == 9999 ]] && eautoreconf |
102 |
+ elibtoolize # for Solaris |
103 |
+ |
104 |
+ # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190 |
105 |
+ sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed" |
106 |
+} |
107 |
+ |
108 |
+multilib_src_configure() { |
109 |
+ ECONF_SOURCE="${S}" \ |
110 |
+ # harfbuzz-gobject only used for instrospection, bug #535852 |
111 |
+ econf \ |
112 |
+ --without-coretext \ |
113 |
+ --without-uniscribe \ |
114 |
+ $(use_enable static-libs static) \ |
115 |
+ $(multilib_native_use_with cairo) \ |
116 |
+ $(use_with fontconfig) \ |
117 |
+ $(use_with glib) \ |
118 |
+ $(use_with introspection gobject) \ |
119 |
+ $(use_with graphite graphite2) \ |
120 |
+ $(use_with icu) \ |
121 |
+ $(multilib_native_use_enable introspection) \ |
122 |
+ $(use_with truetype freetype) |
123 |
+ |
124 |
+ if multilib_is_native_abi; then |
125 |
+ ln -s "${S}"/docs/html docs/html || die |
126 |
+ fi |
127 |
+} |
128 |
+ |
129 |
+multilib_src_install_all() { |
130 |
+ einstalldocs |
131 |
+ prune_libtool_files --modules |
132 |
+} |