diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-12-07 22:48:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-12-07 22:48:25 -0500 |
commit | f413b1107d3fc407d408564c5b95e39723f3cde1 (patch) | |
tree | fc21798273d3f9d69c30cb9c042e2256f3391773 /media-libs | |
parent | app-emulation/qemu: add upstream security fixes #566792 #567144 (diff) | |
download | gentoo-f413b1107d3fc407d408564c5b95e39723f3cde1.tar.gz gentoo-f413b1107d3fc407d408564c5b95e39723f3cde1.tar.bz2 gentoo-f413b1107d3fc407d408564c5b95e39723f3cde1.zip |
media-libs/virglrenderer: initial package #566992
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/virglrenderer/Manifest | 1 | ||||
-rw-r--r-- | media-libs/virglrenderer/metadata.xml | 5 | ||||
-rw-r--r-- | media-libs/virglrenderer/virglrenderer-0.2.0.ebuild | 43 | ||||
-rw-r--r-- | media-libs/virglrenderer/virglrenderer-9999.ebuild | 43 |
4 files changed, 92 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest new file mode 100644 index 000000000000..02459ea19f28 --- /dev/null +++ b/media-libs/virglrenderer/Manifest @@ -0,0 +1 @@ +DIST virglrenderer-0.2.0.tar.xz 198544 SHA256 eab6d5bd99a6fab8930d5b5d4fa304d43b6e57d807a0354d982b49ccb53453c3 SHA512 c10db5693d86acc5f14ef6bcfda5187ffc23c779c4cf95f12539dd658ed876bf7924358573de3598a084753281ade25ace23f016d1d1defe7ce399e9e7ac81cb WHIRLPOOL 4b38b5bcb222112e21656f215e4aeba57d2a65a72b2a446262fbe998a83ac1ec8ae0a29ac3b50709586cae66f95bcfda4227270ff164f1a5152dfba79a2091dd diff --git a/media-libs/virglrenderer/metadata.xml b/media-libs/virglrenderer/metadata.xml new file mode 100644 index 000000000000..a4357d4d27da --- /dev/null +++ b/media-libs/virglrenderer/metadata.xml @@ -0,0 +1,5 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> +<herd>qemu</herd> +</pkgmetadata> diff --git a/media-libs/virglrenderer/virglrenderer-0.2.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.2.0.ebuild new file mode 100644 index 000000000000..e8dcd47738bf --- /dev/null +++ b/media-libs/virglrenderer/virglrenderer-0.2.0.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 +} 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 +} |