diff options
Diffstat (limited to 'gnome-base/nautilus')
-rw-r--r-- | gnome-base/nautilus/Manifest | 2 | ||||
-rw-r--r-- | gnome-base/nautilus/nautilus-46.2.ebuild | 116 |
2 files changed, 118 insertions, 0 deletions
diff --git a/gnome-base/nautilus/Manifest b/gnome-base/nautilus/Manifest index 24fa2866d062..2c96626814c2 100644 --- a/gnome-base/nautilus/Manifest +++ b/gnome-base/nautilus/Manifest @@ -2,5 +2,7 @@ AUX 43.0-optional-gstreamer.patch 1269 BLAKE2B 2a4599771977e44f9e1b25d2334f838a2 AUX 45.2.1-better-icon-lookup-fallback.patch 4262 BLAKE2B 0a472471f2032c32013d53afe31b55b5f2496035d0af949687a73d082bc0cc5d63c6e74bc92dc4eb845005d6829ea07bd7d2adfe7d5f1781c1da6f1116187dd8 SHA512 c2d0dc6b51ac39ce8cd27a36a6257a36481c86ba4ecdd2ad0317fcf2f718286a13f3625c1f795fbaec37fb499f95ee7521e438d80f5dd9de50c728b14078d4ee AUX 45.2.1-fix-av-props-crash.patch 1345 BLAKE2B 14f48ec5adf2d4c7935a302f81c34f503eb62774f0c9a4b4b0321e175242bf332867c8815854331476278b4f1de3893c7b82d434e0ec558ce97e5d0718cc69dd SHA512 6331a246143991b2798600e49275e2e0d4c21ad1b5000e51b47eb3c4c79cf4f0659c00ae1c40d95f312a9d20d3e70faa283a6489bcd32143460a2dbe3b7c7d68 DIST nautilus-45.2.1.tar.xz 3208272 BLAKE2B 80adf7ace00c21d21eddf764595c3f981e6206b936996458e5c2cc9cc51536e759528bdc38d1cddfe1c87eb94eac0ef2ced714ae797db947b81199a4bfa41c9d SHA512 c1e26e9f802f62ccb7a7d60f895575a1b31d8071f6a60206472fe79f70d64717b9abe97a5c5c0c87349994ff6f144dfe97c7bd448a05a9da00ff9918884e65fa +DIST nautilus-46.2.tar.xz 3238060 BLAKE2B 6a3d79632a70d1bee969d5c71dbc2b64ae2365eff2fdc0dbe8f6030d20488c3bf3321750e0613f676912ee324a33136de805ae841a0841e7aef071582d7e2092 SHA512 6613342d7904a5516bd0035b72b6071cebcb1aba6083f0bbcb4e939acf74b9bb1a407090b91a2a8b73f00eb236d0d3a4a8e288681bfc63a31672b85326019150 EBUILD nautilus-45.2.1-r1.ebuild 3733 BLAKE2B 08e1b1a703a659c6884cf72d50f25a098b33bb924ab07e90962c158be11a5d7ce6614ae1bb0c915f12e045618c4a997e561f0dee03059e0cc3a065baf3a83492 SHA512 c769ed474a91f6a94d1c6971912fd713ed09d6f3ee6bd9149b0f6809d170698be776aae37fdfd89a7c293c31d9396dfee07965ce301cf0e24633ebdd2b50710d +EBUILD nautilus-46.2.ebuild 3296 BLAKE2B 648f883c247b29a4e8093167dfa1232889bdc0334bbc3d41679cc5faf6b52e2cd5aa4d68db733dd95f3719d71727a0c305115ac2ad84a8a5b49fac16bb3345d9 SHA512 c33e08a35fc5bea80da2c14b9c82f0084438c3223336575e7270c43cbbd896f3aa176839d019617ece4c33daec1613ef0942a93dc6b476faf8b110c16b901493 MISC metadata.xml 735 BLAKE2B 45a5510704506c6dd881fe6a653002b99eb6746d886e957022089028642969eb184001fc9d8a224bc8d699515399196088351fada65bf3c5d7085241c2be5ee4 SHA512 9f788fafb7965d95451f7f8d3bbde2357c149e2781368056893975f34f8b3e339e8b5016802c39b4bf5575649a071cd2a08185c9aae0bdb33c7a3a86b81d0353 diff --git a/gnome-base/nautilus/nautilus-46.2.ebuild b/gnome-base/nautilus/nautilus-46.2.ebuild new file mode 100644 index 000000000000..ff3eda3b5d9c --- /dev/null +++ b/gnome-base/nautilus/nautilus-46.2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/" + +LICENSE="GPL-3+ LGPL-2.1+" +SLOT="0" + +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" + +IUSE="+cloudproviders doc gnome +gstreamer +introspection +previewer selinux" + +DEPEND=" + >=dev-libs/glib-2.79.0:2 + >=media-libs/gexiv2-0.14.2 + >=x11-libs/gdk-pixbuf-2.30.0:2 + gstreamer? ( media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 ) + >=app-arch/gnome-autoar-0.4.4 + >=gnome-base/gnome-desktop-43:4= + >=gnome-base/gsettings-desktop-schemas-42 + >=gui-libs/gtk-4.13.6:4[introspection?] + >=gui-libs/libadwaita-1.4.0:1 + >=dev-libs/libportal-0.5:=[gtk] + >=x11-libs/pango-1.28.3 + selinux? ( >=sys-libs/libselinux-2.0 ) + >=app-misc/tracker-3.0:3 + cloudproviders? ( >=net-libs/libcloudproviders-0.3.1 ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) +" +RDEPEND="${DEPEND} + >=app-misc/tracker-miners-3.0:3= +" # uses org.freedesktop.Tracker.Miner.Files gsettings schema from tracker-miners +BDEPEND=" + >=dev-util/gdbus-codegen-2.51.2 + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + test? ( sys-apps/dbus ) +" +PDEPEND=" + gnome? ( x11-themes/adwaita-icon-theme ) + previewer? ( >=gnome-extra/sushi-0.1.9 ) + >=gnome-base/gvfs-1.14[gtk(+)] +" # Need gvfs[gtk] for recent:/// support; always built (without USE=gtk) since gvfs-1.34 + +PATCHES=( + "${FILESDIR}"/43.0-optional-gstreamer.patch # Allow controlling audio-video-properties build +) + +src_prepare() { + default + xdg_environment_reset + + # Disable -Werror + sed -e '/-Werror=/d' -i meson.build || die + + if use previewer; then + DOC_CONTENTS="nautilus uses gnome-extra/sushi to preview media files. + To activate the previewer, select a file and press space; to + close the previewer, press space again." + fi + + # Disable test-nautilus-search-engine-tracker; bug #831170 + sed -e '/^tracker_tests = /{n;N;N;d}' -i test/automated/displayless/meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_use doc docs) + -Dextensions=true # image file properties, also required for -Dgstreamer=true + $(meson_use introspection) + -Dpackagekit=false + $(meson_use selinux) + $(meson_use cloudproviders) + -Dtests=$(usex test all none) + + $(meson_use gstreamer) # gstreamer audio-video-properties extension + ) + meson_src_configure +} + +src_install() { + use previewer && readme.gentoo_create_doc + meson_src_install +} + +src_test() { + # Avoid dconf that looks at XDG_DATA_DIRS, which can sandbox fail if flatpak is installed + gnome2_environment_reset + # TODO: Tests require tracker testutils (e.g. tracker-sandbox), which may + # need some sorting out with tracker use flag deps + # GIO_USE_VOLUME_MONITOR=unix due to https://gitlab.gnome.org/GNOME/gvfs/-/issues/629#note_1467280 + GIO_USE_VOLUME_MONITOR=unix XDG_SESSION_TYPE=x11 virtx dbus-run-session meson test -C "${BUILD_DIR}" || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + if use previewer; then + readme.gentoo_print_elog + else + elog "To preview media files, emerge nautilus with USE=previewer" + fi +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |