summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-05-01 18:08:10 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2012-05-01 18:08:10 +0000
commitae2b57bc0db6551f67ae2a12331583f56192f5cd (patch)
tree4b22e08fcd2a2d929781d77bf3a5f891c10903f9 /x11-libs
parentPut back the patch by Tommy Pettersson (bug #413985). (diff)
downloadgentoo-2-ae2b57bc0db6551f67ae2a12331583f56192f5cd.tar.gz
gentoo-2-ae2b57bc0db6551f67ae2a12331583f56192f5cd.tar.bz2
gentoo-2-ae2b57bc0db6551f67ae2a12331583f56192f5cd.zip
Initial import from the x11 overlay, thanks to alexxy for pointing out installation path issues.
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/glamor/ChangeLog11
-rw-r--r--x11-libs/glamor/Manifest3
-rw-r--r--x11-libs/glamor/glamor-0.4.1.ebuild35
-rw-r--r--x11-libs/glamor/metadata.xml8
4 files changed, 57 insertions, 0 deletions
diff --git a/x11-libs/glamor/ChangeLog b/x11-libs/glamor/ChangeLog
new file mode 100644
index 000000000000..8c09121c69db
--- /dev/null
+++ b/x11-libs/glamor/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for x11-libs/glamor
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/glamor/ChangeLog,v 1.1 2012/05/01 18:08:10 chithanh Exp $
+
+*glamor-0.4.1 (01 May 2012)
+
+ 01 May 2012; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +glamor-0.4.1.ebuild, +metadata.xml:
+ Initial import from the x11 overlay, thanks to alexxy for pointing out
+ installation path issues.
+
diff --git a/x11-libs/glamor/Manifest b/x11-libs/glamor/Manifest
new file mode 100644
index 000000000000..4645b3928b95
--- /dev/null
+++ b/x11-libs/glamor/Manifest
@@ -0,0 +1,3 @@
+DIST glamor-0.4.1.tar.gz 90349 RMD160 5cc41809c9a48f75448474ec4c27f26d0f9ad4c3 SHA1 45602e200eee643b36ce986b17b2b7c3b99d4b03 SHA256 87d1d7fb81e235a4b7432b7c5b9cc9bf6b3d2ad1d26ded2ce48823037975d94d
+EBUILD glamor-0.4.1.ebuild 704 RMD160 84c9ce4a6645048a5adbb635b954a9d882bf8d5b SHA1 445429ebf6423a91b556e46d0dc721f3da8ceb00 SHA256 4c4da085046b12127308af9fdd17c4da047f40c7df8bdd4dcae5d3c82b5a4c9f
+MISC metadata.xml 223 RMD160 c6b5576c9b39734f81116edd0432721680ba7523 SHA1 ba908ebe564e89b7c1117d46706b8ff4fbf58024 SHA256 205a40dbb7a17f67f6d4efcda4c5649d9f56f9b27f2e00d370a24f61103bff26
diff --git a/x11-libs/glamor/glamor-0.4.1.ebuild b/x11-libs/glamor/glamor-0.4.1.ebuild
new file mode 100644
index 000000000000..018cb2808a8d
--- /dev/null
+++ b/x11-libs/glamor/glamor-0.4.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/glamor/glamor-0.4.1.ebuild,v 1.1 2012/05/01 18:08:10 chithanh Exp $
+
+EAPI=4
+
+XORG_DRI=always
+XORG_EAUTORECONF=yes
+inherit xorg-2
+
+DESCRIPTION="OpenGL based 2D rendering acceleration library"
+SRC_URI="mirror://gentoo/glamor-0.4.1.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="gles"
+
+RDEPEND=">=x11-base/xorg-server-1.10
+ media-libs/mesa[egl]
+ gles? (
+ || ( media-libs/mesa[gles2] media-libs/mesa[gles] )
+ )
+ >=x11-libs/pixman-0.21.8"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ xorg-2_pkg_setup
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable gles glamor-gles2)
+ )
+}
+
+src_prepare() {
+ sed -i 's/inst_LTLIBRARIES/lib_LTLIBRARIES/' src/Makefile.am || die
+ xorg-2_src_prepare
+}
diff --git a/x11-libs/glamor/metadata.xml b/x11-libs/glamor/metadata.xml
new file mode 100644
index 000000000000..a83e1d54614a
--- /dev/null
+++ b/x11-libs/glamor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+<use>
+ <flag name='gles'>Build glamor based on gles2</flag>
+</use>
+</pkgmetadata>