Lines 6-12
Link Here
|
6 |
PYTHON_COMPAT=( python2_{5,6,7} ) |
6 |
PYTHON_COMPAT=( python2_{5,6,7} ) |
7 |
# Avoid runtime dependency on python when USE=test |
7 |
# Avoid runtime dependency on python when USE=test |
8 |
|
8 |
|
9 |
inherit autotools bash-completion-r1 gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python-r1 toolchain-funcs versionator virtualx linux-info |
9 |
inherit autotools bash-completion-r1 gnome.org libtool eutils flag-o-matic gnome2-utils multilib pax-utils python-r1 toolchain-funcs versionator virtualx linux-info multilib-minimal |
10 |
|
10 |
|
11 |
DESCRIPTION="The GLib library of C routines" |
11 |
DESCRIPTION="The GLib library of C routines" |
12 |
HOMEPAGE="http://www.gtk.org/" |
12 |
HOMEPAGE="http://www.gtk.org/" |
Lines 17-30
Link Here
|
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
17 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux" |
18 |
|
18 |
|
19 |
RDEPEND=" |
19 |
RDEPEND=" |
20 |
virtual/libiconv |
20 |
virtual/libiconv[${MULTILIB_USEDEP}] |
21 |
virtual/libffi |
21 |
virtual/libffi[${MULTILIB_USEDEP}] |
22 |
sys-libs/zlib |
22 |
sys-libs/zlib[${MULTILIB_USEDEP}] |
23 |
|| ( |
23 |
|| ( |
24 |
>=dev-libs/elfutils-0.142 |
24 |
>=dev-libs/elfutils-0.142 |
25 |
>=dev-libs/libelf-0.8.12 ) |
25 |
>=dev-libs/libelf-0.8.12 ) |
26 |
xattr? ( sys-apps/attr ) |
26 |
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] ) |
27 |
fam? ( virtual/fam ) |
27 |
fam? ( virtual/fam[${MULTILIB_USEDEP}] ) |
28 |
utils? ( |
28 |
utils? ( |
29 |
${PYTHON_DEPS} |
29 |
${PYTHON_DEPS} |
30 |
>=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] ) |
30 |
>=dev-util/gdbus-codegen-${PV}[${PYTHON_USEDEP}] ) |
Lines 147-153
Link Here
|
147 |
epunt_cxx |
147 |
epunt_cxx |
148 |
} |
148 |
} |
149 |
|
149 |
|
150 |
src_configure() { |
150 |
multilib_src_configure() { |
151 |
# Avoid circular depend with dev-util/pkgconfig and |
151 |
# Avoid circular depend with dev-util/pkgconfig and |
152 |
# native builds (cross-compiles won't need pkg-config |
152 |
# native builds (cross-compiles won't need pkg-config |
153 |
# in the target ROOT to work here) |
153 |
# in the target ROOT to work here) |
Lines 167-174
Link Here
|
167 |
# convert this to the use_enable form, as it results in a broken build. |
167 |
# convert this to the use_enable form, as it results in a broken build. |
168 |
use debug && myconf="--enable-debug" |
168 |
use debug && myconf="--enable-debug" |
169 |
|
169 |
|
|
|
170 |
# Only used by the gresource bin |
171 |
multilib_is_native_abi || myconf="${myconf} --disable-libelf" |
172 |
|
170 |
# Always use internal libpcre, bug #254659 |
173 |
# Always use internal libpcre, bug #254659 |
171 |
econf ${myconf} \ |
174 |
ECONF_SOURCE="${S}" econf ${myconf} \ |
172 |
$(use_enable xattr) \ |
175 |
$(use_enable xattr) \ |
173 |
$(use_enable fam) \ |
176 |
$(use_enable fam) \ |
174 |
$(use_enable selinux) \ |
177 |
$(use_enable selinux) \ |
Lines 182-190
Link Here
|
182 |
--with-xml-catalog="${EPREFIX}/etc/xml/catalog" |
185 |
--with-xml-catalog="${EPREFIX}/etc/xml/catalog" |
183 |
} |
186 |
} |
184 |
|
187 |
|
185 |
src_install() { |
188 |
multilib_src_install_all() { |
186 |
default |
|
|
187 |
|
188 |
if use utils ; then |
189 |
if use utils ; then |
189 |
python_replicate_script "${ED}"/usr/bin/gtester-report |
190 |
python_replicate_script "${ED}"/usr/bin/gtester-report |
190 |
else |
191 |
else |
Lines 203-209
Link Here
|
203 |
prune_libtool_files --modules |
204 |
prune_libtool_files --modules |
204 |
} |
205 |
} |
205 |
|
206 |
|
206 |
src_test() { |
207 |
multilib_src_test() { |
207 |
gnome2_environment_reset |
208 |
gnome2_environment_reset |
208 |
|
209 |
|
209 |
unset DBUS_SESSION_BUS_ADDRESS |
210 |
unset DBUS_SESSION_BUS_ADDRESS |
Lines 220-226
Link Here
|
220 |
|
221 |
|
221 |
# Hardened: gdb needs this, bug #338891 |
222 |
# Hardened: gdb needs this, bug #338891 |
222 |
if host-is-pax ; then |
223 |
if host-is-pax ; then |
223 |
pax-mark -mr "${S}"/tests/.libs/assert-msg-test \ |
224 |
pax-mark -mr "${BUILD_DIR}"/tests/.libs/assert-msg-test \ |
224 |
|| die "Hardened adjustment failed" |
225 |
|| die "Hardened adjustment failed" |
225 |
fi |
226 |
fi |
226 |
|
227 |
|