commit:     0715171e159a299e3c21aa88843db80a43878473
Author:     Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com>
AuthorDate: Tue Oct  4 04:24:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct 12 23:04:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0715171e

x11-wm/muffin: 5.4.7 version bump

Bug: https://bugs.gentoo.org/863197
Closes: https://bugs.gentoo.org/741630
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-wm/muffin/Manifest            |   1 +
 x11-wm/muffin/metadata.xml        |   3 +
 x11-wm/muffin/muffin-5.4.7.ebuild | 118 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 122 insertions(+)

diff --git a/x11-wm/muffin/Manifest b/x11-wm/muffin/Manifest
index b824fcd41c64..072345123345 100644
--- a/x11-wm/muffin/Manifest
+++ b/x11-wm/muffin/Manifest
@@ -1,2 +1,3 @@
 DIST muffin-5.2.0.tar.gz 5197334 BLAKE2B 
e1c3ffc6f88ef4a6c5b2f3e03838448540baeeacce3029a039b2fae1804c79193f9ee0bb64d9187f4b2f7f902f47211dc5c5fb185e4f2fcf94513bfe2f0913bf
 SHA512 
16d83d10e8ca4f0cc1cb679e8bf8bc0fd0788d656fa39470a921d848bcb0b158ef56bdd681a842e2ca41b40cb0121007d5e7f5f7f1570459b31fd21a78f96932
 DIST muffin-5.2.1.tar.gz 5197177 BLAKE2B 
9703a2e2c5ef75c7d4da3e201b60033a7ba549d94106df33aa9b89d0029f52c06fb4be00dd4c4d996bb083a790635a8227c8ff729dc43940f70b679e1b46924d
 SHA512 
fa88a88f77a1cb84c2159fac8ab3ed38ae1054d3a01bb100aa264e8b91493a744da6e83ffad9190f0f7a07bd26022fea12d13a60e213d57f289685fba1810eb6
+DIST muffin-5.4.7.tar.gz 4515845 BLAKE2B 
53e2debb404f1712b2c23b7d46cf020389acff50067f39ed8a99272688b0ec95fe8e1e14a1c032a36ae4e80a55099390cebaec156bd6da81d3a89629e627e8b3
 SHA512 
12789c9ad1c69b59b0dbff6a3853eca42851a48d949b913dc851e676dc92b95c9b1b73d5bc8550dc5cf555546fc9b659a6a4c04431ec16c9aeeddab408d2066e

diff --git a/x11-wm/muffin/metadata.xml b/x11-wm/muffin/metadata.xml
index aad0d6642dd8..1d464bc6bfa2 100644
--- a/x11-wm/muffin/metadata.xml
+++ b/x11-wm/muffin/metadata.xml
@@ -12,4 +12,7 @@
        <upstream>
                <remote-id type="github">linuxmint/muffin</remote-id>
        </upstream>
+       <use>
+               <flag name="sysprof">Enable profiling data capture support 
using <pkg>dev-util/sysprof-capture</pkg></flag>
+       </use>
 </pkgmetadata>

diff --git a/x11-wm/muffin/muffin-5.4.7.ebuild 
b/x11-wm/muffin/muffin-5.4.7.ebuild
new file mode 100644
index 000000000000..b5a65f25805c
--- /dev/null
+++ b/x11-wm/muffin/muffin-5.4.7.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit gnome2-utils meson xdg-utils virtualx
+
+DESCRIPTION="Compositing window manager forked from Mutter for use with 
Cinnamon"
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/ 
https://github.com/linuxmint/muffin";
+SRC_URI="https://github.com/linuxmint/muffin/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="input_devices_wacom +introspection screencast sysprof test udev"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+# Dependencies listed in meson order
+COMDEPEND="
+       x11-libs/libX11
+       >=media-libs/graphene-1.9.3[introspection?]
+       >=x11-libs/gtk+-3.19.8:3[X,introspection?]
+       x11-libs/gdk-pixbuf:2[introspection?]
+       >=x11-libs/pango-1.20.0[introspection?]
+       >=x11-libs/cairo-1.10.0:=[X]
+       >=dev-libs/fribidi-1.0.0
+       >=dev-libs/glib-2.61.1:2
+       >=dev-libs/json-glib-0.12.0[introspection?]
+       >=gnome-extra/cinnamon-desktop-5.4:0=
+       >=x11-libs/libXcomposite-0.4
+       x11-libs/libXcursor
+       x11-libs/libXdamage
+       x11-libs/libXext
+       >=x11-libs/libXfixes-3
+       >=x11-libs/libXi-1.7.4
+       x11-libs/libXtst
+       x11-libs/libxkbfile
+       x11-misc/xkeyboard-config
+       >=x11-libs/libxkbcommon-0.4.3[X]
+       x11-libs/libXrender
+       >=x11-libs/libXrandr-1.5.0
+       x11-libs/libxcb:=
+       x11-libs/libXinerama
+       x11-libs/libXau
+       x11-libs/libICE
+       || (
+               >=app-accessibility/at-spi2-core-2.46.0:2[introspection?]
+               >=dev-libs/atk-2.5.3[introspection?]
+       )
+       >=media-libs/libcanberra-0.26
+       sys-apps/dbus
+       media-libs/libglvnd[X]
+       media-libs/mesa[X(+),egl(+)]
+       x11-libs/libSM
+       >=x11-libs/startup-notification-0.7:=
+
+       input_devices_wacom? ( >=dev-libs/libwacom-0.13:= )
+       introspection? ( >=dev-libs/gobject-introspection-1.41.3:= )
+       screencast? ( >=media-video/pipewire-0.3.0:= )
+       sysprof? ( >=dev-util/sysprof-capture-3.35.2:4 )
+       udev? ( >=virtual/libudev-228:=
+               >=dev-libs/libgudev-232 )
+"
+RDEPEND="${COMDEPEND}
+       gnome-extra/zenity
+"
+DEPEND="${COMDEPEND}
+       x11-base/xorg-proto
+"
+BDEPEND="
+       dev-util/gdbus-codegen
+       dev-util/glib-utils
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+# Wayland is not supported upstream.
+src_configure() {
+       local emesonargs=(
+               -Dopengl=true
+               #opengl_libname
+               #gles2_libname
+               -Dgles2=false # wayland
+               -Degl=true
+               -Dglx=true
+               $(meson_use screencast remote_desktop)
+               $(meson_use udev)
+               $(meson_use input_devices_wacom libwacom)
+               -Dpango_ft2=true
+               -Dstartup_notification=true
+               -Dsm=true
+               $(meson_use introspection)
+               $(meson_use test cogl_tests)
+               $(meson_use test clutter_tests)
+               -Dcore_tests=false # wayland
+               $(meson_use test tests)
+               $(meson_use sysprof profiler)
+               -Dinstalled_tests=false
+               #verbose
+       )
+
+       meson_src_configure
+}
+
+src_test() {
+       gnome2_environment_reset # Avoid dconf that looks at XDG_DATA_DIRS, 
which can sandbox fail if flatpak is installed
+       glib-compile-schemas "${BUILD_DIR}"/data
+       GSETTINGS_SCHEMA_DIR="${BUILD_DIR}"/data virtx meson_src_test 
--no-suite flaky
+}
+
+pkg_postinst() {
+       xdg_desktop_database_update
+       gnome2_schemas_update
+}
+
+pkg_postrm() {
+       xdg_desktop_database_update
+       gnome2_schemas_update
+}

Reply via email to