diff options
author | prspkt <prspkt@protonmail.com> | 2018-05-12 15:04:51 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-07-18 17:14:53 +0000 |
commit | 10b9a6d3ece2911be5ca901d162a93def9c98539 (patch) | |
tree | 616fa36a7cffc04f148e0a529b21547ebb1fc472 | |
parent | 3c703463627077d506bd3d5b1192128a12b8fbcb (diff) | |
download | aports-10b9a6d3ece2911be5ca901d162a93def9c98539.tar.bz2 aports-10b9a6d3ece2911be5ca901d162a93def9c98539.tar.xz |
main/xorgproto: new aport
Combines X.org X11 protocol headers, which were formerly scattered
in individual packages.
-rw-r--r-- | main/xorgproto/APKBUILD | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/main/xorgproto/APKBUILD b/main/xorgproto/APKBUILD new file mode 100644 index 0000000000..16c6da7d1e --- /dev/null +++ b/main/xorgproto/APKBUILD @@ -0,0 +1,73 @@ +# Contributor: prspkt <prspkt@protonmail.com> +# Maintainer: prspkt <prspkt@protonmail.com> +pkgname=xorgproto +pkgver=2018.4 +pkgrel=0 +pkgdesc="Combined X.Org X11 protocol headers" +url="https://xorg.freedesktop.org" +arch="noarch" +license="MIT" +makedepends="meson util-macros" +replaces="bigreqsproto compositeproto damageproto dri2proto dri3proto fixesproto + fontsproto glproto inputproto kbproto presentproto printproto randrproto + recordproto renderproto resourceproto scrnsaverproto videoproto xcmiscproto + xextproto xf86bigfontproto xf86dgaproto xf86driproto xf86miscproto + xf86vidmodeproto xineramaproto xproto + " +provides="bigreqsproto=$pkgver-r$pkgrel + compositeproto=$pkgver-r$pkgrel + damageproto=$pkgver-r$pkgrel + dri2proto=$pkgver-r$pkgrel + dri3proto=$pkgver-r$pkgrel + fixesproto=$pkgver-r$pkgrel + fontsproto=$pkgver-r$pkgrel + glproto=$pkgver-r$pkgrel + inputproto=$pkgver-r$pkgrel + kbproto=$pkgver-r$pkgrel + presentproto=$pkgver-r$pkgrel + printproto=$pkgver-r$pkgrel + randrproto=$pkgver-r$pkgrel + recordproto=$pkgver-r$pkgrel + renderproto=$pkgver-r$pkgrel + resourceproto=$pkgver-r$pkgrel + scrnsaverproto=$pkgver-r$pkgrel + videoproto=$pkgver-r$pkgrel + xcmiscproto=$pkgver-r$pkgrel + xextproto=$pkgver-r$pkgrel + xf86bigfontproto=$pkgver-r$pkgrel + xf86dgaproto=$pkgver-r$pkgrel + xf86driproto=$pkgver-r$pkgrel + xf86miscproto=$pkgver-r$pkgrel + xf86vidmodeproto=$pkgver-r$pkgrel + xineramaproto=$pkgver-r$pkgrel + xproto=$pkgver-r$pkgrel + " +source="https://xorg.freedesktop.org/archive/individual/proto/$pkgname-$pkgver.tar.bz2" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir" + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --datadir=/usr/lib \ + -Dlegacy=true \ + . output + ninja -C output +} + +package() { + cd "$builddir" + DESTDIR="$pkgdir" ninja -C output install + + # cleanup + rm -f "$pkgdir"/usr/include/X11/extensions/apple* + rm -f "$pkgdir"/usr/include/X11/extensions/windows* + rm -f "$pkgdir"/usr/lib/pkgconfig/apple* + rm -f "$pkgdir"/usr/lib/pkgconfig/windows* +} + +sha512sums="2db682d10280ca58cdc04d8eb9fef30c111d4cd379de9fec86cff317865b859a576de5426447be9231d24be9762cc1d684c57383a99ad499398e8b7d62b1c03c xorgproto-2018.4.tar.bz2" |