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 B874315808B for ; Mon, 16 Sep 2024 15:51:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7FA10E29B1; Mon, 16 Sep 2024 15:51:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 4183EE29B0 for ; Mon, 16 Sep 2024 15:51:19 +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 3FB67342FFB for ; Mon, 16 Sep 2024 15:51:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 941F827ED for ; Mon, 16 Sep 2024 15:51:16 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1726484476.fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-libs/mir/ X-VCS-Repository: repo/proj/guru X-VCS-Files: gui-libs/mir/Manifest gui-libs/mir/mir-2.17.2.ebuild X-VCS-Directories: gui-libs/mir/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223 X-VCS-Branch: master Date: Mon, 16 Sep 2024 15:51:16 +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: 12153029-a5f2-4c6c-ab4a-b1ed735c631b X-Archives-Hash: 5b2e75e817a0924bd263deea5d59d675 commit: fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223 Author: Takuya Wakazono gmail com> AuthorDate: Mon Sep 16 11:01:16 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Sep 16 11:01:16 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fde3e71f gui-libs/mir: add 2.17.2 Signed-off-by: Takuya Wakazono gmail.com> gui-libs/mir/Manifest | 1 + gui-libs/mir/mir-2.17.2.ebuild | 90 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 91 insertions(+) diff --git a/gui-libs/mir/Manifest b/gui-libs/mir/Manifest index 21fdaaa68..edc852173 100644 --- a/gui-libs/mir/Manifest +++ b/gui-libs/mir/Manifest @@ -1 +1,2 @@ DIST mir-2.17.0.tar.gz 6674122 BLAKE2B ad6694da4ed8c55e365674811a490347cbe191c4d88976cdf42d3c8371c894c0de0bd0ae2587141cd5a9177b37bf2e86b88f2e160c32f4196ffc1bb552c9f04b SHA512 de6c919f3685280053f17c6da2f8ca9f729bdccf404a27f3ebb7233564b3d6facd130c7aa8f10283b95d815970233dd1c27bcc15120427ddd1c028896b00aec6 +DIST mir-2.17.2.tar.gz 6675804 BLAKE2B 901408a173e0916f0309d6d579063a28eb224bbe2a968d83223fd74817cce55249a389292ade84252fcf7b34b5f76a641bb6c90997460dd05df9fa6930c081f6 SHA512 81b6aaa08b176882e93f7de399f7e1689b11219f6f848f0abf40c3cf0896266c057df121cbfdfbaf29dd09f9b6a71889d97022d8835c3f1e8715726f0cf111e0 diff --git a/gui-libs/mir/mir-2.17.2.ebuild b/gui-libs/mir/mir-2.17.2.ebuild new file mode 100644 index 000000000..7960b1949 --- /dev/null +++ b/gui-libs/mir/mir-2.17.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Set of libraries for building Wayland based shells" +HOMEPAGE="https://mir-server.io/" +SRC_URI="https://github.com/canonical/mir/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 ) || ( LGPL-2.1 LGPL-3 )" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test X" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/libxmlpp:2.6 + dev-cpp/yaml-cpp:= + dev-libs/boost:= + dev-libs/glib:2 + dev-libs/libinput:= + dev-libs/wayland + dev-util/lttng-ust:= + media-libs/freetype + media-libs/libepoxy + media-libs/libglvnd + media-libs/mesa + sys-apps/util-linux + x11-libs/libXcursor + x11-libs/libdrm + x11-libs/libxcb:= + x11-libs/libxkbcommon + virtual/libudev:= + X? ( x11-libs/libX11 ) +" +DEPEND=" + ${RDEPEND} + media-libs/glm +" +BDEPEND=" + dev-util/gdbus-codegen + virtual/pkgconfig + test? ( + dev-cpp/gtest + dev-util/umockdev + x11-base/xwayland + ) +" + +PATCHES=( + # bug 932786 + "${FILESDIR}/${PN}-2.17.0-remove-debug-flags.patch" +) + +src_prepare() { + cmake_src_prepare + cmake_comment_add_subdirectory examples/ +} + +src_configure() { + local platforms="gbm-kms;wayland" + use X && platforms="${platforms};x11" + + local mycmakeargs=( + # wlcs is not packaged + -DMIR_ENABLE_WLCS_TESTS=OFF + -DMIR_ENABLE_TESTS="$(usex test)" + -DMIR_FATAL_COMPILE_WARNINGS=OFF + -DMIR_PLATFORM="${platforms}" + ) + use test && mycmakeargs+=( + # likely will not work in build environment + -DMIR_BUILD_PERFORMANCE_TESTS=OFF + -DMIR_BUILD_PLATFORM_TEST_HARNESS=OFF + -DMIR_BUILD_UNIT_TESTS=OFF + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if use test; then + # remove dummy libraries + rm -f "${ED}/usr/$(get_libdir)/mir/server-platform/"{graphics-dummy.so,input-stub.so} || die + fi +}