From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5DAC0138827 for ; Sat, 3 Oct 2015 11:30:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AECC21C076; Sat, 3 Oct 2015 11:30:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3EFD21C051 for ; Sat, 3 Oct 2015 11:30:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EC4E34089F for ; Sat, 3 Oct 2015 11:30:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E455B186 for ; Sat, 3 Oct 2015 11:30:16 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1443871568.68aa8e8b149f64836030a6275529281384578046.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/pango/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/pango/pango-1.36.8-r1.ebuild X-VCS-Directories: x11-libs/pango/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 68aa8e8b149f64836030a6275529281384578046 X-VCS-Branch: master Date: Sat, 3 Oct 2015 11:30:16 +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: 45b2d9ea-2a34-4444-a20b-0c0a5b4e6d6a X-Archives-Hash: 052e269a113df01d2c65be243ad76c3e commit: 68aa8e8b149f64836030a6275529281384578046 Author: Pacho Ramos gentoo org> AuthorDate: Sat Oct 3 11:26:08 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Sat Oct 3 11:26:08 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68aa8e8b x11-libs/pango: Remove orphan old file (#536726), cantarell fonts are needed for tests (#532346), respect ROOT variable when creating modules.cache (#534360 by Mark Tomich and Fabian Groffen). Package-Manager: portage-2.2.22 x11-libs/pango/pango-1.36.8-r1.ebuild | 91 +++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/x11-libs/pango/pango-1.36.8-r1.ebuild b/x11-libs/pango/pango-1.36.8-r1.ebuild new file mode 100644 index 0000000..16d8b49 --- /dev/null +++ b/x11-libs/pango/pango-1.36.8-r1.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit gnome2 multilib toolchain-funcs multilib-minimal + +DESCRIPTION="Internationalized text layout and rendering library" +HOMEPAGE="http://www.pango.org/" + +LICENSE="LGPL-2+ FTL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" + +IUSE="X +introspection test" + +RDEPEND=" + >=media-libs/harfbuzz-0.9.12:=[glib(+),truetype(+),${MULTILIB_USEDEP}] + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] + >=media-libs/fontconfig-2.10.92:1.0=[${MULTILIB_USEDEP}] + >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] + >=x11-libs/cairo-1.12.14-r4:=[X?,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-0.9.5 ) + X? ( + >=x11-libs/libXrender-0.9.8[${MULTILIB_USEDEP}] + >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] + >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] + ) + abi_x86_32? ( + !<=app-emulation/emul-linux-x86-gtklibs-20131008-r3 + !app-emulation/emul-linux-x86-gtklibs[-abi_x86_32(-)] + ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.20 + virtual/pkgconfig + test? ( media-fonts/cantarell ) + X? ( >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] ) + !<=sys-devel/autoconf-2.63:2.5 +" + +MULTILIB_CHOST_TOOLS=( + /usr/bin/pango-querymodules +) + +multilib_src_configure() { + tc-export CXX + + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + --with-cairo \ + $(multilib_native_use_enable introspection) \ + $(use_with X xft) \ + "$(usex X --x-includes="${EPREFIX}/usr/include" "")" \ + "$(usex X --x-libraries="${EPREFIX}/usr/$(get_libdir)" "")" + + if multilib_is_native_abi; then + ln -s "${S}"/docs/html docs/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} + +pkg_postinst() { + gnome2_pkg_postinst + + multilib_pkg_postinst() { + einfo "Generating modules listing..." + + # chroot needed for bug #534360 + chroot "${ROOT}" "${CHOST}-pango-querymodules" --update-cache + + # Remove old autogenerated file to prevent collisions with newer + rm -f "${EROOT}/etc/pango/${CHOST}/pango.modules" + } + + multilib_foreach_abi multilib_pkg_postinst + + # Remove old file, bug #536726 + oldfile="${EROOT}etc/pango/pango.modules" + if [[ -f "${oldfile}" ]]; then + elog + elog "Removing old ${oldfile}..." + rm -f "${oldfile}" || eerror "Failed, please remove ${oldfile} manually" + fi +}