blob: 81f81517be1908659637bd43a0422f6ce2b73d83 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=xorg-gtest
pkgver=0.7.1
pkgrel=0
pkgdesc="X11 extensions to Google Test"
url="https://gitlab.freedesktop.org/xorg/test/xorg-gtest"
arch="noarch"
options="!check" # tests require X
license="MIT AND BSD-3-Clause"
depends=""
makedepends="libx11-dev libxi-dev util-macros xorg-server-dev xf86-video-dummy
autoconf automake"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/xorg/test/xorg-gtest/-/archive/xorg-gtest-$pkgver/xorg-gtest-xorg-gtest-$pkgver.tar.bz2
remove-ridiculous-va_list-hacks.patch
"
builddir="$srcdir"/$pkgname-$pkgname-$pkgver
prepare() {
default_prepare
./autogen.sh
}
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make
}
check() {
make check
}
package() {
DESTDIR="$pkgdir" make install
for i in gtest gtest-spi; do
rm "$pkgdir"/usr/include/gtest/"$i".h
done
}
sha512sums="100746225dd6b24f030893da7b960c2f2562fa9f5d02ee7fca3eb99c40e3ae17d408d5e3c4e99e05e3767984d48648d5a42473a9922d699cf1281290af1eb86c xorg-gtest-xorg-gtest-0.7.1.tar.bz2
14055ccca54d083d231084acda63b0769946d1d2d8243752842c1043db6638ac3e581021bb61e6e2b97566b075ed345a2949646886281e58a1e3679d949d2f34 remove-ridiculous-va_list-hacks.patch"
|