public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: media-libs/virglrenderer/, media-libs/virglrenderer/files/
Date: Tue, 19 Jun 2018 17:26:15 +0000 (UTC)	[thread overview]
Message-ID: <1529429128.18f059d1d69dd248f03b0db9a2394d9fb6d67cff.blueness@gentoo> (raw)

commit:     18f059d1d69dd248f03b0db9a2394d9fb6d67cff
Author:     g3ngr33n <gengreen <AT> gmx <DOT> com>
AuthorDate: Tue Jun 19 16:48:50 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jun 19 17:25:28 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=18f059d1

virglrenderer patch

 media-libs/virglrenderer/Manifest                  |  6 +++
 .../files/virglrenderer-0.6.0-libdrm.patch         | 10 +++++
 .../files/virglrenderer-0.6.0-musl.patch           | 11 +++++
 media-libs/virglrenderer/metadata.xml              | 12 ++++++
 .../virglrenderer/virglrenderer-0.6.0.ebuild       | 50 ++++++++++++++++++++++
 media-libs/virglrenderer/virglrenderer-9999.ebuild | 45 +++++++++++++++++++
 6 files changed, 134 insertions(+)

diff --git a/media-libs/virglrenderer/Manifest b/media-libs/virglrenderer/Manifest
new file mode 100644
index 0000000..b134cd1
--- /dev/null
+++ b/media-libs/virglrenderer/Manifest
@@ -0,0 +1,6 @@
+AUX virglrenderer-0.6.0-libdrm.patch 391 BLAKE2B 471d68831129f1c01bdeddfb8748cb71fc30cced692f73493ed6ad07c519e15b8412a4dc4f533833181b8aa3a04566c160f7f08bccee7b1fb1adc4ee58c9a61c SHA512 935a3cd1aa7c947a472c8fe5f1880e1897311451f42da26ab941af91152c60e2b66930446b6ff370cc29831a345fa73f9374fc82ad22ced445e448f520b07853
+AUX virglrenderer-0.6.0-musl.patch 185 BLAKE2B 9c088f09d6a40a5af0d76a5e77e945671f6a133f46478c8f8a604072e03f3fcd5a460c445335ac34498902338b91d028b2fdc8be9683d876eb2a4f8d038d6619 SHA512 743e9d5faa982a9011356a6611cb8cb0bfa89381029c9ac47ff9d3b4a167001760adf885cea09043670c953a8f7e51db2942e4ce0ecd3665599b4e365d5883e2
+DIST virglrenderer-0.6.0.tar.xz 222536 BLAKE2B 2e359e88489458460a5fe1daa62913ed0159c10eee1e360fbf561221dc38aa27e3c6c402960eb1313e55dfcbdca3483a5672f5c68b7303783320b8beb330d987 SHA512 23d5f8c582f02303e3b4b59a6ca66e7859367a0bb931b884521f615bf9e25290f1ad2a32a92c127df1ec0f48503e20f557f6e910973ca2c7620b75801d5f3401
+EBUILD virglrenderer-0.6.0.ebuild 1066 BLAKE2B 9aa78146872c5c14963f0535126e843ec08170025fa3b2a3e2e8bc0a8ec4fc2add102a820b4c6893fa4089dd8d953864fd46b2bee98b22e39d96dd4005088321 SHA512 06248a65f9371f48ba8f32282a789baaa5bcb4211fb7d851cea2fd47814ffdd2a3be2e18a9f3ada18e50398131bc2d73d408840872b4e3b9eb2afc133c02a07f
+EBUILD virglrenderer-9999.ebuild 945 BLAKE2B e60197cd251140f20ebbe0cddf8755e867df402159e6f599346995c60776760ccd073f50d104d2eb640f474c67443415c3384891c52378c4f18302f4e262424c SHA512 cb4c8e06b01cb2de59d6fd58588585158b152cd744d3b39e4da2390625e54d6964e065485083cdf7e22951cf00fdbe3a694dd56d5ac4340fcfcd65f634a9ee07
+MISC metadata.xml 371 BLAKE2B 3e3bdb314577f4b67ad0b800c37da42bf1f94200938519c39a3fd4020154065a86925b9afe83aab994ef0cc9b3480005691fbbb7277c367fac72d6e4ce608510 SHA512 94fcfe4653d16579ae9fab9dede61165c0b45ef1f97b642b4d50f0933909fe6ba04e3aa0f0f0e3311d780f126b7860295746caadd1a0245cb950e1012784902d

diff --git a/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch b/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch
new file mode 100644
index 0000000..17bc3bc
--- /dev/null
+++ b/media-libs/virglrenderer/files/virglrenderer-0.6.0-libdrm.patch
@@ -0,0 +1,10 @@
+diff -Naur virglrenderer-0.5.0.orig/src/Makefile.am virglrenderer-0.5.0/src/Makefile.am
+--- virglrenderer-0.5.0.orig/src/Makefile.am	2016-04-11 11:23:51.000000000 +0600
++++ virglrenderer-0.5.0/src/Makefile.am	2016-11-18 04:44:32.278594781 +0600
+@@ -1,5 +1,6 @@
+ SUBDIRS := gallium/auxiliary
+ AM_LDFLAGS = -lm \
++	$(LIBDRM_LIBS) \
+ 	$(GBM_LIBS) \
+ 	$(EPOXY_LIBS) \
+ 	$(CODE_COVERAGE_LDFLAGS)

diff --git a/media-libs/virglrenderer/files/virglrenderer-0.6.0-musl.patch b/media-libs/virglrenderer/files/virglrenderer-0.6.0-musl.patch
new file mode 100644
index 0000000..9db26a1
--- /dev/null
+++ b/media-libs/virglrenderer/files/virglrenderer-0.6.0-musl.patch
@@ -0,0 +1,11 @@
+--- a/vtest/util.c
++++ b/vtest/util.c
+@@ -26,6 +26,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <unistd.h>
++#include <sys/select.h>
+ 
+ int vtest_wait_for_fd_read(int fd)
+ {
+

diff --git a/media-libs/virglrenderer/metadata.xml b/media-libs/virglrenderer/metadata.xml
new file mode 100644
index 0000000..beebf77
--- /dev/null
+++ b/media-libs/virglrenderer/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+	<email>tamiko@gentoo.org</email>
+	<name>Matthias Maier</name>
+</maintainer>
+<maintainer type="project">
+	<email>virtualization@gentoo.org</email>
+	<name>Gentoo Virtualization Project</name>
+</maintainer>
+</pkgmetadata>

diff --git a/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
new file mode 100644
index 0000000..0c8a20f
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-0.6.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+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
+	"${FILESDIR}"/${PN}-0.6.0-musl.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
+}

diff --git a/media-libs/virglrenderer/virglrenderer-9999.ebuild b/media-libs/virglrenderer/virglrenderer-9999.ebuild
new file mode 100644
index 0000000..ec9ae2b
--- /dev/null
+++ b/media-libs/virglrenderer/virglrenderer-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit autotools eutils
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://anongit.freedesktop.org/git/virglrenderer.git"
+	inherit git-r3
+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"
+# 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 )"
+
+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
+}


                 reply	other threads:[~2018-06-19 17:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1529429128.18f059d1d69dd248f03b0db9a2394d9fb6d67cff.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox