diff --git a/gui-libs/libdecor/libdecor-0.2.2.ebuild b/gui-libs/libdecor/libdecor-0.2.2.ebuild index 7a320ed516..1adc093e6b 100644 --- a/gui-libs/libdecor/libdecor-0.2.2.ebuild +++ b/gui-libs/libdecor/libdecor-0.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,21 +7,27 @@ 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" - +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" -KEYWORDS="~amd64" -IUSE="+dbus examples" +IUSE="+dbus +gtk examples" DEPEND=" >=dev-libs/wayland-1.18 >=dev-libs/wayland-protocols-1.15 x11-libs/pango + x11-libs/cairo + x11-libs/gtk+ dbus? ( sys-apps/dbus ) examples? ( virtual/opengl - media-libs/mesa[egl(+)] + media-libs/mesa[opengl(+)] x11-libs/libxkbcommon ) " @@ -31,7 +37,7 @@ 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 diff --git a/gui-libs/libdecor/libdecor-9999.ebuild b/gui-libs/libdecor/libdecor-9999.ebuild index bbcd2b2e3d..1adc093e6b 100644 --- a/gui-libs/libdecor/libdecor-9999.ebuild +++ b/gui-libs/libdecor/libdecor-9999.ebuild @@ -1,26 +1,33 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit meson git-r3 +inherit meson 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" - +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 examples" +IUSE="+dbus +gtk examples" DEPEND=" >=dev-libs/wayland-1.18 >=dev-libs/wayland-protocols-1.15 x11-libs/pango + x11-libs/cairo + x11-libs/gtk+ dbus? ( sys-apps/dbus ) examples? ( virtual/opengl - media-libs/mesa[egl(+)] + media-libs/mesa[opengl(+)] x11-libs/libxkbcommon ) " @@ -30,7 +37,7 @@ 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 diff --git a/gui-libs/libdecor/metadata.xml b/gui-libs/libdecor/metadata.xml index 67df2efa9f..954491ca9b 100644 --- a/gui-libs/libdecor/metadata.xml +++ b/gui-libs/libdecor/metadata.xml @@ -2,9 +2,18 @@ - Enable dbus to query current cursor theme + 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 @@ -12,4 +21,4 @@ libdecor/libdecor - \ No newline at end of file +