summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/glmark2/glmark2-2012.12.ebuild')
-rw-r--r--app-benchmarks/glmark2/glmark2-2012.12.ebuild56
1 files changed, 0 insertions, 56 deletions
diff --git a/app-benchmarks/glmark2/glmark2-2012.12.ebuild b/app-benchmarks/glmark2/glmark2-2012.12.ebuild
deleted file mode 100644
index 49f228b..0000000
--- a/app-benchmarks/glmark2/glmark2-2012.12.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-PYTHON_DEPEND="2"
-
-inherit python waf-utils
-
-DESCRIPTION="Opengl test suite"
-HOMEPAGE="https://launchpad.net/glmark2"
-SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="gles2"
-
-RDEPEND="media-libs/libpng
- media-libs/mesa[gles2?]
- x11-libs/libX11"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/newvoidp.patch"
-}
-
-src_prepare() {
- rm -rf ${S}/src/libpng
- sed -i -e 's#libpng12#libpng#g' ${S}/wscript ${S}/src/wscript_build || die
-}
-
-src_configure() {
- : ${WAF_BINARY:="${S}/waf"}
-
- local myconf
-
- if use gles2; then
- myconf += "--enable-glesv2"
- fi
-
- # it does not know --libdir specification, dandy huh
- CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" "${WAF_BINARY}" \
- --prefix=/usr \
- --enable-gl \
- ${myconf} \
- configure || die "configure failed"
-}