/[gentoo-x86]/x11-libs/glamor/glamor-0.5.ebuild
Gentoo

Contents of /x11-libs/glamor/glamor-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Nov 18 12:23:46 2012 UTC (23 months ago) by ago
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #440872

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/glamor/glamor-0.5.ebuild,v 1.3 2012/11/16 16:41:00 ago Exp $
4
5 EAPI=4
6
7 XORG_DRI=always
8 XORG_EAUTORECONF=yes
9 inherit xorg-2
10
11 DESCRIPTION="OpenGL based 2D rendering acceleration library"
12 SRC_URI="mirror://gentoo/${P}.tar.gz"
13
14 KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86"
15 IUSE="gles"
16
17 RDEPEND=">=x11-base/xorg-server-1.10
18 media-libs/mesa[egl,gbm]
19 gles? (
20 || ( media-libs/mesa[gles2] media-libs/mesa[gles] )
21 )
22 >=x11-libs/pixman-0.21.8"
23 DEPEND="${RDEPEND}"
24
25 pkg_setup() {
26 xorg-2_pkg_setup
27 XORG_CONFIGURE_OPTIONS=(
28 $(use_enable gles glamor-gles2)
29 )
30 }
31
32 src_prepare() {
33 sed -i 's/inst_LTLIBRARIES/lib_LTLIBRARIES/' src/Makefile.am || die
34 xorg-2_src_prepare
35 }

  ViewVC Help
Powered by ViewVC 1.1.20