2013-08-28 09:19:00 +00:00
|
|
|
# Template build file for 'glamor-egl'.
|
|
|
|
pkgname=glamor-egl
|
|
|
|
version=0.5.1
|
2013-12-29 09:15:39 +00:00
|
|
|
revision=2
|
2013-08-28 09:19:00 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="automake libtool pkg-config xorg-util-macros"
|
2013-12-29 09:15:39 +00:00
|
|
|
makedepends="libdrm-devel MesaLib-devel xorg-server-devel>=1.15<1.16"
|
2013-08-28 09:19:00 +00:00
|
|
|
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() {
|
2013-12-29 09:15:39 +00:00
|
|
|
depends="xserver-abi-video-15_1"
|
2013-08-28 09:19:00 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove all
|
|
|
|
}
|
|
|
|
}
|