diff --git a/srcpkgs/open-vm-tools/template b/srcpkgs/open-vm-tools/template index 7a00d5b622e..777c9472b2a 100644 --- a/srcpkgs/open-vm-tools/template +++ b/srcpkgs/open-vm-tools/template @@ -1,28 +1,26 @@ -pkgname="open-vm-tools" -version="10.1.15" -revision=2 -wrksrc="${pkgname}-stable-${version}" -build_wrksrc="open-vm-tools" -build_style=gnu-configure -short_desc="The open source implementation of VMware Tools" -maintainer="Carson Page " -license="GPL-2" -homepage="https://github.com/vmware/open-vm-tools" -distfiles="${homepage}/archive/stable-${version}.tar.gz" -checksum=2257122f5fee37bf1da1a764708a098b2e8d2847b5ba23dbffe97fd9c4b4214f - -build_options="pam x11" -build_options_default="pam x11" - -hostmakedepends="rpcgen automake libtool pkg-config" -makedepends="icu-devel libdnet-devel procps-ng-devel libmspack-devel glib-devel - fuse-devel $(vopt_if pam pam-devel) $(vopt_if x11 'gtkmm2-devel libXext-devel - libX11-devel libXinerama-devel libXi-devel libXrender-devel libXrandr-devel - libXtst-devel') libressl-devel libxerces-c-devel xmlsec1-devel" - +# Template file for 'open-vm-tools' +pkgname=open-vm-tools +version=10.2.5 +revision=1 +_build=8068406 +wrksrc=$pkgname-$version-$_build configure_args="--sbindir=/usr/bin --with-udev-rules-dir=/usr/lib/udev/rules.d --without-xmlsecurity --without-kernel-modules $(vopt_with x11 x) $(vopt_with pam)" +build_style=gnu-configure +hostmakedepends="automake libtool pkg-config rpcgen" +makedepends="fuse-devel glib-devel icu-devel libdnet-devel libmspack-devel + libressl-devel libxerces-c-devel procps-ng-devel $(vopt_if pam 'pam-devel') + $(vopt_if x11 'gtkmm-devel libXtst-devel xmlsec1-devel')" +short_desc="The open source implementation of VMware Tools" +maintainer="Carson Page " +license="GPL-2.0-or-later" +homepage="https://github.com/vmware/open-vm-tools" +distfiles="$homepage/releases/download/stable-$version/$pkgname-$version-$_build.tar.gz" +checksum=d53be10cfa48bc4853e5fa8e16b416b11d01487d7bade226e8f79da7e9d1c2f3 + +build_options="pam x11" +build_options_default="pam x11" case "$XBPS_TARGET_MACHINE" in *-musl) broken="Musl requires addl. patches";; @@ -38,8 +36,7 @@ post_install() { rm ${DESTDIR}/sbin/mount.vmhgfs rm -r ${DESTDIR}/sbin # If X11 enabled, copy extra files - if [ -n $(vopt_if x11 'y') ] - then + if [ $build_option_x11 ]; then vmkdir /etc/xdg/autostart vinstall vmware-user-suid-wrapper/vmware-user.desktop 0644 /etc/xdg/autostart/ vbin scripts/common/vmware-xdg-detect-de