blob: c8fa29c19ba2fa3f371bf15eb677b3a35a7cfa67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
}
|