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 AC84B158089 for ; Mon, 25 Sep 2023 15:48:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F1912BC016; Mon, 25 Sep 2023 15:48:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 6A84E2BC016 for ; Mon, 25 Sep 2023 15:48:10 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 694B4335CA6 for ; Mon, 25 Sep 2023 15:48:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C04C9125D for ; Mon, 25 Sep 2023 15:48:07 +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: <1695656884.20f571411e0fb4a4711339a6b634c1a7ed99caa1.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.0.ebuild X-VCS-Directories: media-libs/waffle/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 20f571411e0fb4a4711339a6b634c1a7ed99caa1 X-VCS-Branch: master Date: Mon, 25 Sep 2023 15:48:07 +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: cdbab7c5-56b2-4132-876d-3c9c3f2ec329 X-Archives-Hash: dfb49627235700c1459a52f222bca567 commit: 20f571411e0fb4a4711339a6b634c1a7ed99caa1 Author: Matt Turner gentoo org> AuthorDate: Mon Sep 25 15:44:53 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Sep 25 15:48:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20f57141 media-libs/waffle: Version bump to 1.8.0 Signed-off-by: Matt Turner gentoo.org> media-libs/waffle/Manifest | 1 + media-libs/waffle/waffle-1.8.0.ebuild | 97 +++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) diff --git a/media-libs/waffle/Manifest b/media-libs/waffle/Manifest index aab8096d3677..2e01a0982270 100644 --- a/media-libs/waffle/Manifest +++ b/media-libs/waffle/Manifest @@ -1,2 +1,3 @@ DIST waffle-v1.7.2.tar.bz2 305728 BLAKE2B d78e54857d5fd4a20526d23a9a2edc5abacceaf4a2a6fd21b3432e4b68ef8084c93748592232b7698bd0587db83a5396cf92258f8cbfec2dbc1f6335d89e5bf6 SHA512 015bd82ae592d639403136e91681912827ad81b42400b7dd5353076d6af53ceec8d3cba7e9b076e99676c37a75a9e5f6440c22e14d89c978901b1e3f3d95052f DIST waffle-v1.7.3.tar.bz2 305863 BLAKE2B efbffd252d085140f587a02e626a3eda75fd5ba3f445a03b6ae03bd74667c797f4590e63330f303dc45394353d57c9ada7973a1552ec68f0de83352719f7975e SHA512 922507b9f7b8996de0d705f0b705feeb567101d5826a0971f9267b9d58c595b2541d85c0810e43ccdaacbf4ccae0686274ce411d837e7179892ef5ab5d705b0f +DIST waffle-v1.8.0.tar.bz2 310657 BLAKE2B cfc5f6fb32ae379457d9e1a9806504f8e2d22a2e320afab81db04a8e459cc2e127ea546e27a01a36cbb76a3095ca1d87bf96d40286f78f8ef7e1c270a6170521 SHA512 432786f1e255638a866af5c95d4ec0421ce9ffa661696482f9b40f9dbad9198f93caca484a0739a34d37d7a7070efb007771fcc6ea7acb70152c34892466e1e4 diff --git a/media-libs/waffle/waffle-1.8.0.ebuild b/media-libs/waffle/waffle-1.8.0.ebuild new file mode 100644 index 000000000000..23baef47c53e --- /dev/null +++ b/media-libs/waffle/waffle-1.8.0.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2023 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 +}