mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-16 13:21:39 +01:00
main/libxdamage: upgrade to 1.1.7, build with meson
This commit is contained in:
parent
c0827d5370
commit
5ef54777a8
@ -1,31 +1,37 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=libxdamage
|
||||
pkgver=1.1.6
|
||||
pkgrel=5
|
||||
pkgver=1.1.7
|
||||
pkgrel=0
|
||||
pkgdesc="X11 damaged region extension library"
|
||||
url="https://xorg.freedesktop.org/"
|
||||
arch="all"
|
||||
license="MIT"
|
||||
options="!check" # No test suite.
|
||||
makedepends="xorgproto libx11-dev libxfixes-dev util-macros"
|
||||
makedepends="
|
||||
libx11-dev
|
||||
libxfixes-dev
|
||||
meson
|
||||
util-macros
|
||||
xorgproto
|
||||
"
|
||||
subpackages="$pkgname-dev"
|
||||
source="https://www.x.org/releases/individual/lib/libXdamage-$pkgver.tar.xz"
|
||||
builddir="$srcdir"/libXdamage-$pkgver
|
||||
options="!check" # No test suite.
|
||||
|
||||
build() {
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static
|
||||
make
|
||||
abuild-meson \
|
||||
output .
|
||||
meson compile -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
meson test --print-errorlogs -C output
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
624dcefa1c79064569df952892f7f1351dc19ad338ce73d1a57041e406cb3e18abe531bab352b93d1f0f5c9b5c6b2652cc84a8f1fbfcbba648343812695a8acb libXdamage-1.1.6.tar.xz
|
||||
9406e39cbc426d7fa3c66bf1eec202fdb5af5db99a0ff49c2be995b1ff7326a6c1fb395c46391e1c32f5a6569a5d6e02bdd5b79fc79dd468fc3ebd698496bbc2 libXdamage-1.1.7.tar.xz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user