aboutsummaryrefslogtreecommitdiff
path: root/gnome-extra/nemo-python/nemo-python-5.2.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/nemo-python/nemo-python-5.2.0.ebuild')
-rw-r--r--gnome-extra/nemo-python/nemo-python-5.2.0.ebuild52
1 files changed, 52 insertions, 0 deletions
diff --git a/gnome-extra/nemo-python/nemo-python-5.2.0.ebuild b/gnome-extra/nemo-python/nemo-python-5.2.0.ebuild
new file mode 100644
index 0000000..c8fa29c
--- /dev/null
+++ b/gnome-extra/nemo-python/nemo-python-5.2.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit meson python-r1
+
+DESCRIPTION="Nemo python integration"
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/nemo-extensions"
+SRC_URI="https://github.com/linuxmint/nemo-extensions/archive/5.2.0.tar.gz -> nemo-extensions-5.2.0.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="doc exif +nls selinux tracker xmp"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ >=dev-libs/glib-2.14.0
+ >=gnome-extra/nemo-2.0.0
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+S="${WORKDIR}/nemo-extensions-5.2.0/${PN}"
+
+pkg_setup() {
+ python_setup
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use exif)
+ $(meson_use tracker)
+ $(meson_use xmp)
+ $(meson_use selinux)
+ $(meson_use doc gtk_doc)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome3_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome3_schemas_update
+}