diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-24 10:10:17 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-08-24 10:11:29 +0200 |
commit | 6062574676af8249607a33d0d602a55fca78d233 (patch) | |
tree | e469788be64329a81902f86d57b6d2a26848cdef /media-libs/harfbuzz | |
parent | app-admin/sudo: Bump to version 1.8.21. Removed old. (diff) | |
download | gentoo-6062574676af8249607a33d0d602a55fca78d233.tar.gz gentoo-6062574676af8249607a33d0d602a55fca78d233.tar.bz2 gentoo-6062574676af8249607a33d0d602a55fca78d233.zip |
media-libs/harfbuzz: Bump to version 1.5.0
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'media-libs/harfbuzz')
-rw-r--r-- | media-libs/harfbuzz/Manifest | 1 | ||||
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-1.5.0.ebuild | 104 |
2 files changed, 105 insertions, 0 deletions
diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index 623e819b6283..a50979444f3e 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -2,3 +2,4 @@ DIST harfbuzz-1.4.5.tar.bz2 1474461 SHA256 d0e05438165884f21658154c709075feaf98c DIST harfbuzz-1.4.6.tar.bz2 1475086 SHA256 21a78b81cd20cbffdb04b59ac7edfb410e42141869f637ae1d6778e74928d293 SHA512 aade3902adadf3a8339ba1d05279e639da7cb53981adc64e2a2d32a5d49335a6a9782a62cdf80beca569ec8a639792bf0368c0b6ecad08f35bc85878678aa096 WHIRLPOOL 0ac9d9856f1ff145eaf993a01834198b5b7a07666b7cf995d60c10ee36715cf0055c42b9b0484091a6c89dfa561f674c0ec721d35ed382548d06011b30ee7877 DIST harfbuzz-1.4.7.tar.bz2 1592693 SHA256 b85f6627425d54f32118308e053b939c63a388de9bf455b3830f68cad406bc6d SHA512 18fcd50c72ee4e9409ebb396b05508b8e03d2c8be47905d0d6e40b68c0978dbba71894f9bfb6fed834ce5a95e8dadd83db307a8ff9dafc0905cef519173e7eb4 WHIRLPOOL 827898f6e3d764dd3fb2b0cf9250c1a13035ed4ca0b39070044e990a38167491b45c32aa5b0cceafc140655d675fa6763d2e1c41fe19dbbaf835a279131535f6 DIST harfbuzz-1.4.8.tar.bz2 1587622 SHA256 ccec4930ff0bb2d0c40aee203075447954b64a8c2695202413cc5e428c907131 SHA512 056a2c02f803439b39086e3ea988e424f5512b3213844f9008c62f5448a8ccdba525f532e7ed54641820a4ef6dc5bc4d13d4f7bfb39ff904f5939c855d294152 WHIRLPOOL c5b17719b0a362d775cbebf081bb6bd946c3a3401a7ed292ae0bc021abe2b4a18a5fab3adc8e65793ead45d665b2b45b04ffaf8ea2924c4325b6fd39d1b1abf6 +DIST harfbuzz-1.5.0.tar.bz2 1614725 SHA256 c088ec363be8d03f7708feb76dd22d5f102678e67d6ce63b02496ca0beb64ac1 SHA512 cde892cb7f1b0efecc6911d5793b21869f9ff4f4d012fe740c01815adad6faef405dbddc759a99ca1793a6f749206b0d44493a1f9547d6572de0426771a646b3 WHIRLPOOL 32f49789337c79c26448268a160df5405e14bc0d6cd16c4feb27816bc9869c2c4c18d8e09d3548239502d8a55db362a0b2fb28f438fd8dacc07523f017bc3009 diff --git a/media-libs/harfbuzz/harfbuzz-1.5.0.ebuild b/media-libs/harfbuzz/harfbuzz-1.5.0.ebuild new file mode 100644 index 000000000000..da388e5fba70 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-1.5.0.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz" +[[ ${PV} == 9999 ]] && inherit git-r3 autotools + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils + +DESCRIPTION="An OpenType text shaping engine" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" +[[ ${PV} == 9999 ]] || SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2" + +LICENSE="Old-MIT ISC icu" +SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416 +[[ ${PV} == 9999 ]] || \ +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" + +IUSE="+cairo debug fontconfig +glib +graphite icu +introspection static-libs test +truetype" +REQUIRED_USE="introspection? ( glib )" + +RDEPEND=" + cairo? ( x11-libs/cairo:= ) + fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] ) + glib? ( >=dev-libs/glib-2.38:2[${MULTILIB_USEDEP}] ) + graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] ) + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.34:= ) + truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] ) +" +DEPEND="${RDEPEND} + dev-util/gtk-doc-am + virtual/pkgconfig + test? ( ${PYTHON_DEPS} ) +" +# eautoreconf requires gobject-introspection-common +# ragel needed if regenerating *.hh files from *.rl +[[ ${PV} = 9999 ]] && DEPEND="${DEPEND} + >=dev-libs/gobject-introspection-common-1.34 + dev-util/ragel +" + +pkg_setup() { + use test && python-any-r1_pkg_setup + if ! use debug ; then + append-cppflags -DHB_NDEBUG + fi +} + +src_prepare() { + default + + xdg_environment_reset + + if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then + # on Darwin/Solaris we need to link with g++, like automake defaults + # to, but overridden by upstream because on Linux this is not + # necessary, bug #449126 + sed -i \ + -e 's/\<LINK\>/CXXLINK/' \ + src/Makefile.am || die + sed -i \ + -e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \ + src/Makefile.in || die + sed -i \ + -e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \ + test/api/Makefile.in || die + fi + + [[ ${PV} == 9999 ]] && eautoreconf + elibtoolize # for Solaris + + # failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190 + sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed" +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" \ + # harfbuzz-gobject only used for instrospection, bug #535852 + econf \ + --without-coretext \ + --without-uniscribe \ + $(use_enable static-libs static) \ + $(multilib_native_use_with cairo) \ + $(use_with fontconfig) \ + $(use_with glib) \ + $(use_with introspection gobject) \ + $(use_with graphite graphite2) \ + $(use_with icu) \ + $(multilib_native_use_enable introspection) \ + $(use_with truetype freetype) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/html docs/html || die + fi +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules +} |