From 4126d48d920db90afcdb6c8091a13e79d61b24d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Negrier=20Duarte?= Date: Tue, 2 Apr 2024 20:06:19 +0100 Subject: [PATCH] gui-libs/libdecor: new package, add 0.2.2, 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/927186 Signed-off-by: Gonçalo Negrier Duarte Signed-off-by: James Le Cuirot --- gui-libs/libdecor/Manifest | 1 + gui-libs/libdecor/libdecor-0.2.2.ebuild | 54 +++++++++++++++++++++++++ gui-libs/libdecor/libdecor-9999.ebuild | 54 +++++++++++++++++++++++++ gui-libs/libdecor/metadata.xml | 24 +++++++++++ 4 files changed, 133 insertions(+) create mode 100644 gui-libs/libdecor/Manifest create mode 100644 gui-libs/libdecor/libdecor-0.2.2.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 0000000000000..cb5c2e5a09bb2 --- /dev/null +++ b/gui-libs/libdecor/Manifest @@ -0,0 +1 @@ +DIST libdecor-0.2.2.tar.bz2 45375 BLAKE2B 86e78ce5017b0babc627b5f9ce75b7e2cca38929e3c382828e0453329efed707e2c010fb51522b7b5077a616d54cf2f9af70d5b3d68d2b2aa1d6d36b7a834b8d SHA512 f9761a8c59dc85dd92c871f73192ab05eb56ea34e85a38b5a7222822173f9fd71b5bfb5cffe2782e8c0a6275100e32b6761143cb1469dbcc6988d046a09f1b9a diff --git a/gui-libs/libdecor/libdecor-0.2.2.ebuild b/gui-libs/libdecor/libdecor-0.2.2.ebuild new file mode 100644 index 0000000000000..2d21ad63368ec --- /dev/null +++ b/gui-libs/libdecor/libdecor-0.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2024 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" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/libdecor/libdecor.git" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" +IUSE="+dbus +gtk examples" + +RDEPEND=" + >=dev-libs/wayland-1.18 + x11-libs/pango + x11-libs/cairo + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+:3 ) + examples? ( + media-libs/libglvnd + x11-libs/libxkbcommon + ) +" + +DEPEND=" + ${RDEPEND} + >=dev-libs/wayland-protocols-1.15 +" + +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + $(meson_feature gtk) + $(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 0000000000000..2d21ad63368ec --- /dev/null +++ b/gui-libs/libdecor/libdecor-9999.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2024 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" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/libdecor/libdecor.git" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/libdecor/libdecor/-/archive/${PV}/${P}.tar.bz2" + KEYWORDS="~amd64" +fi +LICENSE="MIT" +SLOT="0" +IUSE="+dbus +gtk examples" + +RDEPEND=" + >=dev-libs/wayland-1.18 + x11-libs/pango + x11-libs/cairo + dbus? ( sys-apps/dbus ) + gtk? ( x11-libs/gtk+:3 ) + examples? ( + media-libs/libglvnd + x11-libs/libxkbcommon + ) +" + +DEPEND=" + ${RDEPEND} + >=dev-libs/wayland-protocols-1.15 +" + +BDEPEND=" + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + # Avoid auto-magic, built-in feature of meson + -Dauto_features=disabled + $(meson_feature gtk) + $(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 0000000000000..9f8ba6301a8d8 --- /dev/null +++ b/gui-libs/libdecor/metadata.xml @@ -0,0 +1,24 @@ + + + + + Enable dbus to query current cursor theme + Build GTK plugin + Build and install examples + + + chewi@gentoo.org + James Le Cuirot + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers + + + gonegrier.duarte@gmail.com + Gonçalo Negrier Duarte + + + libdecor/libdecor + +