63 lines
2.1 KiB
Bash
63 lines
2.1 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
pkgname=xf86-video-vmware
|
|
pkgver=13.4.0
|
|
pkgrel=01
|
|
pkgdesc="X.org vmware video driver"
|
|
arch=(x86_64)
|
|
url="https://xorg.freedesktop.org/"
|
|
depends=('mesa')
|
|
makedepends=('xorg-server-devel' 'X-ABI-VIDEODRV_VERSION=25.2') # 'git')
|
|
conflicts=('xorg-server<21.1.1' 'X-ABI-VIDEODRV_VERSION<25' 'X-ABI-VIDEODRV_VERSION>=26')
|
|
groups=('xorg-drivers')
|
|
options=('!emptydirs')
|
|
#options=('!emptydirs' 'debug') ## uncomment this to have the debug pkg produced
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.xz{,.sig})
|
|
#source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2{,.sig}
|
|
# gcc8.diff
|
|
# gcc12.1.diff)
|
|
|
|
#prepare() {
|
|
# cd $pkgname-${pkgver}
|
|
# patch -Np0 -i ../gcc8.diff
|
|
# patch -Np1 -i ../gcc12.1.diff
|
|
#}
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
# Since pacman 5.0.2-2, hardened flags are now enabled in makepkg.conf
|
|
# With them, module fail to load with undefined symbol.
|
|
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
|
|
export CFLAGS=${CFLAGS/-fno-plt}
|
|
export CXXFLAGS=${CXXFLAGS/-fno-plt}
|
|
export LDFLAGS=${LDFLAGS/,-z,now}
|
|
|
|
./configure --prefix=/usr --enable-vmwarectrl-client
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|
|
|
|
#---- license gpg-key sha256sums ----
|
|
|
|
license=('custom')
|
|
|
|
#validpgpkeys=('90D027AEAF33CBABC140735BC1F5D3CDF5176580') # Thomas Hellstrom (VMware) <thellstrom@vmware.com>
|
|
validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # Peter Hutterer (Who-T) <office@who-t.net>
|
|
|
|
sha256sums=(aed31ee5ed5ecc6e2226705383e7ad06f7602c1376a295305f376b17af3eb81a # xf86-video-vmware-13.4.0.tar.xz
|
|
c9b7bed4f608ac179953c15bb94808e191e1d1a62014577eee3a5590ff464fbd) # xf86-video-vmware-13.4.0.tar.xz.sig
|
|
|
|
|