37 lines
878 B
Text
37 lines
878 B
Text
|
# Template build file for 'glamor-egl'.
|
||
|
pkgname=glamor-egl
|
||
|
version=0.5.1
|
||
|
revision=1
|
||
|
build_style=gnu-configure
|
||
|
hostmakedepends="automake libtool pkg-config xorg-util-macros"
|
||
|
makedepends="libdrm-devel MesaLib-devel xorg-server-devel>=1.14<1.15"
|
||
|
short_desc="OpenGL based 2D rendering acceleration library"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
homepage="http://www.freedesktop.org/wiki/Software/Glamor/"
|
||
|
license="MIT"
|
||
|
|
||
|
do_fetch() {
|
||
|
git clone -b v${version} git://anongit.freedesktop.org/xorg/driver/glamor ${pkgname}-${version}
|
||
|
}
|
||
|
|
||
|
pre_configure() {
|
||
|
autoreconf -fi
|
||
|
}
|
||
|
|
||
|
glamor-egl-devel_package() {
|
||
|
short_desc+=" - development files"
|
||
|
depends="MesaLib-devel ${sourcepkg}-${version}_${revision}"
|
||
|
pkg_install() {
|
||
|
vmove usr/include
|
||
|
vmove usr/lib/pkgconfig
|
||
|
vmove "usr/lib/*.so"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
glamor-egl_package() {
|
||
|
depends="xserver-abi-video-14_1"
|
||
|
pkg_install() {
|
||
|
vmove all
|
||
|
}
|
||
|
}
|