virtualbox_guest_additions: save, strip, restore resources

Thanks PulkoMandy for the save/restore trick.
The .rdef file contains an include that cannot be easily resolved.
This commit is contained in:
Humdinger
2015-11-15 18:14:45 +01:00
parent c6eec054b2
commit 58a5f48afb

View File

@@ -11,7 +11,7 @@ COPYRIGHT="2003-2014 Oracle Corporation."
#TODO:check user manual for full list
LICENSE="GNU GPL v2
CDDL v1"
REVISION="4"
REVISION="5"
SOURCE_URI="svn+http://www.virtualbox.org/svn/vbox/trunk#53373"
PATCHES="virtualbox_guest_additions-$portVersion.patchset"
@@ -41,12 +41,13 @@ BUILD_PREREQUIRES="
# required for kmk_* which are compiled with gcc4
haiku_x86
haiku${secondaryArchSuffix}_devel
cmd:mkisofs
cmd:grep
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:mkisofs
cmd:sed
cmd:which
cmd:xres
cmd:yasm
"
@@ -83,8 +84,11 @@ INSTALL()
mkdir -p $binDir
strip -S VBoxControl VBoxTray
cp VBoxControl VBoxTray $binDir
xres -o file.tmp VBoxControl ; strip -S VBoxControl ; xres -o VBoxControl file.tmp
xres -o file.tmp VBoxService ; strip -S VBoxService ; xres -o VBoxService file.tmp
xres -o file.tmp VBoxTray ; strip -S VBoxTray ; xres -o VBoxTray file.tmp
cp VBoxControl VBoxService VBoxTray $binDir
# Add a symlink to the Desktop applets directory in Deskbar
desktopAppletsDir="$dataDir/deskbar/menu/Desktop applets"