temp/xcb-util-cursor: temporarily fork from alpine
Make it available for armv7 again. This is the last missing package to build postmarketos-ui-plasma-mobile again, I verified it.
This commit is contained in:
parent
3bd9f62da2
commit
3cf792d157
1 changed files with 38 additions and 0 deletions
38
temp/xcb-util-cursor/APKBUILD
Normal file
38
temp/xcb-util-cursor/APKBUILD
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# Forked from Alpine: missing in edge for armv7
|
||||||
|
|
||||||
|
pkgname=xcb-util-cursor
|
||||||
|
pkgver=0.1.3
|
||||||
|
pkgrel=2
|
||||||
|
pkgdesc="X C-language Binding - cursor library (port of libXcursor)"
|
||||||
|
url="https://gitlab.freedesktop.org/xorg/lib/libxcb-cursor"
|
||||||
|
arch="armv7"
|
||||||
|
license="MIT"
|
||||||
|
depends_dev="xcb-util-dev"
|
||||||
|
makedepends="$depends_dev m4 util-macros xcb-util-image-dev xcb-util-renderutil-dev"
|
||||||
|
checkdepends="check-dev"
|
||||||
|
subpackages="$pkgname-dev"
|
||||||
|
source="https://xcb.freedesktop.org/dist/xcb-util-cursor-$pkgver.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
build() {
|
||||||
|
export CFLAGS="$CFLAGS -std=gnu99"
|
||||||
|
./configure \
|
||||||
|
--build=$CBUILD \
|
||||||
|
--host=$CHOST \
|
||||||
|
--prefix=/usr \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/share/man \
|
||||||
|
--infodir=/usr/share/info \
|
||||||
|
--localstatedir=/var
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
make check
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
make DESTDIR="$pkgdir" install
|
||||||
|
}
|
||||||
|
|
||||||
|
sha512sums="7be0950d9cef455e504ef5ac6c1872cc05bb27d1a8c844e0ddb19d718145ec05891315af6237e46ba615d01edc2d152c8901c8bc644a386d10757352a77fc57f xcb-util-cursor-0.1.3.tar.gz"
|
Loading…
Reference in a new issue