diff options
author | 2019-04-11 14:08:59 -0500 | |
---|---|---|
committer | 2019-09-20 21:17:51 +0300 | |
commit | 3a021a2ec6a9d5f74b11d7faad0b15130b53bee2 (patch) | |
tree | 769490543be0cbb9c5a87fc78423e23cb13a8167 /net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild | |
parent | www-servers/nginx-unit: Upstream release 1.11.0 (diff) | |
download | gentoo-3a021a2ec6a9d5f74b11d7faad0b15130b53bee2.tar.gz gentoo-3a021a2ec6a9d5f74b11d7faad0b15130b53bee2.tar.bz2 gentoo-3a021a2ec6a9d5f74b11d7faad0b15130b53bee2.zip |
net-im/skype-dbus-mock: mock system dbus so skype works without it
Bug: https://bugs.gentoo.org/669538
Signed-off-by: Matthew Schultz <mattsch@gmail.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild')
-rw-r--r-- | net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild b/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild new file mode 100644 index 000000000000..bac70bb79264 --- /dev/null +++ b/net-im/skype-dbus-mock/skype-dbus-mock-0_pre20181011.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) + +inherit python-r1 + +GIT_COMMIT="3a9e2882ac5c0ad6be3c5cb5c7da008b4cfa51da" +DESCRIPTION="Mocked systemd dbus interface for skype 8.30+" +HOMEPAGE="https://github.com/maelnor/skype-dbus-mock" +SRC_URI="https://github.com/maelnor/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS}" +RDEPEND="${DEPEND} + >=net-im/skypeforlinux-8.30 + dev-python/dbus-python[${PYTHON_USEDEP}] + !sys-apps/systemd + !sys-auth/elogind" + +S=${WORKDIR}/${PN}-${GIT_COMMIT} + +src_install() { + newbin skype-dbus-mock.py skype-dbus-mock + insinto /usr/share/dbus-1/system-services + doins org.freedesktop.login1.service + insinto /usr/share/dbus-1/system.d + doins skype-dbus-mock.conf +} + +pkg_postinst() { + ewarn "Restart dbus service to apply changes" +} |