49 lines
974 B
Bash
49 lines
974 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
|
|
inherit meson python-single-r1
|
|
|
|
DESCRIPTION="Python bindings for the Nemo file manager"
|
|
HOMEPAGE="https://github.com/linuxmint/nemo-extensions/tree/master/nemo-python"
|
|
SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/nemo-extensions-${PV}/${PN}"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="gtk-doc"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="
|
|
${PYTHON_DEPS}
|
|
$(python_gen_cond_dep '
|
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
|
')
|
|
>=dev-libs/glib-2.0:2
|
|
gnome-extra/nemo
|
|
x11-libs/gtk+:3
|
|
"
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="
|
|
gtk-doc? ( dev-util/gtk-doc )
|
|
virtual/pkgconfig
|
|
"
|
|
|
|
src_configure() {
|
|
local emesonargs=(
|
|
$(meson_use gtk-doc gtk_doc)
|
|
)
|
|
|
|
meson_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
meson_src_install
|
|
|
|
keepdir /usr/share/nemo-python/extensions
|
|
}
|