gentoo-ebuilds/app-emulation/wine-mono/wine-mono-9.4.0.ebuild
Ionen Wolkens a0dac54b8b
app-emulation/wine-mono: stabilize all, will do straight-to-stable
See comment, just realize that this was useless churn for
this package. Stable wine also won't use the latest even
if it's stabilized due to pinning.

Would be different if we were building it, but that's unlikely
to happen.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2024-12-11 03:45:01 -05:00

33 lines
890 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Replacement for the .NET runtime and class libraries in Wine"
HOMEPAGE="
https://gitlab.winehq.org/wine/wine/-/wikis/Wine-Mono/
https://gitlab.winehq.org/mono/wine-mono/
"
SRC_URI="
shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.tar.xz )
!shared? ( https://dl.winehq.org/wine/${PN}/${PV}/${P}-x86.msi )
"
S=${WORKDIR}
LICENSE="BSD-2 GPL-2 LGPL-2.1 MIT MPL-1.1"
SLOT="${PV}"
# keep straight-to-stable, builds nothing and the stabilization process
# is wasteful and annoying for users using ~testing wine in stable
# (wine also pins to specific versions, so stable won't use latest)
KEYWORDS="amd64 x86"
IUSE="+shared"
src_install() {
insinto /usr/share/wine/mono
if use shared; then
doins -r ${P}
else
doins "${DISTDIR}"/${P}-x86.msi
fi
}