summaryrefslogtreecommitdiff
path: root/net-misc/warpinator/warpinator-1.4.5.ebuild
blob: fa4de0df37705669ccd0d828be2920daef3ee885 (plain)
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
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Share files across the LAN"
HOMEPAGE="https://github.com/linuxmint/warpinator"
SRC_URI="https://github.com/linuxmint/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

inherit meson gnome2-utils xdg

DEPEND="
	dev-libs/gobject-introspection
	dev-python/cryptography
	>=dev-python/grpcio-1.16.0
	dev-python/netifaces
	dev-python/pynacl
	>=dev-python/python3-xapp-1.6.0
	dev-python/setproctitle
	>=dev-python/zeroconf-0.27.0
"
RDEPEND="${DEPEND}"
BDEPEND="
	>=dev-util/meson-0.45.0
	>=dev-python/grpcio-tools-1.14.0
	>=dev-python/protobuf-python-3.6.1
"

src_configure() {
	local emesonargs=(
		-Dbundle-zeroconf=false
	)
	meson_src_configure
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update
}

pkg_postrm() {
	xdg_pkg_postinst
	gnome2_schemas_update
}