summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-07-28 14:35:38 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-07-28 14:38:13 -0500
commitff96b507ea3cbd51300ab24f2c95815b15d0df91 (patch)
treeb199d9a5d78b3a7febe090f24561efda0f00907e /media-libs
parentsys-process/criu: drop obsolete versions (diff)
downloadgentoo-ff96b507ea3cbd51300ab24f2c95815b15d0df91.tar.gz
gentoo-ff96b507ea3cbd51300ab24f2c95815b15d0df91.tar.bz2
gentoo-ff96b507ea3cbd51300ab24f2c95815b15d0df91.zip
media-libs/virglrenderer: version bump to 0.7.0
Closes: https://bugs.gentoo.org/674446 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/virglrenderer/Manifest1
-rw-r--r--media-libs/virglrenderer/virglrenderer-0.7.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest
index 65b4f797780f..92bc64cdd259 100644
--- a/media-libs/virglrenderer/Manifest
+++ b/media-libs/virglrenderer/Manifest
@@ -1 +1,2 @@
DIST virglrenderer-0.6.0.tar.xz 222536 BLAKE2B 2e359e88489458460a5fe1daa62913ed0159c10eee1e360fbf561221dc38aa27e3c6c402960eb1313e55dfcbdca3483a5672f5c68b7303783320b8beb330d987 SHA512 23d5f8c582f02303e3b4b59a6ca66e7859367a0bb931b884521f615bf9e25290f1ad2a32a92c127df1ec0f48503e20f557f6e910973ca2c7620b75801d5f3401
+DIST virglrenderer-0.7.0.tar.xz 258128 BLAKE2B 93d878caa635671b0cabb4726df6f3a75a3153e6a138beb6f7de0985abd3c3cc50618727573d5f6a887cec2e0cdba082327ec7c2f9e359e9bd1c0ea22785abba SHA512 b8ee9242ac4184e65ade700306827e4d3e345bf6d742970d4b1ac7a09d8883e4195c4c2e69b73a59a08a43b4d8ee078a16501fbafe927e59b0f7627470d04ba8
diff --git a/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild
new file mode 100644
index 000000000000..c4890aad262b
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-0.7.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit autotools eutils
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://anongit.freedesktop.org/git/virglrenderer.git"
+ inherit git-r3
+else
+ SRC_URI="https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm64 ~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"
+# We need autoconf-archive for @CODE_COVERAGE_RULES@. #568624
+DEPEND="${RDEPEND}
+ sys-devel/autoconf-archive
+ >=x11-misc/util-macros-1.8
+ test? ( >=dev-libs/check-0.9.4 )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.6.0-libdrm.patch
+)
+
+src_prepare() {
+ default
+ [[ -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
+}