summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-07-08 14:51:21 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-07-08 14:51:21 +0000
commitabc07e1b618268b3828c37576c4d94af40cc1eee (patch)
treec3c44298d03821ce3a1fe52ada135143eca0d550 /app-emulation
parentVersion bump. Removed old (diff)
downloadgentoo-2-abc07e1b618268b3828c37576c4d94af40cc1eee.tar.gz
gentoo-2-abc07e1b618268b3828c37576c4d94af40cc1eee.tar.bz2
gentoo-2-abc07e1b618268b3828c37576c4d94af40cc1eee.zip
Version bump. Removed old
(Portage version: 2.2.0_alpha187/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox/virtualbox-4.2.14.ebuild10
-rw-r--r--app-emulation/virtualbox/virtualbox-4.2.16.ebuild (renamed from app-emulation/virtualbox/virtualbox-4.2.12.ebuild)46
2 files changed, 34 insertions, 22 deletions
diff --git a/app-emulation/virtualbox/virtualbox-4.2.14.ebuild b/app-emulation/virtualbox/virtualbox-4.2.14.ebuild
index 94cb6df4f2dd..f53fdc246cd0 100644
--- a/app-emulation/virtualbox/virtualbox-4.2.14.ebuild
+++ b/app-emulation/virtualbox/virtualbox-4.2.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.14.ebuild,v 1.1 2013/06/24 10:56:11 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.14.ebuild,v 1.2 2013/07/08 14:51:21 polynomial-c Exp $
EAPI=5
@@ -70,7 +70,7 @@ DEPEND="${RDEPEND}
!headless? ( x11-libs/libXinerama )
pulseaudio? ( media-sound/pulseaudio )
vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )
- python? ( ${PYTHON_DEPS} )"
+ ${PYTHON_DEPS}"
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
@@ -112,9 +112,9 @@ REQUIRED_USE="
java? ( sdk )
python? (
( sdk )
- ( ${PYTHON_REQUIRED_USE} )
)
vboxwebsrv? ( java )
+ ${PYTHON_REQUIRED_USE}
"
pkg_setup() {
@@ -130,6 +130,10 @@ pkg_setup() {
einfo "No USE=\"opengl\" selected, this build will lack"
einfo "the OpenGL feature."
fi
+ if ! use python ; then
+ einfo "You have disabled the \"python\" USE flag. This will only"
+ einfo "disable the python bindings being installed."
+ fi
java-pkg-opt-2_pkg_setup
python-single-r1_pkg_setup
}
diff --git a/app-emulation/virtualbox/virtualbox-4.2.12.ebuild b/app-emulation/virtualbox/virtualbox-4.2.16.ebuild
index 0322f301d827..5fc290879e92 100644
--- a/app-emulation/virtualbox/virtualbox-4.2.12.ebuild
+++ b/app-emulation/virtualbox/virtualbox-4.2.16.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.12.ebuild,v 1.1 2013/04/13 20:33:35 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/virtualbox-4.2.16.ebuild,v 1.1 2013/07/08 14:51:21 polynomial-c Exp $
-EAPI=4
+EAPI=5
-inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python qt4-r2 toolchain-funcs java-pkg-opt-2 udev
+PYTHON_COMPAT=( python2_7 )
+inherit eutils fdo-mime flag-o-matic linux-info multilib pax-utils python-single-r1 qt4-r2 toolchain-funcs java-pkg-opt-2 udev
MY_PV="${PV/beta/BETA}"
MY_PV="${MY_PV/rc/RC}"
@@ -68,7 +69,8 @@ DEPEND="${RDEPEND}
alsa? ( >=media-libs/alsa-lib-1.0.13 )
!headless? ( x11-libs/libXinerama )
pulseaudio? ( media-sound/pulseaudio )
- vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )"
+ vboxwebsrv? ( >=net-libs/gsoap-2.7.13 )
+ ${PYTHON_DEPS}"
PDEPEND="additions? ( ~app-emulation/virtualbox-additions-${PV} )
extensions? ( ~app-emulation/virtualbox-extpack-oracle-${PV} )"
@@ -108,8 +110,11 @@ QA_TEXTRELS_x86="usr/lib/virtualbox-ose/VBoxGuestPropSvc.so
REQUIRED_USE="
java? ( sdk )
- python? ( sdk )
+ python? (
+ ( sdk )
+ )
vboxwebsrv? ( java )
+ ${PYTHON_REQUIRED_USE}
"
pkg_setup() {
@@ -125,9 +130,12 @@ pkg_setup() {
einfo "No USE=\"opengl\" selected, this build will lack"
einfo "the OpenGL feature."
fi
+ if ! use python ; then
+ einfo "You have disabled the \"python\" USE flag. This will only"
+ einfo "disable the python bindings being installed."
+ fi
java-pkg-opt-2_pkg_setup
- python_set_active_version 2
- python_pkg_setup
+ python-single-r1_pkg_setup
}
src_prepare() {
@@ -215,7 +223,7 @@ src_compile() {
TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" \
VBOX_GCC_OPT="${CXXFLAGS}" \
TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" \
- all || die "kmk failed"
+ all
}
src_install() {
@@ -232,7 +240,7 @@ src_install() {
# Symlink binaries to the shipped wrapper
exeinto /usr/$(get_libdir)/${PN}
- newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox" || die
+ newexe "${FILESDIR}/${PN}-ose-3-wrapper" "VBox"
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBox
fperms 0750 /usr/$(get_libdir)/${PN}/VBox
@@ -243,14 +251,14 @@ src_install() {
# Install binaries and libraries
insinto /usr/$(get_libdir)/${PN}
- doins -r components || die
+ doins -r components
if use sdk ; then
- doins -r sdk || die
+ doins -r sdk
fi
if use vboxwebsrv ; then
- doins vboxwebsrv || die
+ doins vboxwebsrv
fowners root:vboxusers /usr/$(get_libdir)/${PN}/vboxwebsrv
fperms 0750 /usr/$(get_libdir)/${PN}/vboxwebsrv
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/vboxwebsrv
@@ -259,7 +267,7 @@ src_install() {
fi
for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,NetAdpCtl,NetDHCP,ExtPackHelperApp} *so *r0 *gc ; do
- doins $each || die
+ doins $each
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 0750 /usr/$(get_libdir)/${PN}/${each}
done
@@ -272,14 +280,14 @@ src_install() {
if ! use headless ; then
for each in VBox{SDL,Headless} ; do
- doins $each || die
+ doins $each
fowners root:vboxusers /usr/$(get_libdir)/${PN}/${each}
fperms 4750 /usr/$(get_libdir)/${PN}/${each}
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/${each}
done
if use opengl && use qt4 ; then
- doins VBoxTestOGL || die
+ doins VBoxTestOGL
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxTestOGL
fperms 0750 /usr/$(get_libdir)/${PN}/VBoxTestOGL
fi
@@ -287,7 +295,7 @@ src_install() {
dosym /usr/$(get_libdir)/${PN}/VBox /usr/bin/VBoxSDL
if use qt4 ; then
- doins VirtualBox || die
+ doins VirtualBox
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VirtualBox
fperms 4750 /usr/$(get_libdir)/${PN}/VirtualBox
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VirtualBox
@@ -304,7 +312,7 @@ src_install() {
newicon ${PN}-48px.png ${PN}.png
popd &>/dev/null || die
else
- doins VBoxHeadless || die
+ doins VBoxHeadless
fowners root:vboxusers /usr/$(get_libdir)/${PN}/VBoxHeadless
fperms 4750 /usr/$(get_libdir)/${PN}/VBoxHeadless
pax-mark -m "${D}"/usr/$(get_libdir)/${PN}/VBoxHeadless
@@ -314,8 +322,8 @@ src_install() {
# Install EFI Firmware files (bug #320757)
pushd "${S}"/src/VBox/Devices/EFI/FirmwareBin &>/dev/null || die
for fwfile in VBoxEFI{32,64}.fd ; do
- doins ${fwfile} || die
- fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile} || die
+ doins ${fwfile}
+ fowners root:vboxusers /usr/$(get_libdir)/${PN}/${fwfile}
done
popd &>/dev/null || die