From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B35B9139694 for ; Thu, 20 Jul 2017 12:06:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CFF51FC002; Thu, 20 Jul 2017 12:06:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5B7921FC002 for ; Thu, 20 Jul 2017 12:06:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0FB33341845 for ; Thu, 20 Jul 2017 12:06:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7675174BD for ; Thu, 20 Jul 2017 12:06:46 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1500552399.1b8f827cd9dff3820aecef64037a792d4c84717c.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/harfbuzz/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/harfbuzz/Manifest media-libs/harfbuzz/harfbuzz-1.4.7.ebuild X-VCS-Directories: media-libs/harfbuzz/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 1b8f827cd9dff3820aecef64037a792d4c84717c X-VCS-Branch: master Date: Thu, 20 Jul 2017 12:06:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b858c96c-89d9-46ce-8176-9e466e95e9f4 X-Archives-Hash: d7651eb6bfdcdca52aa89833e98f2287 commit: 1b8f827cd9dff3820aecef64037a792d4c84717c Author: Lars Wendler gentoo org> AuthorDate: Thu Jul 20 12:05:47 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Thu Jul 20 12:06:39 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b8f827c media-libs/harfbuzz: Bump to version 1.4.7 Package-Manager: Portage-2.3.6, Repoman-2.3.3 media-libs/harfbuzz/Manifest | 1 + media-libs/harfbuzz/harfbuzz-1.4.7.ebuild | 104 ++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+) diff --git a/media-libs/harfbuzz/Manifest b/media-libs/harfbuzz/Manifest index ee6a89b2438..7b0dc484ebf 100644 --- a/media-libs/harfbuzz/Manifest +++ b/media-libs/harfbuzz/Manifest @@ -1,2 +1,3 @@ DIST harfbuzz-1.4.5.tar.bz2 1474461 SHA256 d0e05438165884f21658154c709075feaf98c93ee5c694b951533ac425a9a711 SHA512 dd505ef950ef1d702a820987d8e93097e4c4fd9f725d18e69dd756ea21d4d5624eb2edfc8563f89947e3913bf5efa1834092e06ea02821744b0b588ce2ceb00e WHIRLPOOL a81252744980fb53816df7ce7ed810e0202551976a90493da4e382dc19947bd715d83fcdbc31f39312d9e91b53443667faabe178ad59edb5d06df2ed1569ce06 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 diff --git a/media-libs/harfbuzz/harfbuzz-1.4.7.ebuild b/media-libs/harfbuzz/harfbuzz-1.4.7.ebuild new file mode 100644 index 00000000000..da388e5fba7 --- /dev/null +++ b/media-libs/harfbuzz/harfbuzz-1.4.7.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/\/CXXLINK/' \ + src/Makefile.am || die + sed -i \ + -e '/libharfbuzz_la_LINK = /s/\/CXXLINK/' \ + src/Makefile.in || die + sed -i \ + -e '/AM_V_CCLD/s/\/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 +}