mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 15:14:36 +08:00
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
# Arch Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
# Arch Contributor: Eugeni Dodonov <eugeni@dodonov.net>
|
|
|
|
pkgname=glamor-egl
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc='OpenGL based 2D rendering acceleration library'
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('mesa')
|
|
makedepends=('xorg-server' 'git' 'xf86driproto' 'resourceproto' 'scrnsaverproto')
|
|
#conflicts=('xorg-server<1.15.0' 'X-ABI-VIDEODRV_VERSION<15' 'X-ABI-VIDEODRV_VERSION>=16' 'glamor-git')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('f42805b68e2bddc90cb5d9d3811e4f2176659c5686f295865839b20b7be7f359')
|
|
|
|
# revision: git rev-list --count master
|
|
|
|
build() {
|
|
cd "$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--enable-glx-tls \
|
|
#--enable-xv \
|
|
#--with-xorg-conf-dir=/etc/X11/xorg.conf.d
|
|
#--help
|
|
#--enable-glamor-gles2 \ https://bugs.archlinux.org/task/34284
|
|
|
|
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}/"
|
|
}
|