From 174629c695641891c65572c4de5c35864702a366 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Fri, 14 Jul 2023 15:22:39 +0100 Subject: [PATCH] gui-libs/libdecor: new package, add 0.1.1, 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gonçalo Negrier Duarte --- gui-libs/libdecor/Manifest | 1 + gui-libs/libdecor/libdecor-0.1.1.ebuild | 42 +++++++++++++++++++++++++ gui-libs/libdecor/libdecor-9999.ebuild | 41 ++++++++++++++++++++++++ gui-libs/libdecor/metadata.xml | 11 +++++++ 4 files changed, 95 insertions(+) create mode 100644 gui-libs/libdecor/Manifest create mode 100644 gui-libs/libdecor/libdecor-0.1.1.ebuild create mode 100644 gui-libs/libdecor/libdecor-9999.ebuild create mode 100644 gui-libs/libdecor/metadata.xml diff --git a/gui-libs/libdecor/Manifest b/gui-libs/libdecor/Manifest new file mode 100644 index 0000000000..c0eb0f8534 --- /dev/null +++ b/gui-libs/libdecor/Manifest @@ -0,0 +1 @@ +DIST libdecor-0.1.1.tar.bz2 37286 BLAKE2B 32a0ef9711fc0b830f2b2997a05e2ac8ce60ef6f972d8a4c17cebe987b49828c81f3888e42dde0627ce71dbc825ddfd336be3f591ca1f76168c3efd13c2e24ae SHA512 3a5a293a58d40a1d5377912c90ede7670caffbb6b4539ffb00f33667fd84ecaf8a90e05100ddc22c4af34482aac8d2deb67ba25ddbede67e7952b1054e359409 diff --git a/gui-libs/libdecor/libdecor-0.1.1.ebuild b/gui-libs/libdecor/libdecor-0.1.1.ebuild new file mode 100644 index 0000000000..031c890807 --- /dev/null +++ b/gui-libs/libdecor/libdecor-0.1.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="A client-side decorations library for Wayland clients" +HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor" +SRC_URI="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+dbus examples" + +DEPEND=" + >=dev-libs/wayland-1.18 + >=dev-libs/wayland-protocols-1.15 + x11-libs/pango + dbus? ( sys-apps/dbus ) + examples? ( + virtual/opengl + media-libs/mesa[egl(+)] + x11-libs/libxkbcommon + ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + + $(meson_feature dbus) + $(meson_use examples demo) + -Dinstall_demo=true + ) + + meson_src_configure +} diff --git a/gui-libs/libdecor/libdecor-9999.ebuild b/gui-libs/libdecor/libdecor-9999.ebuild new file mode 100644 index 0000000000..3dcc9ad2ce --- /dev/null +++ b/gui-libs/libdecor/libdecor-9999.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson git-r3 + +DESCRIPTION="A client-side decorations library for Wayland clients" +HOMEPAGE="https://gitlab.freedesktop.org/libdecor/libdecor" +EGIT_REPO_URI="https://gitlab.freedesktop.org/libdecor/libdecor.git" + +LICENSE="MIT" +SLOT="0" +IUSE="+dbus examples" + +DEPEND=" + >=dev-libs/wayland-1.18 + >=dev-libs/wayland-protocols-1.15 + x11-libs/pango + dbus? ( sys-apps/dbus ) + examples? ( + virtual/opengl + media-libs/mesa[egl(+)] + x11-libs/libxkbcommon + ) +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + + $(meson_feature dbus) + $(meson_use examples demo) + -Dinstall_demo=true + ) + + meson_src_configure +} diff --git a/gui-libs/libdecor/metadata.xml b/gui-libs/libdecor/metadata.xml new file mode 100644 index 0000000000..fce1053054 --- /dev/null +++ b/gui-libs/libdecor/metadata.xml @@ -0,0 +1,11 @@ + + + + + Enable dbus to query current cursor theme + Build and install examples + + + libdecor/libdecor + + \ No newline at end of file