summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/virglrenderer/virglrenderer-9999.ebuild')
-rw-r--r--media-libs/virglrenderer/virglrenderer-9999.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/virglrenderer-9999.ebuild b/media-libs/virglrenderer/virglrenderer-9999.ebuild
new file mode 100644
index 000000000000..e8dcd47738bf
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit autotools
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://people.freedesktop.org/~airlied/virglrenderer"
+ inherit git-2
+else
+ SRC_URI="mirror://gentoo/${P}.tar.xz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="library used implement a virtual 3D GPU used by qemu"
+HOMEPAGE="https://virgil3d.github.io/"
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="static-libs test"
+
+RDEPEND=">=x11-libs/libdrm-2.4.50
+ media-libs/libepoxy"
+DEPEND="${RDEPEND}
+ >=x11-misc/util-macros-1.8
+ test? ( >=dev-libs/check-0.9.4 )"
+
+src_prepare() {
+ [[ -e configure ]] || eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable test tests)
+}
+
+src_install() {
+ default
+ find "${ED}"/usr -name 'lib*.la' -delete
+}