1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Add 2D acceleration support for Windows Guests

- Bump PORTREVISION

Submitted by:	scf
Approved by:	beat (co-mentor)
This commit is contained in:
Bernhard Froehlich 2010-09-30 12:51:00 +00:00
parent 546ffbd832
commit b303c25df2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=262166
4 changed files with 42 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 3.2.8
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \
@ -190,6 +191,7 @@ post-patch:
@${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VBOXDRV = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VIDEOHWACCEL = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETADP = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_TESTCASES=' >> ${WRKSRC}/LocalConfig.kmk

View File

@ -0,0 +1,19 @@
--- src/VBox/Frontends/VirtualBox/Makefile.kmk.orig 2010-08-05 06:42:45.000000000 -0500
+++ src/VBox/Frontends/VirtualBox/Makefile.kmk 2010-09-25 19:17:28.000000000 -0500
@@ -236,6 +236,7 @@
VirtualBox_LIBS.win += $(PATH_SDK_WINPSDK_LIB)/Opengl32.lib
VirtualBox_LIBS.solaris += GL
VirtualBox_LIBS.linux += GL
+ VirtualBox_LIBS.freebsd += GL
endif
# Headers containing definitions of classes that use the Q_OBJECT macro.
@@ -821,7 +822,7 @@
# App for testing GL support
#
if defined(VBOX_WITH_VIDEOHWACCEL)
- if1of ($(KBUILD_TARGET), win linux)
+ if1of ($(KBUILD_TARGET), win linux freebsd)
LIBRARIES += VBoxOGL2D
VBoxOGL2D_TEMPLATE = VBOXR3STATIC
VBoxOGL2D_USES = qt4

View File

@ -7,6 +7,7 @@
PORTNAME= virtualbox-ose
DISTVERSION= 3.2.8
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://tmp.chruetertee.ch/ \
http://freebsd.unixfreunde.de/sources/ \
@ -190,6 +191,7 @@ post-patch:
@${ECHO} 'VBOX_PATH_APP_DOCS = ${DOCSDIR}' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_INSTALLER = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VBOXDRV = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_VIDEOHWACCEL = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETFLT = 1' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_NETADP = ' >> ${WRKSRC}/LocalConfig.kmk
@${ECHO} 'VBOX_WITH_TESTCASES=' >> ${WRKSRC}/LocalConfig.kmk

View File

@ -0,0 +1,19 @@
--- src/VBox/Frontends/VirtualBox/Makefile.kmk.orig 2010-08-05 06:42:45.000000000 -0500
+++ src/VBox/Frontends/VirtualBox/Makefile.kmk 2010-09-25 19:17:28.000000000 -0500
@@ -236,6 +236,7 @@
VirtualBox_LIBS.win += $(PATH_SDK_WINPSDK_LIB)/Opengl32.lib
VirtualBox_LIBS.solaris += GL
VirtualBox_LIBS.linux += GL
+ VirtualBox_LIBS.freebsd += GL
endif
# Headers containing definitions of classes that use the Q_OBJECT macro.
@@ -821,7 +822,7 @@
# App for testing GL support
#
if defined(VBOX_WITH_VIDEOHWACCEL)
- if1of ($(KBUILD_TARGET), win linux)
+ if1of ($(KBUILD_TARGET), win linux freebsd)
LIBRARIES += VBoxOGL2D
VBoxOGL2D_TEMPLATE = VBOXR3STATIC
VBoxOGL2D_USES = qt4