commit:     14e982379e0865b45383463a713ef2785f5ab2c1
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  6 15:40:43 2026 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Feb  6 15:40:43 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14e98237

app-emulation/open-vm-tools: add 13.0.10

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-emulation/open-vm-tools/Manifest               |   1 +
 .../open-vm-tools/open-vm-tools-13.0.10.ebuild     | 168 +++++++++++++++++++++
 2 files changed, 169 insertions(+)

diff --git a/app-emulation/open-vm-tools/Manifest 
b/app-emulation/open-vm-tools/Manifest
index 717d42b4fb11..c47b6c3f7329 100644
--- a/app-emulation/open-vm-tools/Manifest
+++ b/app-emulation/open-vm-tools/Manifest
@@ -1,2 +1,3 @@
 DIST open-vm-tools-12.5.0-24276846.tar.gz 4361651 BLAKE2B 
2f0bc58e51afbb438efd83b048a81d8f0dc23d50268f3b031789a61e57c45e4502dff81e7b339733e3c34eb9f3c46b4483d92cdc9956906933735b1b51128acf
 SHA512 
068f84192b7056144257a8180884a077fe03e34c441f4eb7729112d3dbd75f70e019d3cdbfe7c25243154d7597f152272efde9417d873a585ec1bfc68f34e234
+DIST open-vm-tools-13.0.10-25056151.tar.gz 4341374 BLAKE2B 
e1198567f598ebae28a0a165b4bccc079db43e53ffd707368f2d16cef35a938fbe9c36ba0363f2315252bc1409bc2544b8ed29aa88e3a8a860a233fb6b7ad6b2
 SHA512 
c332fd2efb3bc16f2fbb77b7b0d0f4a5bb251b5b4828260bb6cbd96903a38d492f90727dad54ef95e442cf3dcc043032e5581e64e3aee4afb55b9db568a29259
 DIST open-vm-tools-13.0.5-24915695.tar.gz 4342572 BLAKE2B 
bd612d2ec36a275b04ef7e73a9c2444f97672fad7e655f9866f4231377f2bb45e7bd6a1278290c9ea17e8cdab4b47f0cb2517b7b11f2b6fe06d802610a281dff
 SHA512 
e8a0c823e8430e3df0873f8031704536e73bec21d4cd37c37a37053fe2a5116ae1d2fdfa05eae95910c22238c967acc96f6603e1dd8289f2ca926507040c757a

diff --git a/app-emulation/open-vm-tools/open-vm-tools-13.0.10.ebuild 
b/app-emulation/open-vm-tools/open-vm-tools-13.0.10.ebuild
new file mode 100644
index 000000000000..53f6a1b76fb3
--- /dev/null
+++ b/app-emulation/open-vm-tools/open-vm-tools-13.0.10.ebuild
@@ -0,0 +1,168 @@
+# Copyright 2007-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info pam systemd udev
+
+MY_P="${P}-25056151"
+
+DESCRIPTION="Tools for VMware guests"
+HOMEPAGE="https://github.com/vmware/open-vm-tools";
+SRC_URI="https://github.com/vmware/open-vm-tools/releases/download/stable-${PV}/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="X +deploypkg +dnet doc +fuse gtkmm +icu multimon pam +resolutionkms +ssl 
+vgauth"
+REQUIRED_USE="
+       multimon? ( X )
+       vgauth? ( ssl )"
+
+RDEPEND="
+       dev-libs/glib
+       net-libs/libtirpc
+       deploypkg? ( dev-libs/libmspack )
+       fuse? ( sys-fs/fuse:3= )
+       pam? ( sys-libs/pam )
+       !pam? ( virtual/libcrypt:= )
+       ssl? ( dev-libs/openssl:= )
+       vgauth? (
+               dev-libs/libxml2:=
+               dev-libs/xmlsec:=
+       )
+       X? (
+               x11-libs/gtk+:3[X]
+               x11-libs/libSM
+               x11-libs/libXcomposite
+               x11-libs/libXext
+               x11-libs/libXi
+               x11-libs/libXrandr
+               x11-libs/libXrender
+               x11-libs/libXtst
+               gtkmm? (
+                       dev-cpp/gtkmm:3.0
+                       dev-libs/libsigc++:2
+               )
+               multimon? ( x11-libs/libXinerama )
+       )
+       dnet? ( dev-libs/libdnet )
+       icu? ( dev-libs/icu:= )
+       resolutionkms? (
+               virtual/libudev
+               || (
+                       (
+                               >=media-libs/mesa-25.2[-video_cards_vmware]
+                               x11-base/xorg-server[xorg]
+                               x11-libs/libdrm[-video_cards_vmware]
+                       )
+                       (
+                               <media-libs/mesa-25.2[video_cards_vmware,xa]
+                               x11-libs/libdrm[video_cards_vmware]
+                       )
+               )
+       )"
+DEPEND="${RDEPEND}
+       net-libs/rpcsvc-proto"
+BDEPEND="
+       dev-util/glib-utils
+       virtual/pkgconfig
+       doc? ( app-text/doxygen )"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-12.4.5-Werror.patch
+       "${FILESDIR}"/${PN}-12.4.5-icu.patch
+)
+
+pkg_setup() {
+       local CONFIG_CHECK="~VMWARE_BALLOON ~VMWARE_PVSCSI ~VMXNET3 
~VMWARE_VMCI ~VMWARE_VMCI_VSOCKETS ~FUSE_FS"
+       use X && CONFIG_CHECK+=" ~DRM_VMWGFX"
+       kernel_is -lt 5 5 || CONFIG_CHECK+=" ~X86_IOPL_IOPERM"
+       linux-info_pkg_setup
+}
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myeconfargs=(
+               --disable-glibc-check
+               --disable-tests
+               --without-root-privileges
+               $(use_enable multimon)
+               $(use_with X x)
+               $(use_with X gtk3)
+               $(use_with gtkmm gtkmm3)
+               $(use_enable doc docs)
+               $(use_enable resolutionkms)
+               $(use_enable deploypkg)
+               $(use_with pam)
+               $(use_enable vgauth)
+               $(use_with dnet)
+               $(use_with icu)
+               --with-udev-rules-dir="$(get_udevdir)"/rules.d
+               $(use_with fuse fuse 3)
+               # Disable it explicitly, we do not yet list the
+               # containerinfo dependencies in the ebuild
+               --disable-containerinfo
+               # Disable it explicitly, gtk2 is obsolete
+               --without-gtk2
+               # Possibly add a separate USE flag for the utility, or
+               # merge it into resolutionkms
+               --disable-vmwgfxctrl
+       )
+       # Avoid a bug in configure.ac
+       use ssl || myeconfargs+=( --without-ssl )
+
+       # Avoid relying on dnet-config script, which breaks cross-compiling. 
This
+       # library has no pkg-config file.
+       export CUSTOM_DNET_LIBS="-ldnet"
+
+       econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+
+       if use pam; then
+               rm "${ED}"/etc/pam.d/vmtoolsd || die
+               pamd_mimic_system vmtoolsd auth account
+       fi
+
+       newinitd "${FILESDIR}/open-vm-tools.initd" vmware-tools
+       newconfd "${FILESDIR}/open-vm-tools.confd" vmware-tools
+
+       if use vgauth; then
+               systemd_newunit "${FILESDIR}"/vmtoolsd.vgauth.service 
vmtoolsd.service
+               systemd_dounit "${FILESDIR}"/vgauthd.service
+       else
+               systemd_dounit "${FILESDIR}"/vmtoolsd.service
+       fi
+
+       # vmhgfs-fuse is built only when fuse is enabled
+       if use fuse; then
+               # Make fstype = vmhgfs-fuse work in fstab
+               dosym vmhgfs-fuse /usr/bin/mount.vmhgfs-fuse
+       fi
+
+       if use X; then
+               fperms 4711 /usr/bin/vmware-user-suid-wrapper
+               dobin scripts/common/vmware-xdg-detect-de
+       fi
+}
+
+pkg_postinst() {
+       udev_reload
+
+       if has_version ">=media-libs/mesa-25.2" && has_version 
"x11-drivers/xf86-video-vmware"; then
+               elog "You need to remove x11-drivers/xf86-video-vmware to use 
the modesetting video driver."
+       fi
+}
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to