commit:     6258a508beef2cc3ff2690fbb1a62c68c0ec49f4
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 15 08:58:42 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul 15 09:16:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6258a508

gui-libs/libwlembed: New library needed for xfce4-screensaver (live)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 gui-libs/libwlembed/libwlembed-9999.ebuild | 51 ++++++++++++++++++++++++++++++
 gui-libs/libwlembed/metadata.xml           |  7 ++++
 2 files changed, 58 insertions(+)

diff --git a/gui-libs/libwlembed/libwlembed-9999.ebuild 
b/gui-libs/libwlembed/libwlembed-9999.ebuild
new file mode 100644
index 000000000000..cd3bb6e1caee
--- /dev/null
+++ b/gui-libs/libwlembed/libwlembed-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit git-r3 meson python-any-r1
+
+DESCRIPTION="A library for easily adding embedded Wayland compositor 
functionality"
+HOMEPAGE="https://gitlab.xfce.org/kelnos/libwlembed";
+EGIT_REPO_URI="https://gitlab.xfce.org/kelnos/libwlembed";
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="gtk gtk-doc +introspection"
+
+DEPEND="
+       >=dev-libs/glib-2.72
+       >=dev-libs/wayland-1.20
+       >=dev-util/wayland-scanner-1.20
+       x11-libs/libxkbcommon
+       gtk? (
+               >=gui-libs/gtk-layer-shell-0.7.0
+               >=x11-libs/gtk+-3.24:3[wayland]
+       )
+       introspection? ( >=dev-libs/gobject-introspection-1.72.0 )
+"
+RDEPEND="
+       ${DEPEND}
+"
+DEPEND+="
+       >=dev-libs/wayland-protocols-1.25
+"
+BDEPEND="
+       ${PYTHON_DEPS}
+       virtual/pkgconfig
+       gtk-doc? ( dev-util/gtk-doc )
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature gtk gtk3)
+               $(meson_feature gtk gtk3-layer-shell)
+               $(meson_use introspection)
+               $(meson_use gtk-doc)
+               -Dexamples=false
+       )
+
+       meson_src_configure
+}

diff --git a/gui-libs/libwlembed/metadata.xml b/gui-libs/libwlembed/metadata.xml
new file mode 100644
index 000000000000..f05a5a518f4f
--- /dev/null
+++ b/gui-libs/libwlembed/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+       </maintainer>
+</pkgmetadata>

Reply via email to