2012-05-07 00:32:00 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2012-02-06 16:39:49 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-11-18 02:00:57 +04:00
|
|
|
# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.9.5.ebuild,v 1.2 2012/11/16 19:56:34 ago Exp $
|
2012-02-06 16:39:49 +04:00
|
|
|
|
2012-11-01 10:43:27 +04:00
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
|
|
|
|
[[ ${PV} == 9999 ]] && inherit git-2 autotools
|
|
|
|
|
|
|
|
inherit eutils
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
DESCRIPTION="An OpenType text shaping engine"
|
|
|
|
HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
|
2012-11-01 10:43:27 +04:00
|
|
|
[[ ${PV} == 9999 ]] || SRC_URI="http://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2012-11-18 02:00:57 +04:00
|
|
|
|
|
|
|
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
|
|
|
[[ ${PV} == 9999 ]] || \
|
|
|
|
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
|
|
|
|
2012-11-01 10:43:27 +04:00
|
|
|
IUSE="static-libs"
|
2012-02-06 16:39:49 +04:00
|
|
|
|
|
|
|
RDEPEND="
|
|
|
|
dev-libs/glib:2
|
|
|
|
dev-libs/icu
|
|
|
|
media-gfx/graphite2
|
|
|
|
media-libs/freetype:2
|
|
|
|
x11-libs/cairo
|
|
|
|
"
|
|
|
|
DEPEND="${RDEPEND}
|
2012-05-07 00:32:00 +04:00
|
|
|
virtual/pkgconfig
|
2012-02-06 16:39:49 +04:00
|
|
|
"
|
|
|
|
|
2012-11-01 10:43:27 +04:00
|
|
|
src_prepare() {
|
|
|
|
[[ ${PV} == 9999 ]] && eautoreconf
|
|
|
|
}
|
|
|
|
|
2012-02-06 16:39:49 +04:00
|
|
|
src_configure() {
|
|
|
|
econf \
|
2012-11-01 10:43:27 +04:00
|
|
|
$(use_enable static-libs static)
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
2012-11-01 10:43:27 +04:00
|
|
|
prune_libtool_files --all
|
2012-02-06 16:39:49 +04:00
|
|
|
}
|