summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-01-16 14:58:25 +0000
committerMichał Górny <mgorny@gentoo.org>2011-01-16 14:58:25 +0000
commit3d814ff5eca7960510b050f8873279b36b4e8e6c (patch)
treea9ec5cb3124adb2678468d10510373ffa95220a3 /x11-apps
parentMore fixes on init script (diff)
downloadgentoo-2-3d814ff5eca7960510b050f8873279b36b4e8e6c.tar.gz
gentoo-2-3d814ff5eca7960510b050f8873279b36b4e8e6c.tar.bz2
gentoo-2-3d814ff5eca7960510b050f8873279b36b4e8e6c.zip
Version bump, based off the x11 overlay ebuild.
(Portage version: 2.2.0_alpha15_p1/cvs/Linux x86_64)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/mesa-progs/ChangeLog9
-rw-r--r--x11-apps/mesa-progs/mesa-progs-8.0.1.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/x11-apps/mesa-progs/ChangeLog b/x11-apps/mesa-progs/ChangeLog
index c8a66dcfa437..e78fd1618db4 100644
--- a/x11-apps/mesa-progs/ChangeLog
+++ b/x11-apps/mesa-progs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-apps/mesa-progs
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.84 2010/09/17 11:25:15 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/ChangeLog,v 1.85 2011/01/16 14:58:25 mgorny Exp $
+
+*mesa-progs-8.0.1 (16 Jan 2011)
+
+ 16 Jan 2011; Michał Górny <mgorny@gentoo.org> +mesa-progs-8.0.1.ebuild:
+ Version bump, based off the x11 overlay ebuild.
17 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org>
mesa-progs-7.7.ebuild:
diff --git a/x11-apps/mesa-progs/mesa-progs-8.0.1.ebuild b/x11-apps/mesa-progs/mesa-progs-8.0.1.ebuild
new file mode 100644
index 000000000000..3d25453791a8
--- /dev/null
+++ b/x11-apps/mesa-progs/mesa-progs-8.0.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/mesa-progs/mesa-progs-8.0.1.ebuild,v 1.1 2011/01/16 14:58:25 mgorny Exp $
+
+EAPI=3
+
+MY_PN=${PN/progs/demos}
+MY_P=${MY_PN}-${PV}
+EGIT_REPO_URI="git://anongit.freedesktop.org/${MY_PN/-//}"
+
+if [[ ${PV} = 9999* ]]; then
+ GIT_ECLASS="git"
+fi
+
+inherit toolchain-funcs ${GIT_ECLASS}
+
+DESCRIPTION="Mesa's OpenGL utility and demo programs (glxgears and glxinfo)"
+HOMEPAGE="http://mesa3d.sourceforge.net/"
+if [[ ${PV} == 9999* ]]; then
+ SRC_URI=""
+else
+ SRC_URI="ftp://ftp.freedesktop.org/pub/${MY_PN/-//}/${PV}/${MY_P}.tar.bz2"
+fi
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="virtual/opengl"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ # We're not using the complete buildsystem to avoid dependencies
+ # unnecessary for our two little tools.
+ :
+}
+
+src_compile() {
+ tc-export CC
+ emake LDLIBS='-lGL -lm' src/xdemos/{glxgears,glxinfo} || die
+}
+
+src_install() {
+ dobin src/xdemos/{glxgears,glxinfo} || die
+}