public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/waffle/
Date: Tue, 30 Jul 2024 22:17:10 +0000 (UTC)	[thread overview]
Message-ID: <1722377803.a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b.mattst88@gentoo> (raw)

commit:     a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 30 22:16:08 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 22:16:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a438d4de

media-libs/waffle: Version bump to 1.8.1

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/waffle/Manifest            |  1 +
 media-libs/waffle/waffle-1.8.1.ebuild | 97 +++++++++++++++++++++++++++++++++++
 2 files changed, 98 insertions(+)

diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest
index 8c9814e7bc0d..ea45eb97315c 100644
--- a/media-libs/waffle/Manifest
+++ b/media-libs/waffle/Manifest
@@ -1 +1,2 @@
 DIST waffle-v1.8.0.tar.bz2 310657 BLAKE2B cfc5f6fb32ae379457d9e1a9806504f8e2d22a2e320afab81db04a8e459cc2e127ea546e27a01a36cbb76a3095ca1d87bf96d40286f78f8ef7e1c270a6170521 SHA512 432786f1e255638a866af5c95d4ec0421ce9ffa661696482f9b40f9dbad9198f93caca484a0739a34d37d7a7070efb007771fcc6ea7acb70152c34892466e1e4
+DIST waffle-v1.8.1.tar.bz2 309259 BLAKE2B bfc4cd9043df854e34ab0ee0edd7d231fbc2253e41de8eb3bb702428a2b22569a407dc595a4c13a1a5e7cac2686dfe8b4ec26397e3dbed1a433de31fd3616b4f SHA512 c0e47047776de9cc20791974dec0944c769d766e5fe4f4e66a25a0d5900f3a756d95b4df434ff2e595079659d79d95398f6f411e4b8cc969cace7b2c3532b79f

diff --git a/media-libs/waffle/waffle-1.8.1.ebuild b/media-libs/waffle/waffle-1.8.1.ebuild
new file mode 100644
index 000000000000..c90b20ae53d1
--- /dev/null
+++ b/media-libs/waffle/waffle-1.8.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} = *9999* ]]; then
+	EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/${PN}"
+	GIT_ECLASS="git-r3"
+else
+	SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+	S="${WORKDIR}"/${PN}-v${PV}
+fi
+inherit meson-multilib multilib virtualx ${GIT_ECLASS}
+
+DESCRIPTION="Library that allows selection of GL API and of window system at runtime"
+HOMEPAGE="https://gitlab.freedesktop.org/mesa/waffle"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="doc test wayland X"
+RESTRICT="!test? ( test ) test" # gl_basic tests don't work when run under sandbox
+
+RDEPEND="
+	>=media-libs/mesa-23[${MULTILIB_USEDEP}]
+	>=virtual/libudev-208:=[${MULTILIB_USEDEP}]
+	X? (
+		>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
+		>=x11-libs/libxcb-1.9.1[${MULTILIB_USEDEP}]
+	)
+	wayland? ( >=dev-libs/wayland-1.10[${MULTILIB_USEDEP}] )
+"
+DEPEND="${RDEPEND}
+	X? ( >=x11-base/xcb-proto-1.8-r3 )
+"
+BDEPEND="
+	app-text/docbook-xml-dtd:4.2
+	dev-libs/libxslt
+	dev-util/wayland-scanner
+"
+#	test? (
+#		wayland? ( dev-libs/weston[headless] )
+#	)
+
+MULTILIB_CHOST_TOOLS=(
+	/usr/bin/wflinfo$(get_exeext)
+)
+
+multilib_src_configure() {
+	local emesonargs=(
+		$(meson_feature X glx)
+		$(meson_feature wayland)
+		$(meson_feature X x11_egl)
+		-Dgbm=enabled
+		-Dsurfaceless_egl=enabled
+
+		$(meson_use test build-tests)
+		$(meson_native_true build-manpages)
+		-Dbuild-htmldocs=false
+		-Dbuild-examples=false
+	)
+	meson_src_configure
+}
+
+multilib_src_test() {
+	if use wayland; then
+		export XDG_RUNTIME_DIR="$(mktemp -p $(pwd) -d xdg-runtime-XXXXXX)"
+
+		weston --backend=headless-backend.so --socket=wayland-6 --idle-time=0 &
+		compositor=$!
+		export WAYLAND_DISPLAY=wayland-6
+	fi
+
+	export MESA_SHADER_CACHE_DISABLE=true
+	virtx meson_src_test
+
+	if use wayland; then
+		kill ${compositor}
+	fi
+}
+
+multilib_src_install() {
+	meson_src_install
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	rm -r \
+		"${ED}"/usr/share/doc/${P} \
+		"${ED}"/usr/share/doc/waffle1/release-notes || die
+	mv "${ED}"/usr/share/doc/{waffle1,${P}} || die
+	if ! use doc; then
+		rm -rf \
+			"${ED}"/usr/share/man/man{3,7} || die
+	fi
+}


             reply	other threads:[~2024-07-30 22:17 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30 22:17 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-17  2:49 [gentoo-commits] repo/gentoo:master commit in: media-libs/waffle/ Matt Turner
2024-09-07 23:15 Matt Turner
2024-09-07 23:15 Matt Turner
2024-09-01  2:18 Sam James
2023-11-25 17:31 Matt Turner
2023-11-04  9:06 Sam James
2023-11-03 23:58 Sam James
2023-09-25 15:48 Matt Turner
2023-09-25 15:48 Matt Turner
2023-09-25 15:48 Matt Turner
2023-06-15 21:45 Sam James
2023-04-09  4:05 Matt Turner
2023-04-08 10:46 Arthur Zamarin
2023-04-08  9:57 Arthur Zamarin
2023-04-08  9:02 Arthur Zamarin
2023-03-13 20:07 Matt Turner
2023-03-05 19:16 Matt Turner
2023-03-03 16:40 Matt Turner
2023-03-02 15:20 Matt Turner
2022-08-15 18:03 Arthur Zamarin
2022-07-26 15:24 Agostino Sarubbo
2022-07-26 15:15 Agostino Sarubbo
2022-06-17 18:16 Matt Turner
2021-10-31  0:19 Sam James
2021-06-04  1:14 Matt Turner
2021-04-15  0:43 Matt Turner
2021-03-08 22:26 Matt Turner
2021-01-30 17:47 Matt Turner
2021-01-30 17:47 Matt Turner
2020-06-17  5:46 Matt Turner
2020-06-15 15:16 Agostino Sarubbo
2020-06-15 15:03 Agostino Sarubbo
2020-06-15 15:00 Agostino Sarubbo
2020-04-08  3:40 Matt Turner
2020-04-06 20:15 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-31 20:44 Matt Turner
2020-03-11 18:42 Matt Turner
2020-03-08 13:22 Mart Raudsepp
2020-03-08  0:23 Matt Turner
2020-03-05 11:51 Agostino Sarubbo
2020-03-05 11:40 Agostino Sarubbo
2020-03-05 11:37 Agostino Sarubbo
2020-02-07 21:47 Matt Turner
2019-09-28 18:27 Matt Turner
2019-09-28 18:27 Matt Turner
2019-07-28 13:05 Mikle Kolyada
2019-07-17 10:18 Mikle Kolyada
2019-07-10 10:30 Agostino Sarubbo
2019-06-08  0:11 Matt Turner
2019-06-08  0:11 Matt Turner
2018-09-15 22:39 Andreas Sturmlechner
2018-09-15 22:39 Andreas Sturmlechner
2018-03-25 20:12 Sergei Trofimovich
2018-03-23  0:02 Sergei Trofimovich
2017-07-30  9:38 Michał Górny
2016-10-26 22:33 Matt Turner
2016-10-26 22:33 Matt Turner
2015-12-19 21:15 Markus Meier
2015-08-25 22:01 Matt Turner

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=1722377803.a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b.mattst88@gentoo \
    --to=mattst88@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