summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-01-25 06:47:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-01-25 06:47:12 +0000
commit4dec849539ecb0ceab14d66af84960f01b9a284c (patch)
tree70e3b3443839fd480586c6a3bc5f95ac0087603d /app-emulation
parentf1e6490ffadd8d677960342b348f2b08492dd5f6 (diff)
gentoo auto-resync : 25:01:2025 - 06:47:11
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/Manifest.gzbin15339 -> 15349 bytes
-rw-r--r--app-emulation/ruffle/Manifest3
-rw-r--r--app-emulation/ruffle/ruffle-0_p20250124.ebuild104
-rw-r--r--app-emulation/virtualbox-guest-additions/Manifest5
-rw-r--r--app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.1.6-disable-vboxvideo-module.patch19
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24-r1.ebuild (renamed from app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24.ebuild)12
-rw-r--r--app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild (renamed from app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6.ebuild)12
-rw-r--r--app-emulation/vkd3d-proton/Manifest2
-rw-r--r--app-emulation/vkd3d-proton/vkd3d-proton-2.14.ebuild207
9 files changed, 139 insertions, 225 deletions
diff --git a/app-emulation/Manifest.gz b/app-emulation/Manifest.gz
index 12becf27e35d..740716f47de8 100644
--- a/app-emulation/Manifest.gz
+++ b/app-emulation/Manifest.gz
Binary files differ
diff --git a/app-emulation/ruffle/Manifest b/app-emulation/ruffle/Manifest
index de62fa5cb9ce..529003ef346f 100644
--- a/app-emulation/ruffle/Manifest
+++ b/app-emulation/ruffle/Manifest
@@ -1,5 +1,8 @@
AUX ruffle-0_p20231216-skip-render-tests.patch 662 BLAKE2B 1715c6e5c80c0e4e2a53a70bab319bb78e493a8e48ad01c8ade5ddfdd76e7590506e46f2c2fafb9ac4e732ebefd04fd563e8a2f0c2f5d60bd29d0bf8eb7fbacf SHA512 7d42b5c7f1a11bc7666739fd76e341ff57e2dda25b95e883897d705e0bc37ab0beffa842d34902601b24ced1b0134855c85813067c83a2ea36c73ff7daf7c697
DIST ruffle-nightly-2024-11-29-vendor.tar.xz 67239116 BLAKE2B d2eaaf7c7528207a1fabc67cd52bab37442e4c09a740842840f3e44a0d79c826f17b1014e30fcbb07b9e6346c48d4a92439c209b7f54ddc1897cb4166546a295 SHA512 fbf8589d2c9b21b1cb6e93963e8350fad77854e351538ac8155f16bbc16f0ecb1680f7ac7066d14e7fffefa5ead217acc8b8a9319ded891abdeffd5890797776
DIST ruffle-nightly-2024-11-29.tar.gz 94965476 BLAKE2B 9440808ebc0f2db33df06f45eaf6b089b56b6ce604537c522ba57bb2e7e6ada4f334fa4e483547af9b203c4047566d88d88dbca93c6ab2dd8d1a5ced20bc6cdb SHA512 380da319ee84bddc9f12d472516471a18177f748b4072d1853e3aa9d6311226230cf5e38ac4b30041507f836ff620c04aa69e6e45407571d752baf77ac7ea42a
+DIST ruffle-nightly-2025-01-24-vendor.tar.xz 67182584 BLAKE2B 0927c7d181f86bb152ef1224efdebc88152b2966a24d11e7434a6b3aff472c8ea47164c9f61f3554561de78bb9a7a9c60648c994fc9feeb03903a72ccd3f8620 SHA512 9cbb5edb8bd7ba8d2a6dccbce20dd8026b3f6f7d47131292e7f55cc3fee7154189b9749b2142d32eaa879b18461c698317dd9b36f808482f656acb9f1dd8253f
+DIST ruffle-nightly-2025-01-24.tar.gz 95156736 BLAKE2B 7d66931308ab93c0e5cb95727297fbbf03406840c4b793033d277ebfa0c5f8a28e627439736fed4bdc537b3363b691da8efc4b1b3f653a9aa31b741dc0746f56 SHA512 b958e9b685ae529a33253a536fb67030ff0cc1bd78967bbefc5146eced710650f277c32ad37d1f4cd6ce1c43b9be6ad28f51b46ce14afe0644137065a7ef0215
EBUILD ruffle-0_p20241129.ebuild 2625 BLAKE2B 8e1893bbf56737d1d57accdf6da04ca8cff425674b222607fd9b2cb20db1340f0db27d08328e8d61b60bfbe1de13c0f6f3da71e6220755f9baa6b3702a677e83 SHA512 0908e9a179d75cc509315b6c609a17ecd528b7685267a9684e5cdd16a98c913d10a16883d5c4e2605f7404c1c98689d5ae561bdb0a5941ec5390567fd6ccdb8c
+EBUILD ruffle-0_p20250124.ebuild 2609 BLAKE2B 859f27f36e93e4fc5f1d6eb17a368ee57141ece4358feae0592f9b87d03c02b3b29a1876a6c6bf2845ae1cfd8a416378c93d6449b76ba87a5b91ef93d69df2b6 SHA512 e941b3913a3b3912b807628e6921ebb3feca907e002e5865f74d06a27a38a1e0df9c93cf7d57ef49384322076bc4121cb9bb00c86f8ad91a13eb700d68e240bb
MISC metadata.xml 327 BLAKE2B aad7b4089000263fccd1bf6af04e88ac138658121db322215ce0dcc85380b12afa01cdcd2be232c5d2c773698b38903759ecaea6f4854d8c90c420c0a43f33b1 SHA512 bb5e665acc6d02ae3e6a22fbb483c293142104e538d386a9b93884f097629dcbb8ca7b614aa20e0358bf22ae36487c7d86cc1467103987845a70ebacc9c4a5d2
diff --git a/app-emulation/ruffle/ruffle-0_p20250124.ebuild b/app-emulation/ruffle/ruffle-0_p20250124.ebuild
new file mode 100644
index 000000000000..1889e442e4e9
--- /dev/null
+++ b/app-emulation/ruffle/ruffle-0_p20250124.ebuild
@@ -0,0 +1,104 @@
+# Copyright 2021-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+RUST_MIN_VER=1.82.0
+inherit cargo desktop optfeature xdg
+
+MY_PV=nightly-${PV:3:4}-${PV:7:2}-${PV:9:2}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Flash Player emulator written in Rust"
+HOMEPAGE="https://ruffle.rs/"
+SRC_URI="
+ https://github.com/ruffle-rs/ruffle/archive/refs/tags/${MY_PV}.tar.gz
+ -> ${MY_P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${MY_P}-vendor.tar.xz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="|| ( Apache-2.0 MIT )"
+LICENSE+="
+ Apache-2.0 BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 OFL-1.1
+ UbuntuFontLicense-1.0 Unicode-3.0 ZLIB openssl
+" # crates
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# dlopen: libX* (see winit+x11-dl crates -- TODO: need to recheck
+# if still correct and for the potential to be optional on wayland)
+RDEPEND="
+ media-libs/alsa-lib
+ virtual/libudev:=
+ x11-libs/libX11
+ x11-libs/libXcursor
+ x11-libs/libXrandr
+ x11-libs/libXrender
+"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ virtual/jre:*
+ virtual/pkgconfig
+"
+
+QA_FLAGS_IGNORED="usr/bin/${PN}.*"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0_p20231216-skip-render-tests.patch
+)
+
+src_configure() {
+ local workspaces=(
+ ruffle_{desktop,scanner}
+ exporter
+ $(usev test tests)
+ )
+
+ cargo_src_configure "${workspaces[@]/#/--package=}"
+}
+
+src_test() {
+ local skip=(
+ # may need more investigation, strangely "pass" (xfail) when
+ # RUSTFLAGS is unset, skip for now (bug #915726)
+ --skip from_avmplus/as3/Types/Int/wraparound
+ )
+
+ cargo_src_test -- "${skip[@]}"
+}
+
+src_install() {
+ dodoc README.md
+
+ newicon web/packages/extension/assets/images/icon180.png ${PN}.png
+ make_desktop_entry ${PN} ${PN^} ${PN} "AudioVideo;Player;Emulator;" \
+ "MimeType=application/x-shockwave-flash;application/vnd.adobe.flash.movie;"
+
+ cd "$(cargo_target_dir)" || die
+ newbin ${PN}_desktop ${PN}
+ newbin exporter ${PN}_exporter
+ dobin ${PN}_scanner
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if [[ ! ${REPLACING_VERSIONS} ]]; then
+ elog "${PN} is experimental software that is still under heavy development"
+ elog "and only receiving nightly releases. Plans in Gentoo is to update"
+ elog "roughly every months if no known major regressions (feel free to"
+ elog "report if you feel a newer nightly is needed ahead of time)."
+ elog
+ elog "There is currently no plans to support wasm builds / browser"
+ elog "extensions, this provides the desktop viewer and other tools."
+ fi
+
+ optfeature "h264 video decoding" media-libs/openh264
+ optfeature "the in-application file picker" sys-apps/xdg-desktop-portal
+}
diff --git a/app-emulation/virtualbox-guest-additions/Manifest b/app-emulation/virtualbox-guest-additions/Manifest
index b30491a40859..323fbaf0db16 100644
--- a/app-emulation/virtualbox-guest-additions/Manifest
+++ b/app-emulation/virtualbox-guest-additions/Manifest
@@ -2,6 +2,7 @@ AUX vboxclient.desktop 145 BLAKE2B c01f4c307cd965d271e19f31cab5f902126bdf49bd947
AUX vboxguest-6.1.36-log-use-c99.patch 288 BLAKE2B 7a869ea9c46d91b64e6f062173bce10db25581b2390dad517016eb35cdae0727579e374318afdf749c3118436c667dacaf670f93698894b972b3badc60a80a43 SHA512 c66d75e77d84f081095de91248f236606b5e0bcc50a5525918fce979c97d84dddf6d10fc2a21832db74b5ef632949d9dee8ec30b4f1ab05bcec1aa75da681971
AUX virtualbox-guest-additions-5-localconfig 937 BLAKE2B 4ad7e6520572ed5b3ee29c03b77fb1a4df5279e38929c4e6e446387f30eef9fd8f32b9f877db1074c0e28f9a461ec3114e7120f636e02ce41a72a81b1e69c62e SHA512 ccbc2db825060fd5044e42bf4e53271d6e64a7a400b09705230006367e696dd3bff384f1e4873bf2aedfec8e6fdc8f8ecc537cd5a1fe629727c2943371d13e40
AUX virtualbox-guest-additions-7.0.8-fix-gcc13.patch 753 BLAKE2B 2c42f0d370d5be3c02278389a103dec8d7ee3515b61147aaccb4b47285329fa0b87edea392031c856b14c2527544c1ddccd1a3a23522d10fb60f40f4dbdac941 SHA512 76766339012cc60a5c360caf17d92547718d67c670a498085f30b99be7541b69ed3f9acc6e7916dfb131facc4343fdd0db27b981755250189c16df215a6aee15
+AUX virtualbox-guest-additions-7.1.6-disable-vboxvideo-module.patch 420 BLAKE2B 6049193d8adb5432bb07b0e333eacab16c7143e071838c70b2f53edb4a50eb7fb16d80def2dc421116b17be930e581951d84435b09a057dc3636c68f315b7403 SHA512 df25fc50aa40072687cb4f661a4ceda90de9c75622e27a0a5fb78b25323dcd45d369040ec9b5102fbe2cfb5396f753513d81090485eb21424a0711b5fa01d0c5
AUX virtualbox-guest-additions-8.initd-r1 547 BLAKE2B 1b26fc26e95baa74d551f8a9cf62f698485d63a0487c4cc4fc9906b8ced191f078e2b794ef9db9488de9e92188c73812c16e37ff542f06e0d52a4dc62b631960 SHA512 81ccc8d3edd965feb55290cf1281a97a485f14fd1de07cd59479bd7746291d41abc45c2e7e209f17f7df057528be83c48f3e270b526e6b86d85c5ec4be2d3944
AUX virtualbox-guest-additions.service 411 BLAKE2B f5f1c24a94764ca72a04879c27cd9fdc1e0c8a1440ac87674dad44a1493a9347e6e2b351ae2b71e050ba06ae9848168220d62981a9e0c984ea68bf48ea06b485 SHA512 b6226146f3591a778551e94ae2661e2ae3c6b761d20600d741eaaa03f43f0a2b841d2a44d9eec3a3768edb23b021cee94c7849d998ee4104ad60dad2df88df83
AUX xorg.conf.vbox 274 BLAKE2B 3a3035fcbdbd5810c54505f5a5e6deefa1540e5e01a038babb62a40bd5b2de2dc5b228cabe55612d92a522e6ae92aa7ff4ff2ab26772c3b54ce95ebac4e7fc5a SHA512 ac2b14970dc6667ceec2dbdae52bc92cbad4aff020898ede156454e8a8a703354f15c7e19cfbd2bdd15e251493fd05cacfe814cabee0f9b4cf155e44860ed4c9
@@ -15,7 +16,7 @@ DIST virtualbox-patches-7.0.16.tar.bz2 6808 BLAKE2B d15fa2ca306375142c3e25d4759d
DIST virtualbox-patches-7.1.0.tar.bz2 5952 BLAKE2B cb024f36249d7d312c9d0f9231c22a9609d45de1d4c82ca36672fea703765d437d7a414d810adb5eb5f2db92018b669c3b5d0c32372c5ced90f5e13f82344ffa SHA512 c6ef54b7d60f01f5f2b89c6fd7f8b7b509bc62bca0502114cedcbaaf9643445ea413bba481dcf43fb96b5b4d94d64395965682c1ee160d889213615c9272184c
EBUILD virtualbox-guest-additions-6.1.50-r1.ebuild 7487 BLAKE2B 1473cc437f14f11d9a77c72b889ee0a872cacb58ec8919c4bb83a08000212d731864ce00533ca86c758764925f5a595d953d27942e0c0cda94e030a389905542 SHA512 070ea542766af91c52fea0c3835ddae7041d35a064d8a107f77b22a1361613c405b72307735f422abd84b8471626909bc128e91411dfd6188563df3ced777524
EBUILD virtualbox-guest-additions-7.0.22.ebuild 7544 BLAKE2B 78aeb666e2db0db9e7d8120113e45ee31de38964492dbf725ff1256a817614f834cd546e680743e41a380abf97be97a7698ef0b874b182f069ce710dc6d0148a SHA512 fe700af6d72182109e7dd9dc96263b8b4f17aa381e35b3f196386b3effde9d65b4c4bb30e8c065585455a83240a00148276df38fd5e51c26d172c0bdc73ede20
-EBUILD virtualbox-guest-additions-7.0.24.ebuild 7546 BLAKE2B 2ca09054cf3a58a092db5640fe8807b52c1460b17dd5efd1336065456de7398aadae857a22941981bacd33e328ba69b24b4f56158e3732cfe117318a5b6b897c SHA512 8974dfb7718d392251defdecad7022d69e97078618a2be5cc4bcd23579dc1c426ccfe6e6f24d1c0426e5f6fdaa6499a7f1f252d1c973f8fea7192ec558da33e4
+EBUILD virtualbox-guest-additions-7.0.24-r1.ebuild 7515 BLAKE2B ba6aa17027ae6832a117ad008ad4fc9d10ba5e39369c629da7f07684e8d1e0eb8bbed964987b7be790875a4a9665eead08c7f8f0130430b5e61269961ef8c6bb SHA512 d07226a3e557965666c662f538697d1978f65d2377469a9640a34d5e8138af9928a842e2b07dd90355f76c8923e7d3470fac091dbcc6c3a724cda6a57af71a70
EBUILD virtualbox-guest-additions-7.1.4.ebuild 7563 BLAKE2B 4f6ab2b65a4c8f9a7d65082f3e3ae7c4ecc1f9bf6ce60a3facd10f5c77621d837be2ae8791056350ac2cbe0e1250058e4047df27116a3aeae7075b78e000cf78 SHA512 8e8a34eb76f5f22fedbb86d05beee5db845dee855133d2fc0624c326111ba6c7e097cbd98c4afc2a74552d2a4e8ce2e4f7579fcccafb508bf2a78486cc96bb75
-EBUILD virtualbox-guest-additions-7.1.6.ebuild 7565 BLAKE2B 020e20bf61b29b9e91a097fd5ebbf4eec80ca21173db094206aee78e771dd991a4c1f9aa67480e357057ed7379603c36f110c31683b899f70396df88cd72a1dc SHA512 b715b3c30d1a2c5ffed0b49dbb1d9c919247f68e5af54bc6e024ded0006f7a970c7cbe03b65ccf43dc89a3b6436d3c94e19e867b428ce4e7882a138b101dcbf9
+EBUILD virtualbox-guest-additions-7.1.6-r1.ebuild 7534 BLAKE2B a262a9d570c7000e0bfa97d6083577193f18c0c51b7b3cdbb36379b3be8b26a0ee5f43fb146675e7ea577523c1df4158a7a95e9c7257b47e2f50ac7fba7c47eb SHA512 862ca6cfc6c36798fd323517e783f9430f51207eb76c3fdb5e85e3c140cbc1215858f7490c348fec27741f356ea705bd5992552098499645c23af3092e2da0a3
MISC metadata.xml 255 BLAKE2B 9386ef3bdb55211441f303528b31f8ccd9ad9039744400e859574a424fa1f366a989fe78f5c10038f3dd9b06a6a389e4a7e643b3eac0dc93a79ac4cc3b4c5423 SHA512 6c158e12464285afd44b70d0653b65f65da1c523fc2b1b07eb6d2dec56f58234bb31cb9dc36238cd6dfc20031b4d58c04e7c1678cc9f917194403ad8a209513f
diff --git a/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.1.6-disable-vboxvideo-module.patch b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.1.6-disable-vboxvideo-module.patch
new file mode 100644
index 000000000000..1ccf0baa3740
--- /dev/null
+++ b/app-emulation/virtualbox-guest-additions/files/virtualbox-guest-additions-7.1.6-disable-vboxvideo-module.patch
@@ -0,0 +1,19 @@
+The vboxvideo module is deprecated.
+Do not build it when VBOX_NO_LEGACY_XORG_X11 is defined.
+
+--- a/src/VBox/Additions/linux/drm/Makefile.kmk
++++ b/src/VBox/Additions/linux/drm/Makefile.kmk
+@@ -25,6 +25,8 @@
+ # SPDX-License-Identifier: GPL-3.0-only
+ #
+
++ifndef VBOX_NO_LEGACY_XORG_X11
++
+ SUB_DEPTH = ../../../../..
+ include $(KBUILD_PATH)/subheader.kmk
+
+@@ -50,3 +52,4 @@
+
+ include $(FILE_KBUILD_SUB_FOOTER)
+
++endif
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24-r1.ebuild
index 7c809f94b95c..272679693d42 100644
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24.ebuild
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.0.24-r1.ebuild
@@ -93,7 +93,7 @@ src_prepare() {
# Provide kernel sources
pushd src/VBox/Additions &>/dev/null || die
ebegin "Extracting guest kernel module sources"
- kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null
+ kmk GuestDrivers-src vboxguest-src vboxsf-src &>/dev/null
eend $? || die
popd &>/dev/null || die
@@ -102,7 +102,9 @@ src_prepare() {
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
- if ! use gui; then
+ if use gui; then
+ echo "VBOX_NO_LEGACY_XORG_X11 := 1" >> LocalConfig.kmk || die
+ else
echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk || die
fi
@@ -112,6 +114,7 @@ src_prepare() {
# Respect LDFLAGS (bug #759100)
sed -i -e '/TEMPLATE_VBoxR3Exe_LDFLAGS.linux[ ]*=/ s/$/ $(CCLDFLAGS)/' Config.kmk || die
+ eapply "${FILESDIR}"/${PN}-7.1.6-disable-vboxvideo-module.patch
eapply "${WORKDIR}/virtualbox-patches-7.0.16/patches"
eapply_user
}
@@ -197,7 +200,6 @@ src_compile() {
# Move this here for bug 836037
local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
local modlist=( vboxguest vboxsf )
- use gui && modlist+=( vboxvideo )
modlist=( "${modlist[@]/%/=misc:${VBOX_MOD_SRC_DIR}}" )
linux-mod-r1_src_compile
}
@@ -261,10 +263,6 @@ src_install() {
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
- # sample xorg.conf
- dodoc "${FILESDIR}"/xorg.conf.vbox
- docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
-
systemd_dounit "${FILESDIR}/${PN}.service"
readme.gentoo_create_doc
diff --git a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6.ebuild b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild
index 81cd398e4bc3..ea448bd33c03 100644
--- a/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6.ebuild
+++ b/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-7.1.6-r1.ebuild
@@ -94,7 +94,7 @@ src_prepare() {
# Provide kernel sources
pushd src/VBox/Additions &>/dev/null || die
ebegin "Extracting guest kernel module sources"
- kmk GuestDrivers-src vboxguest-src vboxsf-src vboxvideo-src &>/dev/null
+ kmk GuestDrivers-src vboxguest-src vboxsf-src &>/dev/null
eend $? || die
popd &>/dev/null || die
@@ -103,7 +103,9 @@ src_prepare() {
# Disable things unused or splitted into separate ebuilds
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die
- if ! use gui; then
+ if use gui; then
+ echo "VBOX_NO_LEGACY_XORG_X11 := 1" >> LocalConfig.kmk || die
+ else
echo "VBOX_WITH_X11_ADDITIONS :=" >> LocalConfig.kmk || die
fi
@@ -113,6 +115,7 @@ src_prepare() {
# Respect LDFLAGS (bug #759100)
sed -i -e '/TEMPLATE_VBoxR3Exe_LDFLAGS.linux[ ]*=/ s/$/ $(CCLDFLAGS)/' Config.kmk || die
+ eapply "${FILESDIR}"/${PN}-7.1.6-disable-vboxvideo-module.patch
eapply "${WORKDIR}/virtualbox-patches-7.1.0/patches"
eapply_user
}
@@ -198,7 +201,6 @@ src_compile() {
# Move this here for bug 836037
local modargs=( KERN_DIR="${KV_OUT_DIR}" KERN_VER="${KV_FULL}" )
local modlist=( vboxguest vboxsf )
- use gui && modlist+=( vboxvideo )
modlist=( "${modlist[@]/%/=misc:${VBOX_MOD_SRC_DIR}}" )
linux-mod-r1_src_compile
}
@@ -262,10 +264,6 @@ src_install() {
insinto /etc/xdg/autostart
doins "${FILESDIR}"/vboxclient.desktop
- # sample xorg.conf
- dodoc "${FILESDIR}"/xorg.conf.vbox
- docompress -x "${ED}"/usr/share/doc/${PF}/xorg.conf.vbox
-
systemd_dounit "${FILESDIR}/${PN}.service"
readme.gentoo_create_doc
diff --git a/app-emulation/vkd3d-proton/Manifest b/app-emulation/vkd3d-proton/Manifest
index 83997f692057..d5b48eb74fdb 100644
--- a/app-emulation/vkd3d-proton/Manifest
+++ b/app-emulation/vkd3d-proton/Manifest
@@ -8,7 +8,6 @@ DIST spirv-headers-ec59c77a3bb5c747a369931ef101ac7c14823f2f.tar.gz 524120 BLAKE2
DIST vkd3d-proton-2.12.tar.gz 2109289 BLAKE2B 805298efa2f49a82dcc4b989856fb24469a1de9a1d175d5844be3e72187d14f3454ced52bcd65f557ec6776fda00112f4b9849dd48679e10aadf277d82b928ca SHA512 fbd4102fc9917a8e7c28edcaa500c26352a0652a008da453108cd21325ef2c757b5c0842a50e2e5ea6efcacdabe86b2ce570647313d0036967a135b01850fbe8
DIST vkd3d-proton-2.13.tar.gz 2210823 BLAKE2B 106d7c204b3761c119001af9cda7bd32443e3dcda4426b49f4a2d5f5c8bd19cb16fad21e6a73f6b6eaca8a8501e2d65db6f8b10fd31c488df01cf7f1ceedf8f6 SHA512 a39fc8fb5db379e91fabf10cf81b5087ead7fd7eb833620803acfbc3bd3eec32a81ad193030e8521013bcd55df59a0dee49320313493eac79aa32203a0742e28
DIST vkd3d-proton-2.14.1.tar.gz 2271935 BLAKE2B c136ba61511bcf8c3202bfd3ab63c663739c2bb6085f04c43227f270e2314e66ba0eb1dcb0e44e0a7aa9d04b24397a7e5b3684530ffe7165997aaaa014d5d4e1 SHA512 7c401a5b100d85b5f674488ff2591034b974eae2ed02e878a21959e23a7682d090e377d5caa8d5508ceeb35f5750fedea36d2fdb3cf0997d5bc171410171ff82
-DIST vkd3d-proton-2.14.tar.gz 2270290 BLAKE2B e79316d80b455912e712a4f97f724c0471201a27f12d7016fb24d22860d3b9ccf5add012b8e02e220cb2a206fcdb0710ad5f0b742f3c5ddc88a017886ae9ec80 SHA512 bce96de2ce4c9b66365fb4056415ec93dae5bd4419a1dd1a45fe7b1bc5ff610c04af72b74e126cec12e11662d10fb3e7c4476ba73384b28f4fde40c577814dd7
DIST vkd3d-proton-2.6.tar.gz 1271948 BLAKE2B 02d2574a66614613748fe3471a6fd5aac2650fdae15a17b17ea2ed028fa53a0579b866e7240036a26108afc343395826474bb99e015b9299c2abec811bb872ab SHA512 6f27d213652e2380a9ba4534ac9ffe4b752b4608fbc2e8acd273fa151ab19ad0b132e3436384d2b8591cd1a59f0b69d342c893dc3a64be85188b5e3274bcf3f1
DIST vkd3d-proton-dxil-spirv-b537bbb91b.tar.gz 631130 BLAKE2B 99f40c5efde87d0af86542b427e5b0429be68ca69ba0c2b6d10a821811756d8dadff4449f268ae404f8ace09a91b3e8aaa135e534a77c0239e58c1a970a044cc SHA512 3c20090b7a1b53c30fd4967622fc7384e1bcc504c30d8075068b87dad1bd2c6f4a12459bf42e61bf76b9dd454ec17a9d529f74ab0d5583627e966d94bb341dc3
DIST vkd3d-proton-spirv-headers-ae217c1780.tar.gz 415130 BLAKE2B 0c6444c4c1cb43b9c69757d7c2257ce2fe1bc6be308341f3189766f120994e4920bc738b737d9eefc299359dab568fb8809782e3663dd589c0e4d13aecb8873a SHA512 02cf1d63b29e48ef0efe489eb32237ba2f9f4bf58a182b00dc96aab18faba94de79283398e9e945cd81130f83fff228c59b04e496716ea9ccc148a5f4465282c
@@ -19,7 +18,6 @@ DIST vulkan-headers-f030d9dd8ca297b84b10330cee87f72acc3b0aab.tar.gz 2255357 BLAK
EBUILD vkd3d-proton-2.12.ebuild 7797 BLAKE2B 244c709c7dddf6457dad446186c248ed8cb1f7e8fb8061048c9a3a5f096d4f743156534274d6da157a8128a48fb4df260bc71d9c46f038aec3c1fca5d1493a05 SHA512 c46beceb54d66e33dafd95302a3388b2b1ef652742678abbdcfad7493eba475a03dfcb152556a2878d90f8bb02b4db7b0506a9ee9f9db0399f3abb5cdb5aa450
EBUILD vkd3d-proton-2.13.ebuild 7797 BLAKE2B 22686584d6e884394ab857d68bf14b1af0dd1f503b2f321e805f06de71bbd53a9c2cc5d75153f7b7b278d3f30e8ddcd82dfeb7ad6e90bc4788bcf4312a820e5d SHA512 36a45269d3ca276674d3153f8fa352d5ef21eb986b5a1a41b873e241870ab78bd18fec020208124f2d1d131651f6d13bd80f4a27b353009dcebdebf529c4e5f5
EBUILD vkd3d-proton-2.14.1.ebuild 7797 BLAKE2B c1bb1f4e7c1b80534b7b9a196c84e37fdb69f9d69f8e8d9283e13c01c567c2807d1292f61b35759845c0a1ed6541a8b26270d0067bc4c504cb33bd9a3079540e SHA512 2993b07c3f74345ae93b664e8455fe8edcc7416d8fbd9568cee3fe236f8a616c03e46c94fc9fb7c8520bca353d13d5334ee43aae02ad572e8db96d7df59e6c4c
-EBUILD vkd3d-proton-2.14.ebuild 7797 BLAKE2B 91dca84d62ca22c7ad9fbea5a2eb9e9511c86c97fb772403f768dd887a5f8ebb50cdb451e11dbd306314f2df7c50f2939143743b5fa2e52dd03c5117ac931710 SHA512 38720a1260a1a313832e52e091a59895e821b19870471a147d105073270025b3c80da5f1cbf4acc710b6c1443cc4df025fede4c056db94ac015f212d34a1afb0
EBUILD vkd3d-proton-2.6-r1.ebuild 6898 BLAKE2B d65133bfa465040c0f8a2c5d148d907ebe063589f5ef3916c39d9441a409d759127561ee006454b75d8eecb36c6a083eefbc0739a2fee06b63f9c0bf7a2a34d8 SHA512 92f849054d2f4e26a5533b8db9417e7baebaaad99fd4393915503b2edc6c25caa7ed99720bf6bc17bd9bc3b065cca8fb61fbb0c77bd2f2036fbd1a4d0ddb19c3
EBUILD vkd3d-proton-9999.ebuild 7599 BLAKE2B 914e57c539f829bdc09b41c38e676e297be8aa8edd83772cb9a9faf0daaa4a7213e36460691b240560b34a1228bd9f1adb2ebc8f6ad1d30fed9885b9bc73c521 SHA512 c5929ab80d96c636e82b03ec4da2d43be30c6b08898e6c03e0f2aad1b388eea5727d8fc3597c4b08167ced0057d915dfe6727eeceea365a34efd68537731ee70
MISC metadata.xml 618 BLAKE2B 4382557118c0ea56972d05a10c9cc1f94a4fbcc58a414f1cd5e4354ce6ed1de15c95377f167ed5627231c2887ecce3c00756908720458fedddea5ed6732771ff SHA512 b5cc86b412c30ee5d54868a87c9f4892337c83988b738806532cd9e2cc295a2326e776030c19cae9a2e9dd4f5f615b1d962ec48a4b310fd8a94ec4024dde99ab
diff --git a/app-emulation/vkd3d-proton/vkd3d-proton-2.14.ebuild b/app-emulation/vkd3d-proton/vkd3d-proton-2.14.ebuild
deleted file mode 100644
index e7d82562eb3b..000000000000
--- a/app-emulation/vkd3d-proton/vkd3d-proton-2.14.ebuild
+++ /dev/null
@@ -1,207 +0,0 @@
-# Copyright 2022-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MULTILIB_ABIS="amd64 x86" # allow usage on /no-multilib/
-MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit flag-o-matic meson-multilib toolchain-funcs
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/HansKristian-Work/vkd3d-proton.git"
- EGIT_SUBMODULES=(
- # uses hacks / recent features and easily breaks, keep bundled headers
- # (also cross-compiled and -I/usr/include is troublesome)
- khronos/{SPIRV,Vulkan}-Headers
- subprojects/dxil-spirv
- subprojects/dxil-spirv/third_party/spirv-headers # skip cross/tools
- )
-else
- HASH_VKD3D=c965c1351fd6915a65bb7f647319536252a24a93 # match tag on bumps
- HASH_DXIL=33cd5b2eee8a27da50ad7ed2762e56cca3a7b2c9
- HASH_SPIRV=8b246ff75c6615ba4532fe4fde20f1be090c3764
- HASH_SPIRV_DXIL=ec59c77a3bb5c747a369931ef101ac7c14823f2f
- HASH_VULKAN=29f979ee5aa58b7b005f805ea8df7a855c39ff37
- SRC_URI="
- https://github.com/HansKristian-Work/vkd3d-proton/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.tar.gz
- https://github.com/HansKristian-Work/dxil-spirv/archive/${HASH_DXIL}.tar.gz
- -> dxil-spirv-${HASH_DXIL}.tar.gz
- https://github.com/KhronosGroup/SPIRV-Headers/archive/${HASH_SPIRV}.tar.gz
- -> spirv-headers-${HASH_SPIRV}.tar.gz
- https://github.com/KhronosGroup/SPIRV-Headers/archive/${HASH_SPIRV_DXIL}.tar.gz
- -> spirv-headers-${HASH_SPIRV_DXIL}.tar.gz
- https://github.com/KhronosGroup/Vulkan-Headers/archive/${HASH_VULKAN}.tar.gz
- -> vulkan-headers-${HASH_VULKAN}.tar.gz
- "
- KEYWORDS="-* amd64 x86"
-fi
-
-DESCRIPTION="Fork of VKD3D, development branches for Proton's Direct3D 12 implementation"
-HOMEPAGE="https://github.com/HansKristian-Work/vkd3d-proton/"
-
-LICENSE="LGPL-2.1+ Apache-2.0 MIT"
-SLOT="0"
-IUSE="+abi_x86_32 crossdev-mingw debug extras +strip"
-
-BDEPEND="
- dev-util/glslang
- !crossdev-mingw? ( dev-util/mingw64-toolchain[${MULTILIB_USEDEP}] )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.6-wow64-setup.patch
-)
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} == binary ]] && return
-
- if use crossdev-mingw && [[ ! -v MINGW_BYPASS ]]; then
- local tool=-w64-mingw32-g++
- for tool in $(usev abi_x86_64 x86_64${tool}) $(usev abi_x86_32 i686${tool}); do
- if ! type -P ${tool} >/dev/null; then
- eerror "With USE=crossdev-mingw, it is necessary to setup the mingw toolchain."
- eerror "For instructions, please see: https://wiki.gentoo.org/wiki/Mingw"
- use abi_x86_32 && use abi_x86_64 &&
- eerror "Also, with USE=abi_x86_32, will need both i686 and x86_64 toolchains."
- die "USE=crossdev-mingw is enabled, but ${tool} was not found"
- elif [[ ! $(LC_ALL=C ${tool} -v 2>&1) =~ "Thread model: posix" ]]; then
- eerror "${PN} requires GCC to be built with --enable-threads=posix"
- eerror "Please see: https://wiki.gentoo.org/wiki/Mingw#POSIX_threads_for_Windows"
- die "USE=crossdev-mingw is enabled, but ${tool} does not use POSIX threads"
- fi
- done
- tool=-w64-mingw32-widl
- for tool in $(usev abi_x86_64 x86_64${tool}) $(usev abi_x86_32 i686${tool}); do
- if ! type -P widl >/dev/null && ! type -P ${tool} >/dev/null; then
- eerror "With USE=crossdev-mingw, you need to provide the widl compiler by either"
- eerror "building crossdev mingw64-runtime with USE=tools or installing wine."
- die "USE=crossdev-mingw is set but neither widl nor ${tool} were found"
- fi
- done
- fi
-}
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir khronos/{SPIRV,Vulkan}-Headers subprojects/dxil-spirv || die
- mv ../dxil-spirv-${HASH_DXIL} subprojects/dxil-spirv || die
- mv ../SPIRV-Headers-${HASH_SPIRV} khronos/SPIRV-Headers || die
- mv ../Vulkan-Headers-${HASH_VULKAN} khronos/Vulkan-Headers || die
-
- rmdir subprojects/dxil-spirv/third_party/spirv-headers || die
- # dxil and vkd3d's spirv headers sometime mismatch and are incompatible
- if [[ ${HASH_SPIRV} == "${HASH_SPIRV_DXIL}" ]]; then
- ln -s ../../../khronos/SPIRV-Headers \
- subprojects/dxil-spirv/third_party/spirv-headers || die
- else
- mv ../SPIRV-Headers-${HASH_SPIRV_DXIL} \
- subprojects/dxil-spirv/third_party/spirv-headers || die
- fi
- fi
-
- default
-
- sed -i "/^basedir=/s|=.*|=${EPREFIX}/usr/lib/${PN}|" setup_vkd3d_proton.sh || die
-
- if [[ ${PV} != 9999 ]]; then
- # without .git, meson sets vkd3d_build as 0x${PV} leading to failure
- sed -i "s/@VCS_TAG@/${HASH_VKD3D::15}/" vkd3d_build.h.in || die
- sed -i "s/@VCS_TAG@/${HASH_VKD3D::7}/" vkd3d_version.h.in || die
- fi
-}
-
-src_configure() {
- use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}
-
- # random segfaults been reported with LTO in some games, filter as
- # a safety (note that optimizing this further won't really help
- # performance, GPU does the actual work)
- filter-lto
-
- # -mavx with mingw-gcc has a history of obscure issues and
- # disabling is seen as safer, e.g. `WINEARCH=win32 winecfg`
- # crashes with -march=skylake >=wine-8.10, similar issues with
- # znver4: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110273
- append-flags -mno-avx
-
- if [[ ${CHOST} != *-mingw* ]]; then
- if [[ ! -v MINGW_BYPASS ]]; then
- unset AR CC CXX RC STRIP WIDL
- filter-flags '-fuse-ld=*'
- filter-flags '-mfunction-return=thunk*' #878849
-
- # some bashrc-mv users tend to do CFLAGS="${LDFLAGS}" and then
- # strip-unsupported-flags miss these during compile-only tests
- # (primarily done for 23.0 profiles' -z, not full coverage)
- filter-flags '-Wl,-z,*' #928038
- fi
-
- CHOST_amd64=x86_64-w64-mingw32
- CHOST_x86=i686-w64-mingw32
- CHOST=$(usex x86 ${CHOST_x86} ${CHOST_amd64})
-
- strip-unsupported-flags
- fi
-
- multilib-minimal_src_configure
-}
-
-multilib_src_configure() {
- # multilib's ${CHOST_amd64}-gcc -m32 is unusable with crossdev,
- # unset again so meson eclass will set ${CHOST}-gcc + others
- use crossdev-mingw && [[ ! -v MINGW_BYPASS ]] && unset AR CC CXX STRIP WIDL
-
- # prefer ${CHOST}'s widl (mingw) over wine's as used by upstream if
- # possible, but eclasses don't handle that so setup machine files
- local widl=$(tc-getPROG WIDL widl)
- use amd64 && [[ ${widl} == widl && ${ABI} == x86 ]] && widl="widl','-m32"
- printf "[binaries]\nwidl = ['${widl}']\n" > "${T}"/widl.${ABI}.ini || die
-
- local emesonargs=(
- --prefix="${EPREFIX}"/usr/lib/${PN}
- --{bin,lib}dir=x${ABI: -2}
- --{cross,native}-file="${T}"/widl.${ABI}.ini
- $(meson_use {,enable_}extras)
- $(meson_use debug enable_trace)
- $(usev strip --strip) # portage won't strip .dll, so allow it here
- -Denable_tests=false # needs wine/vulkan and is intended for manual use
- )
-
- meson_src_configure
-}
-
-multilib_src_install_all() {
- dobin setup_vkd3d_proton.sh
- einstalldocs
-
- find "${ED}" -type f -name '*.a' -delete || die
-}
-
-pkg_postinst() {
- if [[ ! ${REPLACING_VERSIONS} ]]; then
- elog "To enable ${PN} on a wine prefix, you can run the following command:"
- elog
- elog " WINEPREFIX=/path/to/prefix setup_vkd3d_proton.sh install --symlink"
- elog
- elog "Should also ensure that >=app-emulation/dxvk-2.1's dxgi.dll is available"
- elog "on it, not meant to function independently even if only using d3d12."
- elog
- elog "See ${EROOT}/usr/share/doc/${PF}/README.md* for details."
- elif [[ ${REPLACING_VERSIONS##* } ]]; then
- if ver_test ${REPLACING_VERSIONS##* } -lt 2.7; then
- elog
- elog ">=${PN}-2.7 requires drivers and Wine to support vulkan-1.3, meaning:"
- elog ">=wine-*-7.1 (or >=wine-proton-7.0), and >=mesa-22.0 (or >=nvidia-drivers-510)"
- fi
-
- if ver_test ${REPLACING_VERSIONS##* } -lt 2.9; then
- elog
- elog ">=${PN}-2.9 has a new file to install (d3d12core.dll), old Wine prefixes that"
- elog "relied on '--symlink' may need updates by using the setup_vkd3d_proton.sh."
- elog
- elog "Furthermore, it may not function properly if >=app-emulation/dxvk-2.1's"
- elog "dxgi.dll is not available on that prefix (even if only using d3d12)."
- fi
- fi
-}