From b3f667297195b114570aa6ba21b2d3132ac17fde Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 28 Aug 2013 11:19:00 +0200 Subject: [PATCH] New package: glamor-egl-0.5.1. --- common/shlibs | 1 + srcpkgs/glamor-egl-devel | 1 + srcpkgs/glamor-egl/template | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+) create mode 120000 srcpkgs/glamor-egl-devel create mode 100644 srcpkgs/glamor-egl/template diff --git a/common/shlibs b/common/shlibs index c22ae974ed5..392ef55aa29 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1408,3 +1408,4 @@ libgraphite2.so.3 graphite-1.2.3_1 libFOX-1.6.so.0 fox-1.6.49_1 libCHART-1.6.so.0 fox-1.6.49_1 libchromaprint.so.0 chromaprint-0.7_1 +libglamor.so.0 glamor-egl-0.5.1_1 diff --git a/srcpkgs/glamor-egl-devel b/srcpkgs/glamor-egl-devel new file mode 120000 index 00000000000..e0f193d6dee --- /dev/null +++ b/srcpkgs/glamor-egl-devel @@ -0,0 +1 @@ +glamor-egl \ No newline at end of file diff --git a/srcpkgs/glamor-egl/template b/srcpkgs/glamor-egl/template new file mode 100644 index 00000000000..15ab5c56a98 --- /dev/null +++ b/srcpkgs/glamor-egl/template @@ -0,0 +1,36 @@ +# 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 " +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 + } +}