From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9BD62159C9B for ; Tue, 30 Jul 2024 22:17:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E45352BC094; Tue, 30 Jul 2024 22:17:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0FC982BC094 for ; Tue, 30 Jul 2024 22:17:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E25B9340CB1 for ; Tue, 30 Jul 2024 22:17:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B9D01E65 for ; Tue, 30 Jul 2024 22:17:10 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1722377803.a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/waffle/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/waffle/Manifest media-libs/waffle/waffle-1.8.1.ebuild X-VCS-Directories: media-libs/waffle/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b X-VCS-Branch: master Date: Tue, 30 Jul 2024 22:17:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c04cc946-ea68-4335-af83-ec14f2424a92 X-Archives-Hash: b58af75d3cd14fa215f8663e5ab7193a commit: a438d4de9cd7f97cd1e77dc1afcd6dfe6c21398b Author: Matt Turner gentoo org> AuthorDate: Tue Jul 30 22:16:08 2024 +0000 Commit: Matt Turner gentoo 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 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 +}