mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:34:36 +08:00
41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Maintainer: Drake Justice <djustice@chakraos.org>
|
|
|
|
pkgname=glamor-egl
|
|
pkgver=0.6.0
|
|
pkgrel=2
|
|
pkgdesc='OpenGL based 2D rendering acceleration library'
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('mesa-libgl')
|
|
makedepends=('xorg-server' 'X-ABI-VIDEODRV_VERSION=15' 'git')
|
|
conflicts=('xorg-server<1.15.0' 'X-ABI-VIDEODRV_VERSION<15' 'X-ABI-VIDEODRV_VERSION>=16')
|
|
source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('66531b56e6054eb53daa7bd57eb6358a7ead1b84f63419606e69d1092365e5c9')
|
|
|
|
# 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}/"
|
|
}
|
|
|