summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-05-17 09:33:34 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-05-17 09:33:34 +0000
commit73ed6c2e3e5f263a31c45bf98c9ce2c52aca82d2 (patch)
treef0fcc7550290b5d8392627a169f871a0abf35be2 /app-emulation/virtualbox-bin
parentVersion bump. Removed old (diff)
downloadgentoo-2-73ed6c2e3e5f263a31c45bf98c9ce2c52aca82d2.tar.gz
gentoo-2-73ed6c2e3e5f263a31c45bf98c9ce2c52aca82d2.tar.bz2
gentoo-2-73ed6c2e3e5f263a31c45bf98c9ce2c52aca82d2.zip
Version bump. Removed old
(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.12.93733.ebuild (renamed from app-emulation/virtualbox-bin/virtualbox-bin-4.3.8.ebuild)37
2 files changed, 31 insertions, 14 deletions
diff --git a/app-emulation/virtualbox-bin/ChangeLog b/app-emulation/virtualbox-bin/ChangeLog
index 959b0cdc30bb..2c35de29d96b 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.178 2014/03/27 12:14:29 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.179 2014/05/17 09:33:34 polynomial-c Exp $
+
+*virtualbox-bin-4.3.12.93733 (17 May 2014)
+
+ 17 May 2014; Lars Wendler <polynomial-c@gentoo.org>
+ -virtualbox-bin-4.3.8.ebuild, +virtualbox-bin-4.3.12.93733.ebuild:
+ Version bump. Removed old.
27 Mar 2014; Lars Wendler <polynomial-c@gentoo.org>
virtualbox-bin-4.3.10.93012.ebuild:
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.8.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.12.93733.ebuild
index 3a293dc09237..9508ec6e644c 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-4.3.8.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-4.3.12.93733.ebuild
@@ -1,24 +1,35 @@
# 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.8.ebuild,v 1.1 2014/02/26 10:06:41 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.3.12.93733.ebuild,v 1.1 2014/05/17 09:33:34 polynomial-c Exp $
EAPI=5
-inherit eutils unpacker fdo-mime gnome2 pax-utils udev
+inherit eutils fdo-mime gnome2 pax-utils udev unpacker versionator
-MY_PV=${PV/beta/BETA}
-MY_PV=${MY_PV/rc/RC}
-VBOX_PV=${MY_PV}-92456
-SDK_PV=${VBOX_PV}
-EXTP_PV=${VBOX_PV}
-MY_P=VirtualBox-${VBOX_PV}-Linux
-EXTP_PN=Oracle_VM_VirtualBox_Extension_Pack
+MAIN_PV="$(get_version_component_range 1-3)"
+if [[ ${PV} = *_beta* ]] || [[ ${PV} = *_rc* ]] ; then
+ MY_PV="${MAIN_PV}_$(get_version_component_range 5)"
+ MY_PV="${MY_PV/beta/BETA}"
+ MY_PV="${MY_PV/rc/RC}"
+else
+ MY_PV="${MAIN_PV}"
+fi
+VBOX_BUILD_ID="$(get_version_component_range 4)"
+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 +39,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 +47,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 +170,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