mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user