diff options
Diffstat (limited to 'net-misc/warpinator/warpinator-1.8.6.ebuild')
-rw-r--r-- | net-misc/warpinator/warpinator-1.8.6.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/net-misc/warpinator/warpinator-1.8.6.ebuild b/net-misc/warpinator/warpinator-1.8.6.ebuild new file mode 100644 index 00000000..549ec530 --- /dev/null +++ b/net-misc/warpinator/warpinator-1.8.6.ebuild @@ -0,0 +1,57 @@ +# 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/refs/tags/master.lmde6.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/ifaddr + dev-python/qrcode + dev-python/netaddr + dev-python/netifaces + dev-python/pynacl + dev-python/setproctitle + >=dev-python/python3-xapp-1.6.0 +" +RDEPEND="${DEPEND}" +BDEPEND=" + >=dev-build/meson-0.45.0 +" + +S="${WORKDIR}/${PN}-master.lmde6" + +PATCHES=( + "${FILESDIR}/${PN}-bundled-grpcio-cython3.patch" + "${FILESDIR}/${PN}-dbus-fallback.patch" +) + +src_configure() { + local emesonargs=( + -Dinclude-firewall-mod=true + -Dbundle-zeroconf=true + -Dbundle-landlock=true + -Dbundle-grpc=true + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postinst + gnome2_schemas_update +} |