gnome-base/nautilus: hard depend on gdk X and wayland backends

Eli Schwartz is in discussion with upstream about making the X and
wayland gdk backends optional. Hard depend on those backends in the mean
time, letting users successfully compile nautilus when setting USE="-X" or
USE="-wayland".

See-also: https://gitlab.gnome.org/GNOME/nautilus/-/issues/4025
Bug: https://bugs.gentoo.org/963534
Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/44469
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Lukas Schmelting 2025-11-04 19:02:30 +01:00 committed by Sam James
parent 5faf99dbe4
commit 893b1340a5
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
4 changed files with 12 additions and 24 deletions

View File

@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
DESCRIPTION="Default file manager for the GNOME desktop"
HOMEPAGE="https://apps.gnome.org/Nautilus/"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
IUSE="X +cloudproviders doc gnome +gstreamer +introspection +previewer selinux wayland"
IUSE="+cloudproviders doc gnome +gstreamer +introspection +previewer selinux"
REQUIRED_USE="doc? ( introspection )"
DEPEND="
@ -25,7 +25,7 @@ DEPEND="
>=app-arch/gnome-autoar-0.4.4
>=gnome-base/gnome-desktop-43:4=
>=gnome-base/gsettings-desktop-schemas-42
>=gui-libs/gtk-4.15.2:4[X?,introspection?,wayland?]
>=gui-libs/gtk-4.15.2:4[X,introspection?,wayland]
>=gui-libs/libadwaita-1.6_beta:1
>=dev-libs/libportal-0.7:=[gtk]
>=x11-libs/pango-1.28.3
@ -76,9 +76,6 @@ src_prepare() {
}
src_configure() {
use X || append-cppflags -DGENTOO_GTK_HIDE_X11
use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
local emesonargs=(
$(meson_use doc docs)
-Dextensions=true # image file properties, also required for -Dgstreamer=true

View File

@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
DESCRIPTION="Default file manager for the GNOME desktop"
HOMEPAGE="https://apps.gnome.org/Nautilus/"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="X +cloudproviders doc gnome +gstreamer +introspection +previewer selinux wayland"
IUSE="+cloudproviders doc gnome +gstreamer +introspection +previewer selinux"
REQUIRED_USE="doc? ( introspection )"
DEPEND="
@ -25,7 +25,7 @@ DEPEND="
>=app-arch/gnome-autoar-0.4.4
>=gnome-base/gnome-desktop-43:4=
>=gnome-base/gsettings-desktop-schemas-42
>=gui-libs/gtk-4.15.2:4[X?,introspection?,wayland?]
>=gui-libs/gtk-4.15.2:4[X,introspection?,wayland]
>=gui-libs/libadwaita-1.6_beta:1
>=dev-libs/libportal-0.7:=[gtk]
>=x11-libs/pango-1.28.3
@ -74,9 +74,6 @@ src_prepare() {
}
src_configure() {
use X || append-cppflags -DGENTOO_GTK_HIDE_X11
use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
local emesonargs=(
$(meson_use doc docs)
-Dextensions=true # image file properties, also required for -Dgstreamer=true

View File

@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
DESCRIPTION="Default file manager for the GNOME desktop"
HOMEPAGE="https://apps.gnome.org/Nautilus/"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
IUSE="X +cloudproviders doc gnome +gstreamer +introspection +previewer selinux wayland"
IUSE="+cloudproviders doc gnome +gstreamer +introspection +previewer selinux"
REQUIRED_USE="doc? ( introspection )"
DEPEND="
@ -25,7 +25,7 @@ DEPEND="
>=app-arch/gnome-autoar-0.4.4
>=gnome-base/gnome-desktop-43:4=
>=gnome-base/gsettings-desktop-schemas-42
>=gui-libs/gtk-4.17.5:4[X?,introspection?,wayland?]
>=gui-libs/gtk-4.17.5:4[X,introspection?,wayland]
>=gui-libs/libadwaita-1.6_beta:1
>=dev-libs/libportal-0.7:=[gtk]
>=x11-libs/pango-1.28.3
@ -74,9 +74,6 @@ src_prepare() {
}
src_configure() {
use X || append-cppflags -DGENTOO_GTK_HIDE_X11
use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
local emesonargs=(
$(meson_use doc docs)
-Dextensions=true # image file properties, also required for -Dgstreamer=true

View File

@ -3,7 +3,7 @@
EAPI=8
inherit flag-o-matic gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
inherit gnome.org gnome2-utils meson readme.gentoo-r1 virtualx xdg
DESCRIPTION="Default file manager for the GNOME desktop"
HOMEPAGE="https://apps.gnome.org/Nautilus/"
@ -13,7 +13,7 @@ SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86"
IUSE="X +cloudproviders doc gnome +gstreamer +introspection +previewer selinux wayland"
IUSE="+cloudproviders doc gnome +gstreamer +introspection +previewer selinux"
REQUIRED_USE="doc? ( introspection )"
DEPEND="
@ -24,7 +24,7 @@ DEPEND="
>=app-arch/gnome-autoar-0.4.4
>=gnome-base/gnome-desktop-43:4=
>=gnome-base/gsettings-desktop-schemas-42
>=gui-libs/gtk-4.17.5:4[X?,introspection?,wayland?]
>=gui-libs/gtk-4.17.5:4[X,introspection?,wayland]
>=gui-libs/libadwaita-1.6_beta:1
>=dev-libs/libportal-0.7:=[gtk]
>=x11-libs/pango-1.28.3
@ -73,9 +73,6 @@ src_prepare() {
}
src_configure() {
use X || append-cppflags -DGENTOO_GTK_HIDE_X11
use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
local emesonargs=(
$(meson_use doc docs)
-Dextensions=true # image file properties, also required for -Dgstreamer=true