summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-03-27 12:10:14 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-03-27 12:10:14 +0000
commit83f963e2d51b1a710966daaa86421c9e010ece81 (patch)
tree58353fdbcbb3706cbfbf176ef731def863402afd /app-emulation/virtualbox-bin
parentStable for amd64 wrt bug #502724 (diff)
downloadgentoo-2-83f963e2d51b1a710966daaa86421c9e010ece81.tar.gz
gentoo-2-83f963e2d51b1a710966daaa86421c9e010ece81.tar.bz2
gentoo-2-83f963e2d51b1a710966daaa86421c9e010ece81.zip
Upstream re-released 4.3.10 version
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r--app-emulation/virtualbox-bin/ChangeLog8
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild (renamed from app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.ebuild)40
2 files changed, 33 insertions, 15 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog
index f02c9953b566..890c23042444 100644
--- a/app-emulation/virtualbox-bin/ChangeLog
+++ b/app-emulation/virtualbox-bin/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/virtualbox-bin
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.176 2014/03/26 10:10:40 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.177 2014/03/27 12:10:14 polynomial-c Exp $
+
+*virtualbox-bin-4.3.10.93012 (27 Mar 2014)
+
+ 27 Mar 2014; Lars Wendler <polynomial-c@gentoo.org>
+ -virtualbox-bin-4.3.10.ebuild, +virtualbox-bin-4.3.10.93012.ebuild:
+ Upstream re-released 4.3.10 version.
*virtualbox-bin-4.3.10 (26 Mar 2014)
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild
index 035423ab7fb4..6254e1c987a4 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild
@@ -1,24 +1,36 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.ebuild,v 1.1 2014/03/26 10:10:40 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.10.93012.ebuild,v 1.1 2014/03/27 12:10:14 polynomial-c Exp $
EAPI=5
-inherit eutils unpacker fdo-mime gnome2 pax-utils udev
-
-MY_PV=${PV/beta/BETA}
-MY_PV=${MY_PV/rc/RC}
-VBOX_PV=${MY_PV}-92957
-SDK_PV=${VBOX_PV}
-EXTP_PV=${VBOX_PV}
-MY_P=VirtualBox-${VBOX_PV}-Linux
-EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
+inherit eutils fdo-mime gnome2 pax-utils udev unpacker versionator
+
+MAIN_PV="$(get_version_component_range 1-3)"
+if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
+ MY_PV="${MAIN_PV}_$(get_version_component_range 4)"
+ MY_PV="${MY_PV/beta/BETA}"
+ MY_PV="${MY_PV/rc/RC}"
+ VBOX_BUILD_ID="$(get_version_component_range 5)"
+else
+ MY_PV="${MAIN_PV}"
+ VBOX_BUILD_ID="$(get_version_component_range 4)"
+fi
+VBOX_PV="${MY_PV}-${VBOX_BUILD_ID}"
+MY_P="VirtualBox-${VBOX_PV}-Linux"
+# needed as sometimes the extpack gets another build ID
+EXTP_PV="${VBOX_PV}"
+EXTP_PN="Oracle_VM_VirtualBox_Extension_Pack"
+EXTP_P="${EXTP_PN}-${EXTP_PV}"
+# needed as sometimes the SDK gets another build ID
+SDK_PV="${VBOX_PV}"
+SDK_P="VirtualBoxSDK-${SDK_PV}"
DESCRIPTION="Family of powerful x86 virtualization products for enterprise as well as home use"
HOMEPAGE="http://www.virtualbox.org/"
SRC_URI="amd64? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_amd64.run )
x86? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${MY_P}_x86.run )
- http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_PN}-${EXTP_PV}.vbox-extpack -> ${EXTP_PN}-${EXTP_PV}.tar.gz"
+ http://download.virtualbox.org/virtualbox/${MY_PV}/${EXTP_P}.vbox-extpack -> ${EXTP_P}.tar.gz"
LICENSE="GPL-2 PUEL"
SLOT="0"
@@ -28,7 +40,7 @@ RESTRICT="mirror"
if [[ "${PV}" != *beta* ]] ; then
SRC_URI+="
- sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/VirtualBoxSDK-${SDK_PV}.zip )"
+ sdk? ( http://download.virtualbox.org/virtualbox/${MY_PV}/${SDK_P}.zip )"
IUSE+=" sdk"
fi
@@ -36,7 +48,7 @@ DEPEND="app-arch/unzip"
RDEPEND="!!app-emulation/virtualbox
!app-emulation/virtualbox-additions
- ~app-emulation/virtualbox-modules-${PV}
+ ~app-emulation/virtualbox-modules-${MAIN_PV}
!headless? (
x11-libs/libXcursor
media-libs/libsdl[X]
@@ -159,7 +171,7 @@ src_unpack() {
mkdir "${S}"/${EXTP_PN} || die
pushd "${S}"/${EXTP_PN} &>/dev/null || die
- unpack ${EXTP_PN}-${EXTP_PV}.tar.gz
+ unpack ${EXTP_P}.tar.gz
popd &>/dev/null || die
if [[ "${PV}" != *beta* ]] && use sdk ; then