From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: gui-libs/mir/
Date: Mon, 16 Sep 2024 15:51:16 +0000 (UTC) [thread overview]
Message-ID: <1726484476.fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223.davidroman@gentoo> (raw)
commit: fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Sep 16 11:01:16 2024 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> 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 <pastalian46 <AT> 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
+}
next reply other threads:[~2024-09-16 15:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-16 15:51 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-19 16:10 [gentoo-commits] repo/proj/guru:master commit in: gui-libs/mir/ Julien Roy
2024-11-19 16:10 Julien Roy
2024-09-29 18:00 David Roman
2024-09-29 18:00 David Roman
2024-09-16 15:51 David Roman
2024-05-25 13:01 Julien Roy
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=1726484476.fde3e71f1e5f7301a7c4d69d0bcd3e0181c0d223.davidroman@gentoo \
--to=davidroman96@gmail.com \
--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