Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 378871 | Differences between
and this patch

Collapse All | Expand All

(-)virtualbox.orig//virtualbox-4.1.6-r1.ebuild (-1 / +15 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit eutils fdo-mime flag-o-matic linux-info pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2
7
inherit eutils fdo-mime flag-o-matic linux-info pax-utils distutils qt4-r2 toolchain-funcs java-pkg-opt-2
8
8
9
if [[ ${PV} == "9999" ]] ; then
9
if [[ ${PV} == "9999" ]] ; then
10
	# XXX: should finish merging the -9999 ebuild into this one ...
10
	# XXX: should finish merging the -9999 ebuild into this one ...
Lines 23-28 Link Here
23
SLOT="0"
23
SLOT="0"
24
KEYWORDS="~amd64 ~x86"
24
KEYWORDS="~amd64 ~x86"
25
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
25
IUSE="+additions alsa doc extensions headless java pam pulseaudio +opengl python +qt4 +sdk vboxwebsrv vnc"
26
PYTHON_MODNAME="xpcom"
26
27
27
RDEPEND="!app-emulation/virtualbox-bin
28
RDEPEND="!app-emulation/virtualbox-bin
28
	~app-emulation/virtualbox-modules-${PV}
29
	~app-emulation/virtualbox-modules-${PV}
Lines 215-220 Link Here
215
src_compile() {
216
src_compile() {
216
	source ./env.sh
217
	source ./env.sh
217
218
219
        if use python; then
220
		cd src/libs/libxml2-2.6.30/python
221
                distutils_src_compile
222
		cd ${S}
223
        fi
224
218
	# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
225
	# Force kBuild to respect C[XX]FLAGS and MAKEOPTS (bug #178529)
219
	# and strip all flags
226
	# and strip all flags
220
	# strip-flags
227
	# strip-flags
Lines 346-351 Link Here
346
		java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
353
		java-pkg_regjar "${D}/usr/$(get_libdir)/${PN}/sdk/bindings/xpcom/java/vboxjxpcom.jar"
347
		java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
354
		java-pkg_regso "${D}/usr/$(get_libdir)/${PN}/libvboxjxpcom.so"
348
	fi
355
	fi
356
357
	if use python; then
358
		cd ${S}/src/libs/libxml2-2.6.30/python
359
		distutils_src_install
360
		cp -r ${S}/src/VBox/Frontends/VBoxShell/vboxshell.py ${ED}/usr/bin/ || die
361
		cd ${S}
362
	fi
349
}
363
}
350
364
351
pkg_postinst() {
365
pkg_postinst() {

Return to bug 378871