Lines 7-13
Link Here
|
7 |
EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz" |
7 |
EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz" |
8 |
[[ ${PV} == 9999 ]] && inherit git-2 autotools |
8 |
[[ ${PV} == 9999 ]] && inherit git-2 autotools |
9 |
|
9 |
|
10 |
inherit eutils libtool autotools |
10 |
inherit eutils libtool autotools multilib-minimal |
11 |
|
11 |
|
12 |
DESCRIPTION="An OpenType text shaping engine" |
12 |
DESCRIPTION="An OpenType text shaping engine" |
13 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz" |
13 |
HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz" |
Lines 22-33
Link Here
|
22 |
REQUIRED_USE="introspection? ( glib )" |
22 |
REQUIRED_USE="introspection? ( glib )" |
23 |
|
23 |
|
24 |
RDEPEND=" |
24 |
RDEPEND=" |
25 |
cairo? ( x11-libs/cairo:= ) |
25 |
cairo? ( x11-libs/cairo ) |
26 |
glib? ( dev-libs/glib:2 ) |
26 |
glib? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) |
27 |
graphite? ( media-gfx/graphite2:= ) |
27 |
graphite? ( media-gfx/graphite2:=[${MULTILIB_USEDEP}] ) |
28 |
icu? ( dev-libs/icu:= ) |
28 |
icu? ( dev-libs/icu:=[${MULTILIB_USEDEP}] ) |
29 |
introspection? ( >=dev-libs/gobject-introspection-1.32 ) |
29 |
introspection? ( >=dev-libs/gobject-introspection-1.32 ) |
30 |
truetype? ( media-libs/freetype:2= ) |
30 |
truetype? ( media-libs/freetype:2=[${MULTILIB_USEDEP}] ) |
31 |
" |
31 |
" |
32 |
DEPEND="${RDEPEND} |
32 |
DEPEND="${RDEPEND} |
33 |
dev-util/gtk-doc-am |
33 |
dev-util/gtk-doc-am |
Lines 60-80
Link Here
|
60 |
elibtoolize # for Solaris |
60 |
elibtoolize # for Solaris |
61 |
} |
61 |
} |
62 |
|
62 |
|
63 |
src_configure() { |
63 |
multilib_src_configure() { |
|
|
64 |
ECONF_SOURCE="${S}" \ |
64 |
econf \ |
65 |
econf \ |
65 |
--without-coretext \ |
66 |
--without-coretext \ |
66 |
--without-uniscribe \ |
67 |
--without-uniscribe \ |
67 |
$(use_enable static-libs static) \ |
68 |
$(use_enable static-libs static) \ |
68 |
$(use_with cairo) \ |
69 |
$(multilib_is_native_abi \ |
|
|
70 |
&& use_with cairo \ |
71 |
|| echo --without-cairo) \ |
69 |
$(use_with glib) \ |
72 |
$(use_with glib) \ |
70 |
$(use_with glib gobject) \ |
73 |
$(use_with glib gobject) \ |
71 |
$(use_with graphite graphite2) \ |
74 |
$(use_with graphite graphite2) \ |
72 |
$(use_with icu) \ |
75 |
$(use_with icu) \ |
73 |
$(use_enable introspection) \ |
76 |
$(multilib_is_native_abi \ |
|
|
77 |
&& use_enable introspection \ |
78 |
|| echo --disable-introspection) \ |
74 |
$(use_with truetype freetype) |
79 |
$(use_with truetype freetype) |
75 |
} |
80 |
} |
76 |
|
81 |
|
77 |
src_install() { |
82 |
multilib_src_install_all() { |
78 |
default |
|
|
79 |
prune_libtool_files --modules |
83 |
prune_libtool_files --modules |
80 |
} |
84 |
} |