Lines 24-30
Link Here
|
24 |
SLOT="0" |
24 |
SLOT="0" |
25 |
IUSE="doc gudev +hwdb kmod introspection +keymap +modutils +openrc +rule-generator selinux static-libs test" |
25 |
IUSE="doc gudev +hwdb kmod introspection +keymap +modutils +openrc +rule-generator selinux static-libs test" |
26 |
|
26 |
|
27 |
COMMON_DEPEND="gudev? ( dev-libs/glib:2 ) |
27 |
COMMON_DEPEND="gudev? ( dev-libs/glib:2[${MULTILIB_USEDEP}] ) |
28 |
kmod? ( sys-apps/kmod ) |
28 |
kmod? ( sys-apps/kmod ) |
29 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
29 |
introspection? ( >=dev-libs/gobject-introspection-1.31.1 ) |
30 |
selinux? ( sys-libs/libselinux ) |
30 |
selinux? ( sys-libs/libselinux ) |
Lines 135-140
Link Here
|
135 |
--with-html-dir="/usr/share/doc/${PF}/html" |
135 |
--with-html-dir="/usr/share/doc/${PF}/html" |
136 |
--enable-split-usr |
136 |
--enable-split-usr |
137 |
--exec-prefix=/ |
137 |
--exec-prefix=/ |
|
|
138 |
|
139 |
$(use_enable gudev) |
138 |
) |
140 |
) |
139 |
|
141 |
|
140 |
# Only build libudev for non-native_abi, and only install it to libdir, |
142 |
# Only build libudev for non-native_abi, and only install it to libdir, |
Lines 142-148
Link Here
|
142 |
if multilib_build_binaries; then econf_args+=( |
144 |
if multilib_build_binaries; then econf_args+=( |
143 |
--with-rootlibdir=/$(get_libdir) |
145 |
--with-rootlibdir=/$(get_libdir) |
144 |
$(use_enable doc gtk-doc) |
146 |
$(use_enable doc gtk-doc) |
145 |
$(use_enable gudev) |
|
|
146 |
$(use_enable introspection) |
147 |
$(use_enable introspection) |
147 |
$(use_enable keymap) |
148 |
$(use_enable keymap) |
148 |
$(use_enable kmod libkmod) |
149 |
$(use_enable kmod libkmod) |
Lines 152-158
Link Here
|
152 |
$(use_enable rule-generator) |
153 |
$(use_enable rule-generator) |
153 |
) |
154 |
) |
154 |
else econf_args+=( |
155 |
else econf_args+=( |
155 |
$(echo --disable-{gtk-doc,gudev,introspection,keymap,libkmod,modules,static,selinux,rule-generator}) |
156 |
$(echo --disable-{gtk-doc,introspection,keymap,libkmod,modules,static,selinux,rule-generator}) |
156 |
) |
157 |
) |
157 |
fi |
158 |
fi |
158 |
ECONF_SOURCE="${S}" econf "${econf_args[@]}" |
159 |
ECONF_SOURCE="${S}" econf "${econf_args[@]}" |
Lines 160-177
Link Here
|
160 |
|
161 |
|
161 |
multilib_src_compile() |
162 |
multilib_src_compile() |
162 |
{ |
163 |
{ |
163 |
if ! multilib_build_binaries; then |
164 |
if multilib_build_binaries; then |
164 |
cd src/libudev || die "Could not change directory" |
165 |
emake |
|
|
166 |
else |
167 |
emake -C src/libudev |
168 |
emake -C src/gudev |
165 |
fi |
169 |
fi |
166 |
emake |
|
|
167 |
} |
170 |
} |
168 |
|
171 |
|
169 |
multilib_src_install() |
172 |
multilib_src_install() |
170 |
{ |
173 |
{ |
171 |
if ! multilib_build_binaries; then |
174 |
if multilib_build_binaries; then |
172 |
cd src/libudev || die "Could not change directory" |
175 |
emake DESTDIR="${D}" install |
|
|
176 |
else |
177 |
emake -C src/libudev DESTDIR="${D}" install |
178 |
emake -C src/gudev DESTDIR="${D}" install |
173 |
fi |
179 |
fi |
174 |
emake DESTDIR="${D}" install |
|
|
175 |
} |
180 |
} |
176 |
|
181 |
|
177 |
multilib_src_test() |
182 |
multilib_src_test() |