diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-31 09:41:56 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-01-31 09:44:12 +0100 |
commit | 59ec8745484cfaf0e9d3e9ef41ee2b887921360a (patch) | |
tree | d44bb20a507f6d7e13498c8e2b533e8f06df1df5 /media-libs/harfbuzz/harfbuzz-9999.ebuild | |
parent | media-libs/harfbuzz: Bump to version 1.7.5 (diff) | |
download | gentoo-59ec8745484cfaf0e9d3e9ef41ee2b887921360a.tar.gz gentoo-59ec8745484cfaf0e9d3e9ef41ee2b887921360a.tar.bz2 gentoo-59ec8745484cfaf0e9d3e9ef41ee2b887921360a.zip |
media-libs/harfbuzz: Synced live ebuild.
Package-Manager: Portage-2.3.21, Repoman-2.3.6
Diffstat (limited to 'media-libs/harfbuzz/harfbuzz-9999.ebuild')
-rw-r--r-- | media-libs/harfbuzz/harfbuzz-9999.ebuild | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/media-libs/harfbuzz/harfbuzz-9999.ebuild b/media-libs/harfbuzz/harfbuzz-9999.ebuild index c785260b6c40..3ba2f34c80be 100644 --- a/media-libs/harfbuzz/harfbuzz-9999.ebuild +++ b/media-libs/harfbuzz/harfbuzz-9999.ebuild @@ -1,22 +1,21 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils flag-o-matic libtool multilib-minimal python-any-r1 xdg-utils +inherit flag-o-matic libtool ltprune multilib-minimal python-any-r1 xdg-utils DESCRIPTION="An OpenType text shaping engine" HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz" -if [[ ${PV} != 9999 ]] ; then +if [[ ${PV} = 9999 ]] ; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/harfbuzz.git" + inherit git-r3 autotools +else SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2" 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" -else - inherit git-r3 autotools - #EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz" - EGIT_REPO_URI="https://anongit.freedesktop.org/git/harfbuzz.git" fi LICENSE="Old-MIT ISC icu" @@ -41,10 +40,12 @@ DEPEND="${RDEPEND} " # eautoreconf requires gobject-introspection-common # ragel needed if regenerating *.hh files from *.rl -[[ ${PV} = 9999 ]] && DEPEND+=" - >=dev-libs/gobject-introspection-common-1.34 - dev-util/ragel -" +if [[ ${PV} = 9999 ]] ; then + DEPEND+=" + >=dev-libs/gobject-introspection-common-1.34 + dev-util/ragel + " +fi pkg_setup() { use test && python-any-r1_pkg_setup @@ -81,20 +82,21 @@ src_prepare() { } 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) \ + local myeconfargs=( + --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) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" if multilib_is_native_abi; then ln -s "${S}"/docs/html docs/html || die |