Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 492942
Collapse All | Expand All

(-)x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.3.2.ebuild.orig (-21 / +3 lines)
Lines 19-25 Link Here
19
KEYWORDS="~amd64 ~x86"
19
KEYWORDS="~amd64 ~x86"
20
IUSE="dri"
20
IUSE="dri"
21
21
22
RDEPEND="<x11-base/xorg-server-1.14.99[-minimal]
22
RDEPEND=">=x11-base/xorg-server-1.7:=[-minimal]
23
	x11-libs/libXcomposite"
23
	x11-libs/libXcomposite"
24
DEPEND="${RDEPEND}
24
DEPEND="${RDEPEND}
25
	>=dev-util/kbuild-0.1.9998_pre20120806
25
	>=dev-util/kbuild-0.1.9998_pre20120806
Lines 109-114 Link Here
109
		/src/VBox/Additions/x11/vboxvideo ; do
109
		/src/VBox/Additions/x11/vboxvideo ; do
110
			cd "${S}"${each}
110
			cd "${S}"${each}
111
			MAKE="kmk" emake TOOL_YASM_AS=yasm \
111
			MAKE="kmk" emake TOOL_YASM_AS=yasm \
112
			VBOX_USE_SYSTEM_XORG_HEADERS=1 \
112
			KBUILD_PATH="${S}/kBuild" \
113
			KBUILD_PATH="${S}/kBuild" \
113
			KBUILD_VERBOSE=2
114
			KBUILD_VERBOSE=2
114
	done
115
	done
Lines 128-153 Link Here
128
129
129
	cd "${S}/out/linux.${ARCH}/release/bin/additions"
130
	cd "${S}/out/linux.${ARCH}/release/bin/additions"
130
	insinto /usr/$(get_libdir)/xorg/modules/drivers
131
	insinto /usr/$(get_libdir)/xorg/modules/drivers
131
132
	newins vboxvideo_drv_system.so vboxvideo_drv.so
132
#	# xorg-server-1.14.x
133
	if has_version ">=x11-base/xorg-server-1.13.99" ; then
134
		newins vboxvideo_drv_114.so vboxvideo_drv.so
135
	# xorg-server-1.13.x
136
	elif has_version ">=x11-base/xorg-server-1.12.99" ; then
137
		newins vboxvideo_drv_113.so vboxvideo_drv.so
138
	# xorg-server-1.12.x
139
	elif has_version ">=x11-base/xorg-server-1.12" ; then
140
		newins vboxvideo_drv_112.so vboxvideo_drv.so
141
	# xorg-server-1.11.x
142
	elif has_version ">=x11-base/xorg-server-1.11" ; then
143
		newins vboxvideo_drv_111.so vboxvideo_drv.so
144
	# xorg-server-1.10.x
145
	elif has_version ">=x11-base/xorg-server-1.10" ; then
146
		newins vboxvideo_drv_110.so vboxvideo_drv.so
147
	# xorg-server-1.9.x
148
	else
149
		newins vboxvideo_drv_19.so vboxvideo_drv.so
150
	fi
151
133
152
	# Guest OpenGL driver
134
	# Guest OpenGL driver
153
	insinto /usr/$(get_libdir)
135
	insinto /usr/$(get_libdir)

Return to bug 492942