diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2012-09-18 05:37:19 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2012-09-18 05:37:19 +0000 |
commit | 7a9e3211186ff1b32a42f5e20551bc6d6f07c5f0 (patch) | |
tree | 0ccd1a05708f784dffa42db5e1622c39d552c518 /x11-drivers/xf86-video-virtualbox | |
parent | Remove redundant maintainer from metadata. (diff) | |
download | historical-7a9e3211186ff1b32a42f5e20551bc6d6f07c5f0.tar.gz historical-7a9e3211186ff1b32a42f5e20551bc6d6f07c5f0.tar.bz2 historical-7a9e3211186ff1b32a42f5e20551bc6d6f07c5f0.zip |
Removed old versions
Package-Manager: portage-2.2.0_alpha128/cvs/Linux x86_64
Diffstat (limited to 'x11-drivers/xf86-video-virtualbox')
4 files changed, 6 insertions, 354 deletions
diff --git a/x11-drivers/xf86-video-virtualbox/ChangeLog b/x11-drivers/xf86-video-virtualbox/ChangeLog index aba0cca10dcd..f8d7230c79df 100644 --- a/x11-drivers/xf86-video-virtualbox/ChangeLog +++ b/x11-drivers/xf86-video-virtualbox/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-drivers/xf86-video-virtualbox # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.100 2012/09/17 20:08:51 nativemad Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/ChangeLog,v 1.101 2012/09/18 05:37:19 polynomial-c Exp $ + + 18 Sep 2012; Lars Wendler <polynomial-c@gentoo.org> + -xf86-video-virtualbox-4.1.12.ebuild, -xf86-video-virtualbox-4.1.18.ebuild: + Removed old versions. 17 Sep 2012; Andreas Schuerch <nativemad@gentoo.org> xf86-video-virtualbox-4.1.22.ebuild: diff --git a/x11-drivers/xf86-video-virtualbox/Manifest b/x11-drivers/xf86-video-virtualbox/Manifest index 8a877da9e901..1d94e0a9ab60 100644 --- a/x11-drivers/xf86-video-virtualbox/Manifest +++ b/x11-drivers/xf86-video-virtualbox/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - AUX xf86-video-virtualbox-2.2.0-enable-opengl.patch 303 SHA256 194b7bca875f18e1621f065640d1c1a1364640e17475c493ec3b56f6e7e5ce66 SHA512 98461915a3d692812f770e2284d3d2ab288c128e9fbf9238e5f3284d561494d92b87a6cdbc09f3f24f9057facb94bfcc8e58c7de582e29e62ed4ee53469000f2 WHIRLPOOL 09942c717d94ca1252cce4531ad0873d10b1ce0baf3d321f6847c79709052baf3ae3a99a9e44654fabd0e50a4d680a155c1c27c86b4576d030c644e229f0f2da AUX xf86-video-virtualbox-3-localconfig 996 SHA256 ff777086ae7d0337e59066b4f7d6538823ca1804b57906e07cd562c8a48e054f SHA512 f6eeb4e9c01294be7447158b93e6e38179dc39425d2d496c3e44afad146cf9d41102a8e1b1cc9725bc3db56f58289ed14c2b05251b732ae56b09978d0b9b7885 WHIRLPOOL 2c13697d598c05d1fafe3c00d47bb31053880319392f9bcb40358f52bd990839bb9e2d7609f20f71a6562521709c42cf880e9b98a4021ccad6ad8cbe8751d990 AUX xf86-video-virtualbox-3-vboxvideo_drm.makefile 6810 SHA256 ccf3eaaa8e1ed4a9c816a9a944c3ce6f289d002f03ce72d796500d209e26ae7e SHA512 a0ab5b1cbe83dad8f39120dd9d5d301fcf8a7f0840478b5a94088317b0693ec9a457f95aac6abf4070184434d1dc81e4a8b8a202f7a11860fbac71757f05d202 WHIRLPOOL e429528ac22ea6410c77fce5d6a48afbb617b29279b058463209887988f8dab6e1474fb53bf55e26ac5269b869cd4b0a41e2d7469267acc5ab858aeefc7adda7 @@ -8,20 +5,9 @@ AUX xf86-video-virtualbox-3.2.8-mesa-check.patch 701 SHA256 6b4ce64673cda33631e7 AUX xf86-video-virtualbox-4-makeself-check.patch 289 SHA256 31ddafbeef6d35696d76de06988412f888fd5403854952bb00ceab99f5ed4966 SHA512 7f60a857213b1b045247f5a041ebed60099f0f634b7d843bd85062eb4cf8504e8d5907b43df852dc49465248e2cbe3d998acefeb676113ca9a38e72da6d926a7 WHIRLPOOL 3e1a1d4f2b52fd1d67d50eaae965bb99d1a3f31864d5798dcff1dc6e9625019d01a77af87016c66f84e2b5af63c42b788bd7673fe37f7af1d22e5f57291821eb AUX xf86-video-virtualbox-4-mkisofs-check.patch 356 SHA256 0e72a5ef8d915c550fd92865b40c265153dc2d4621714a599d3a7172726b6fff SHA512 9c78927a4a8e99562582feef867f1b3e16663f04c88ebe7f19fd9e2e0c7632b041dc6294da57053645982040b50830f51391b27847467aac6e377062ca32997a WHIRLPOOL cd9ad5d9538467321b4ce56c37966f04edd2e74aaf1b849085675b1d08213b6a99179968adde9ad48aadb9ea67ca2f3283ef794be2f3ea6215ad4ff11031a778 AUX xf86-video-virtualbox-link-lazy.patch 996 SHA256 976e922756f9f2f01f625b07a012d6f287811b3d099f1a855c9d4453cc4f5a3b SHA512 f7c1b13a12d91884f0faabc23af345cde06315b23900d12ba0fead64c7818c1aa721cd6710c905c2758bcb5cbec9f7ea3a8b515fcab14ef4965d4e1c27fbab94 WHIRLPOOL a3e3cc997172557086741ee3d689411b4f1964a480b800d315fbd3a43c2d507448840a4812d8e735428a543b9a0c1838736aad692dc6460f29489bdb4c2010ab -DIST VirtualBox-4.1.12.tar.bz2 73250628 SHA256 4e4b9181a61ee9ccbe5fd28dbf528dde708fba490af5de6fac0d138b283b1d02 SHA512 93122eb428c114b73c76775d1643ea297dff3800b9c1950ad0e5ad2dbb3b308a119dd065364d2578035746f5844f813c881227b188c3965752ff31dad5017c5d WHIRLPOOL d8f4446a069b9a73ebc20bcf23d464e16adba40bd356adbba4f1fc1e1a0dca089b101bc7b4483e0c28b0c2b1bd88c0cd28dffa045f4f95303ca926825ce9a2e9 -DIST VirtualBox-4.1.18.tar.bz2 73688436 SHA256 e650e4fdc23581b9edc0e5d5705cc596c76796851ebf65ccda0edb8e413fa3b7 SHA512 8053daaf45aa8ea4e56f7fc3b53b280ecbf184cb943ef574c7c1005557e762bcd626fe8b28693706c1c5385f497ea1baf39927b2cf83a09dc055076ec7bc8a3e WHIRLPOOL 0e232225431b230fd73e8d23bcdb23e413aa85fc336aa8af179f190c2b855b77057daa324ef1fcc5da08a75c51daa87f04beb97f03bdbd9ce2a270064debca78 DIST VirtualBox-4.1.22.tar.bz2 73385514 SHA256 7abb506203dd0d69b4b408fd999b5b9a479a9adce5f80e9b5569641c053dd153 SHA512 1bc2e33f6ce1ab417887241ee95bc3042b5c6072b3babc221c349b36b923f0655e776e98468cc63f65662e5ae3819c974bc8b5c97bae531a2c4a0ebb1c1ebba6 WHIRLPOOL e52ee58fdf1b3d1e1323cb26df1791dbc4c9375061467191a73f12071ac99a5c2791ddb65eeff9af5a645ba39fe88d4f7bc4362c919c9c14ba10a99d1b6c3776 DIST VirtualBox-4.2.0.tar.bz2 76590194 SHA256 895426ecac371bef4c070e8bcc9306f0c57dcbd6be25188d915b63ddde6f49e6 SHA512 76cddb682a2f5615e8ab465e8766d0ba19e1482b595a185cb401fdb962fb6f161945986ea5514934652305fa3d25f66a88767572fa4e0c5d3b5d5ffeb15c8005 WHIRLPOOL 5c4521a1dfc5b249c6c9692741a83014dc98496086e31186883e8b3f43c18af700f8002c3586b1475fd2c8bac2cbcaadc90aafb259ec50ebbeb3703440ddb822 -EBUILD xf86-video-virtualbox-4.1.12.ebuild 4598 SHA256 d8d741c6850e36bf206129494e000f6c721d5fab15c8d1e225df2a10032cf702 SHA512 4d1eacb319eb2907d1bd8cbf5c7b4c32feb2d6ee8d0d5c664db4632a5f95c29581bcdda459b39748c3a02efa4cdbb313b1fa4d009ae9743f7ebd1587dd00c5f2 WHIRLPOOL 32151c7d8824df21c8bda859d2c9a1b07b306c599f6ba5937d261819223353b467ad71b2488b7d4af750f0ead103a4c2ac6b9a8afa95b1104d087e9c2cb292e4 -EBUILD xf86-video-virtualbox-4.1.18.ebuild 4595 SHA256 d7883c020a11a7b0fff7125b07cfa32027dad82aa046fb840bebea121fbce6b7 SHA512 7ea54b2859b9cdf65255df49b628e6224059a570afa7fe971ce8832627e8df30629a97ae9edde0d7e82abb8042338b4f330a897dc61304b2a40f6b5d100a6d95 WHIRLPOOL e63423ce5760b44719ba2b15ad7e703056a242aab9a9159395603e5b5e8a502c7d40e5f85b3fc1cc10d89c61f8636cc0411696c7694f846b5b1a0d512e7f5493 EBUILD xf86-video-virtualbox-4.1.22.ebuild 4595 SHA256 7aa362c3fd38af87bf1cdad8f595f711cb451b7fb692a7b8a2c4286b2d9cfaf9 SHA512 1e1a552da1921c0eb9578e570ca5aa9108c0fa9ec26b683ab91114bcfa3f61c6ab118db3a90e02f9bf8797c35fa2ae54c0682c43742247eee0c51c218a6e71ab WHIRLPOOL 583173e00a2316d2848a286c93db7a537031152f77273fa058355d7eb9e04313c26e2767fd923cbbfe4d0e0b50d8876dbc01698a3751a82493aec871e45cfa9a EBUILD xf86-video-virtualbox-4.2.0.ebuild 4824 SHA256 0db1b3910d4821a8d64c7b5acbe7dc6b5d7235090b13fd7d9f30b9d16c77a1f1 SHA512 6920a16acc98e382bb549067421328f66d3241952f35868247811ccef8c27b7a5da1ac546259784b61ae5776ebff056b38cc1671c799e1541b273971001de371 WHIRLPOOL 3e239367c54163e8ccd4b56a8940409fa3ca0a04beb50eaf4ecdfc7c1ce52f4a0f37e8837ede439983e49bcaf165dd19bb4b60c14cfa27228d47d5628b8cd602 -MISC ChangeLog 22100 SHA256 106ae1b75cd160d8effeaa10397f7fb836c9ea37775f3cac5d97ef7f20dad4a5 SHA512 7988e6046a2212ab7ccc19521b32d55a126505d8ce596e2396fdb96e4b5383a0cb00737f009986bcbd92ebf4d0be34dd975f4a3bb4a4d9f64d74fd86677f228e WHIRLPOOL 8ddb80c8270c22ce5c3a063c42edc79dcb0f8c17fe8df49e4713645482a42eb62b9c5260101de01d3b04aa193b8dd6d20838e678a1c372e41430c3efaf92c1c1 +MISC ChangeLog 22260 SHA256 b4c48029e134c0dfb4edc855ba5cca38949d51a3bd91c6197c5ed30f0221b222 SHA512 15cb740f1567950fa744b682e40da9b85ac0b2f4874d56f14d4c91deac52df40e5015cabb985ddac68001d746068c4e6f07ce704904556489cabb0b64a957c97 WHIRLPOOL f22137bec7158d282802078f957f9d29d8853735c3e89664556d469c28aaf84e67762c908bb4f2fb76288d527e7147908f8d8ffe1b09763b951778e9b0be8217 MISC metadata.xml 328 SHA256 18c49e38babc89b001d395d7abd3612daf5a46e80d175a20077a2bec61d5eb24 SHA512 550b7deac2d386c8f85cd249f7ea4b8c127ca273e394646e3a2ee2102c5ee98efd0fc2691fa4add4ead6f383a96bc063b00e99138403777b8e0571c354b37760 WHIRLPOOL 4933aeeb80163f70bed2515ed2baac94e142e2fd5073d6ab3470a6860e34b739bb6837f2b31147907ecea7ec1c970d00b6e5bbf5387fe2284c2a3b6c60b8da1f ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) - -iEYEAREIAAYFAlBXggkACgkQakKUmsHeVLKSNwCeKGaNS7SYlMJEkPxNufOMBN5Q -WysAnRN7bEZUF5xt7GZBolwDd81DrEEB -=gnWF ------END PGP SIGNATURE----- diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild deleted file mode 100644 index bdf0edfee14b..000000000000 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.12.ebuild,v 1.4 2012/08/04 10:01:24 polynomial-c Exp $ - -EAPI=2 - -inherit eutils linux-mod multilib python versionator toolchain-funcs - -MY_P=VirtualBox-${PV} -DESCRIPTION="VirtualBox video driver" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="dri" - -RDEPEND="<x11-base/xorg-server-1.12.99[-minimal] - x11-libs/libXcomposite" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.999 - =dev-lang/python-2* - >=dev-lang/yasm-0.6.2 - sys-devel/dev86 - sys-power/iasl - x11-proto/fontsproto - x11-proto/randrproto - x11-proto/renderproto - x11-proto/xextproto - x11-proto/xineramaproto - x11-proto/xproto - x11-libs/libXdmcp - x11-libs/libXau - x11-libs/libX11 - x11-libs/libXfixes - x11-libs/libXext - dri? ( x11-proto/xf86driproto - >=x11-libs/libdrm-2.4.5 )" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" - -S="${WORKDIR}/${MY_P}" - -QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" - - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} - cp -a "${S}"/src/VBox/Additions/linux/drm "${WORKDIR}/vboxvideo_drm" \ - || die "cannot copy vboxvideo_drm directory" - cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ - "${WORKDIR}/vboxvideo_drm/Makefile" \ - || die "cannot copy vboxvideo_drm Makefile" - - # stupid new header references... - for vboxheader in {product,version}-generated.h ; do - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ - "${WORKDIR}/vboxvideo_drm/${vboxheader}" - done - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk - - # Ugly hack to build the opengl part of the video driver - epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" - - # unset useless/problematic checks in configure - epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \ - "${FILESDIR}/${PN}-4-makeself-check.patch" \ - "${FILESDIR}/${PN}-4-mkisofs-check.patch" - - # Patch to link with lazy on hardened #394757 - if gcc-specs-now ; then - epatch "${FILESDIR}/${PN}-link-lazy.patch" - fi -} - -src_configure() { - # build the user-space tools, warnings are harmless - ./configure \ - --nofatal \ - --disable-xpcom \ - --disable-sdl-ttf \ - --disable-pulse \ - --disable-alsa \ - --build-headless || die "configure failed" - source ./env.sh -} - -src_compile() { - for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ - /src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ - /src/VBox/Additions/x11/vboxvideo ; do - cd "${S}"${each} - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk failed" - done - - if use dri; then - # Now creating the kernel modules. We must do this _after_ - # we compiled the user-space tools as we need two of the - # automatically generated header files. (>=3.2.0) - linux-mod_src_compile - fi -} - -src_install() { - if use dri; then - linux-mod_src_install - fi - - cd "${S}/out/linux.${ARCH}/release/bin/additions" - insinto /usr/$(get_libdir)/xorg/modules/drivers - - # xorg-server-1.12.x - if has_version ">=x11-base/xorg-server-1.12" ; then - newins vboxvideo_drv_112.so vboxvideo_drv.so - # xorg-server-1.11.x - elif has_version ">=x11-base/xorg-server-1.11" ; then - newins vboxvideo_drv_111.so vboxvideo_drv.so - # xorg-server-1.10.x - elif has_version ">=x11-base/xorg-server-1.10" ; then - newins vboxvideo_drv_110.so vboxvideo_drv.so - # xorg-server-1.9.x - else - newins vboxvideo_drv_19.so vboxvideo_drv.so - fi - - # Guest OpenGL driver - insinto /usr/$(get_libdir) - doins -r VBoxOGL* || die - - if use dri ; then - dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so - fi -} - -pkg_postinst() { - elog "You need to edit the file /etc/X11/xorg.conf and set:" - elog "" - elog " Driver \"vboxvideo\"" - elog "" - elog "in the Graphics device section (Section \"Device\")" - elog "" - if use dri; then - elog "To use the kernel drm video driver, please add:" - elog "\"vboxvideo\" to:" - if has_version sys-apps/openrc ; then - elog "/etc/conf.d/modules" - else - elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" - fi - elog "" - fi -} diff --git a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.18.ebuild b/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.18.ebuild deleted file mode 100644 index 71981956ae7d..000000000000 --- a/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.18.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/xf86-video-virtualbox/xf86-video-virtualbox-4.1.18.ebuild,v 1.3 2012/08/07 21:16:47 hwoarang Exp $ - -EAPI=2 - -inherit eutils linux-mod multilib python versionator toolchain-funcs - -MY_P=VirtualBox-${PV} -DESCRIPTION="VirtualBox video driver" -HOMEPAGE="http://www.virtualbox.org/" -SRC_URI="http://download.virtualbox.org/virtualbox/${PV}/${MY_P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="dri" - -RDEPEND="<x11-base/xorg-server-1.12.99[-minimal] - x11-libs/libXcomposite" -DEPEND="${RDEPEND} - >=dev-util/kbuild-0.1.999 - =dev-lang/python-2* - >=dev-lang/yasm-0.6.2 - sys-devel/dev86 - sys-power/iasl - x11-proto/fontsproto - x11-proto/randrproto - x11-proto/renderproto - x11-proto/xextproto - x11-proto/xineramaproto - x11-proto/xproto - x11-libs/libXdmcp - x11-libs/libXau - x11-libs/libX11 - x11-libs/libXfixes - x11-libs/libXext - dri? ( x11-proto/xf86driproto - >=x11-libs/libdrm-2.4.5 )" - -BUILD_TARGETS="all" -BUILD_TARGET_ARCH="${ARCH}" -MODULE_NAMES="vboxvideo(misc:${WORKDIR}/vboxvideo_drm:${WORKDIR}/vboxvideo_drm)" - -S="${WORKDIR}/${MY_P}" - -QA_TEXTRELS_x86="usr/lib/VBoxOGL.so" - -pkg_setup() { - linux-mod_pkg_setup - BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}" - - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # Prepare the vboxvideo_drm sources and Makefile in ${WORKDIR} - cp -a "${S}"/src/VBox/Additions/linux/drm "${WORKDIR}/vboxvideo_drm" \ - || die "cannot copy vboxvideo_drm directory" - cp "${FILESDIR}/${PN}-3-vboxvideo_drm.makefile" \ - "${WORKDIR}/vboxvideo_drm/Makefile" \ - || die "cannot copy vboxvideo_drm Makefile" - - # stupid new header references... - for vboxheader in {product,version}-generated.h ; do - ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ - "${WORKDIR}/vboxvideo_drm/${vboxheader}" - done - - # Remove shipped binaries (kBuild,yasm), see bug #232775 - rm -rf kBuild/bin tools - - # Disable things unused or splitted into separate ebuilds - cp "${FILESDIR}/${PN}-3-localconfig" LocalConfig.kmk - - # Ugly hack to build the opengl part of the video driver - epatch "${FILESDIR}/${PN}-2.2.0-enable-opengl.patch" - - # unset useless/problematic checks in configure - epatch "${FILESDIR}/${PN}-3.2.8-mesa-check.patch" \ - "${FILESDIR}/${PN}-4-makeself-check.patch" \ - "${FILESDIR}/${PN}-4-mkisofs-check.patch" - - # Patch to link with lazy on hardened #394757 - if gcc-specs-now ; then - epatch "${FILESDIR}/${PN}-link-lazy.patch" - fi -} - -src_configure() { - # build the user-space tools, warnings are harmless - ./configure \ - --nofatal \ - --disable-xpcom \ - --disable-sdl-ttf \ - --disable-pulse \ - --disable-alsa \ - --build-headless || die "configure failed" - source ./env.sh -} - -src_compile() { - for each in /src/VBox/{Runtime,Additions/common/VBoxGuestLib} \ - /src/VBox/{GuestHost/OpenGL,Additions/x11/x11stubs,Additions/common/crOpenGL} \ - /src/VBox/Additions/x11/vboxvideo ; do - cd "${S}"${each} - MAKE="kmk" emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" \ - || die "kmk failed" - done - - if use dri; then - # Now creating the kernel modules. We must do this _after_ - # we compiled the user-space tools as we need two of the - # automatically generated header files. (>=3.2.0) - linux-mod_src_compile - fi -} - -src_install() { - if use dri; then - linux-mod_src_install - fi - - cd "${S}/out/linux.${ARCH}/release/bin/additions" - insinto /usr/$(get_libdir)/xorg/modules/drivers - - # xorg-server-1.12.x - if has_version ">=x11-base/xorg-server-1.12" ; then - newins vboxvideo_drv_112.so vboxvideo_drv.so - # xorg-server-1.11.x - elif has_version ">=x11-base/xorg-server-1.11" ; then - newins vboxvideo_drv_111.so vboxvideo_drv.so - # xorg-server-1.10.x - elif has_version ">=x11-base/xorg-server-1.10" ; then - newins vboxvideo_drv_110.so vboxvideo_drv.so - # xorg-server-1.9.x - else - newins vboxvideo_drv_19.so vboxvideo_drv.so - fi - - # Guest OpenGL driver - insinto /usr/$(get_libdir) - doins -r VBoxOGL* || die - - if use dri ; then - dosym /usr/$(get_libdir)/VBoxOGL.so /usr/$(get_libdir)/dri/vboxvideo_dri.so - fi -} - -pkg_postinst() { - elog "You need to edit the file /etc/X11/xorg.conf and set:" - elog "" - elog " Driver \"vboxvideo\"" - elog "" - elog "in the Graphics device section (Section \"Device\")" - elog "" - if use dri; then - elog "To use the kernel drm video driver, please add:" - elog "\"vboxvideo\" to:" - if has_version sys-apps/openrc ; then - elog "/etc/conf.d/modules" - else - elog "/etc/modules.autoload.d/kernel-${KV_MAJOR}.${KV_MINOR}" - fi - elog "" - fi -} |