mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
9e8d0acdcb
This is similar tod83e25b6a5. Adapted parona's sed then checked results: ``` $ sed -E '/dev-util\/gdbus-codegen(:=|\s|$|-[0-9]|\[)/ { s/(>=)?dev-util\/gdbus-codegen(-[0-9.r-]*)?/>=dev-util\/gdbus-codegen-2.80.5-r1/ }' */*/*.ebuild -i ``` We need to make the PM upgrade to newer gdbus-codegen (seeda84c0959e). Otherwise, a gdbus-codegen that is broken (even if we added a newer version and dropped old etc) may be used to build other packages and cause build failures. Bug: https://bugs.gentoo.org/919904 Bug: https://bugs.gentoo.org/922654 Bug: https://bugs.gentoo.org/959259 Signed-off-by: Sam James <sam@gentoo.org>
146 lines
3.2 KiB
Bash
146 lines
3.2 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{10..13} )
|
|
|
|
inherit meson flag-o-matic gnome2-utils python-single-r1 readme.gentoo-r1 virtualx xdg
|
|
|
|
DESCRIPTION="A file manager for Cinnamon, forked from Nautilus"
|
|
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo"
|
|
SRC_URI="https://github.com/linuxmint/nemo/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+ FDL-1.1"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
|
IUSE="exif gtk-doc +nls selinux test tracker wayland xmp"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
# https://github.com/linuxmint/nemo/issues/2501
|
|
RESTRICT="test"
|
|
|
|
COMMON_DEPEND="
|
|
${PYTHON_DEPS}
|
|
>=app-accessibility/at-spi2-core-2.46.0:2
|
|
>=dev-libs/glib-2.45.7:2[dbus]
|
|
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
|
>=dev-libs/json-glib-1.6.0
|
|
dev-libs/libxmlb:0/2[introspection]
|
|
>=gnome-extra/cinnamon-desktop-6.4:0=
|
|
gnome-extra/libgsf:=
|
|
x11-libs/cairo
|
|
x11-libs/gdk-pixbuf:2
|
|
>=x11-libs/gtk+-3.24.41-r1:3[introspection,wayland?,X]
|
|
x11-libs/libX11
|
|
>=x11-libs/pango-1.40.0
|
|
>=x11-libs/xapp-2.8.8[introspection]
|
|
|
|
exif? (
|
|
>=media-libs/libexif-0.6.20
|
|
)
|
|
selinux? (
|
|
sys-libs/libselinux
|
|
)
|
|
tracker? (
|
|
app-misc/tinysparql:3
|
|
)
|
|
xmp? (
|
|
>=media-libs/exempi-2.2.0:=
|
|
)
|
|
"
|
|
RDEPEND="
|
|
${COMMON_DEPEND}
|
|
$(python_gen_cond_dep '
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
')
|
|
x11-themes/adwaita-icon-theme
|
|
|
|
nls? (
|
|
>=gnome-extra/cinnamon-translations-6.4
|
|
)
|
|
"
|
|
PDEPEND="
|
|
>=gnome-base/gvfs-0.1.2
|
|
"
|
|
DEPEND="
|
|
${COMMON_DEPEND}
|
|
x11-base/xorg-proto
|
|
"
|
|
BDEPEND="
|
|
>=dev-util/gdbus-codegen-2.80.5-r1
|
|
>=dev-util/intltool-0.40.1
|
|
sys-devel/gettext
|
|
virtual/pkgconfig
|
|
|
|
gtk-doc? (
|
|
dev-util/gtk-doc
|
|
)
|
|
"
|
|
|
|
PATCHES=(
|
|
# Undo the switch to untex as it's not packaged.
|
|
"${FILESDIR}/${PN}-5.0.3-use-detex.patch"
|
|
)
|
|
|
|
DISABLE_AUTOFORMATTING="yes"
|
|
FORCE_PRINT_ELOG="yes"
|
|
DOC_CONTENTS="
|
|
${PN} functionality can be extended by installing other packages.
|
|
|
|
sys-apps/gnome-disk-utility - Mount archive files
|
|
gnome-extra/nemo-fileroller - Extract/Create archive files
|
|
|
|
${PN} search capabilities can be extended through external
|
|
helpers. Install any of the following packages to make
|
|
their associated file types searchable.
|
|
|
|
epub - app-arch/unzip and app-text/html2text
|
|
Image metadata - media-gfx/exif
|
|
MP3 tags - media-sound/id3
|
|
Microsoft Office .doc - app-text/catdoc
|
|
Microsoft Office .xls - dev-python/xlrd
|
|
PDF - app-text/poppler[utils]
|
|
PostScript - app-text/ghostscript-gpl
|
|
TeX - app-text/texlive-core
|
|
"
|
|
|
|
src_prepare() {
|
|
default
|
|
python_fix_shebang files/usr/share/nemo/actions install-scripts
|
|
}
|
|
|
|
src_configure() {
|
|
# defang automagic dependencies
|
|
use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
|
|
|
|
local emesonargs=(
|
|
$(meson_use exif)
|
|
$(meson_use xmp)
|
|
$(meson_use selinux)
|
|
$(meson_use tracker)
|
|
$(meson_use gtk-doc gtk_doc)
|
|
)
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
readme.gentoo_create_doc
|
|
}
|
|
|
|
src_test() {
|
|
virtx meson_src_test
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_pkg_postinst
|
|
gnome2_schemas_update
|
|
readme.gentoo_print_elog
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_pkg_postrm
|
|
gnome2_schemas_update
|
|
}
|