diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-04 22:28:33 +0100 |
commit | a978c074e4272bb901fbe4a10de0a7b2af574f17 (patch) | |
tree | 8c764c1cc0576389ce22abd317bceba71ea5732d /net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild | |
parent | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff) |
gentoo resync : 04.05.2021
Diffstat (limited to 'net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild')
-rw-r--r-- | net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild b/net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild new file mode 100644 index 000000000000..700f245f2103 --- /dev/null +++ b/net-misc/gnome-remote-desktop/gnome-remote-desktop-40.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7..9} ) +inherit gnome.org gnome2-utils meson python-any-r1 systemd xdg + +DESCRIPTION="Remote desktop daemon for GNOME using pipewire" +HOMEPAGE="https://gitlab.gnome.org/GNOME/gnome-remote-desktop" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+rdp +vnc" +REQUIRED_USE="|| ( rdp vnc )" +RESTRICT="test" # Tests run xvfb-run directly + +DEPEND=" + x11-libs/cairo + >=dev-libs/glib-2.68:2 + >=media-video/pipewire-0.3.0:0/0.3 + app-crypt/libsecret + x11-libs/libnotify + rdp? ( + >=net-misc/freerdp-2.3:=[server] + >=sys-fs/fuse-3.9.1 + >=x11-libs/libxkbcommon-1.0.0 + ) + vnc? ( + net-libs/libvncserver + ) +" +RDEPEND="${DEPEND} + x11-wm/mutter[screencast] +" +BDEPEND=" + ${PYTHON_DEPS} + dev-util/gdbus-codegen + dev-util/glib-utils + virtual/pkgconfig +" + +src_prepare() { + default + sed -i -e '/systemd_dep/d' meson.build || die +} + +src_configure() { + local emesonargs=( + $(meson_use rdp) + $(meson_use vnc) + -Dsystemd_user_unit_dir="$(systemd_get_userunitdir)" + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |