diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2023-06-02 00:44:36 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2023-06-02 02:53:33 -0400 |
commit | 56cab4809a234161eaafeb2847d8adb1344a73a3 (patch) | |
tree | 06530b47ba3b8c1fcd6f2791121c4fa3e26ef14a /app-emulation | |
parent | app-emulation/vkd3d-proton: USE=-debug -> global USE=strip in live (diff) | |
download | gentoo-56cab4809a234161eaafeb2847d8adb1344a73a3.tar.gz gentoo-56cab4809a234161eaafeb2847d8adb1344a73a3.tar.bz2 gentoo-56cab4809a234161eaafeb2847d8adb1344a73a3.zip |
app-emulation/wine-proton: USE=-debug -> global USE=strip in live
Will update the old ebuilds eventually but given this triggers
a rebuild with --changed-use (default enabled), will wait till
a few bumps and maybe stable to give a chance for people to
update and depclean old rather than unnecessarily rebuild all.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wine-proton/wine-proton-8.0.9999.ebuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild b/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild index b2b9a61de3ff..4939eacc3879 100644 --- a/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild +++ b/app-emulation/wine-proton/wine-proton-8.0.9999.ebuild @@ -28,10 +28,10 @@ HOMEPAGE="https://github.com/ValveSoftware/wine/" LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff" SLOT="${PV}" IUSE=" - +abi_x86_32 +abi_x86_64 +alsa crossdev-mingw custom-cflags debug + +abi_x86_32 +abi_x86_64 +alsa crossdev-mingw custom-cflags +fontconfig +gecko +gstreamer llvm-libunwind +mono nls osmesa - perl pulseaudio +sdl selinux +ssl udev udisks +unwind usb v4l - +xcomposite xinerama" + perl pulseaudio +sdl selinux +ssl +strip udev udisks +unwind + usb v4l +xcomposite xinerama" # tests are non-trivial to run, can hang easily, don't play well with # sandbox, and several need real opengl/vulkan or network access @@ -305,9 +305,13 @@ src_install() { # don't let portage try to strip PE files with the wrong # strip executable and instead handle it here (saves ~120MB) dostrip -x ${WINE_PREFIX}/wine/{i386,x86_64}-windows - use debug || + + if use strip; then + ebegin "Stripping Windows (PE) binaries" find "${ED}"${WINE_PREFIX}/wine/*-windows -regex '.*\.\(a\|dll\|exe\)' \ - -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + || die + -exec $(usex abi_x86_64 x86_64 i686)-w64-mingw32-strip --strip-unneeded {} + + eend ${?} || die + fi dodoc ANNOUNCE AUTHORS README* documentation/README* readme.gentoo_create_doc |