public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-im/skype-dbus-mock/, profiles/arch/amd64/x32/
@ 2019-09-20 18:19 Joonas Niilola
  0 siblings, 0 replies; only message in thread
From: Joonas Niilola @ 2019-09-20 18:19 UTC (permalink / raw
  To: gentoo-commits

commit:     3a021a2ec6a9d5f74b11d7faad0b15130b53bee2
Author:     Matthew Schultz <mattsch <AT> gmail <DOT> com>
AuthorDate: Thu Apr 11 19:08:59 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Sep 20 18:17:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a021a2e

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 <AT> gmail.com>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-im/skype-dbus-mock/Manifest                    |  1 +
 net-im/skype-dbus-mock/metadata.xml                | 12 +++++++
 .../skype-dbus-mock-0_pre20181011.ebuild           | 40 ++++++++++++++++++++++
 profiles/arch/amd64/x32/package.mask               |  1 +
 4 files changed, 54 insertions(+)

diff --git a/net-im/skype-dbus-mock/Manifest b/net-im/skype-dbus-mock/Manifest
new file mode 100644
index 00000000000..891c4cd4f5f
--- /dev/null
+++ b/net-im/skype-dbus-mock/Manifest
@@ -0,0 +1 @@
+DIST skype-dbus-mock-0_pre20181011.tar.gz 2851 BLAKE2B fbb2d476d6a0402ea6ac70198d0aac87c24d7c9815fe27b03631625df10f24c71634f7f22eec2256869746cbf9d308ab3275380a755455ebbbb23ad2adcdd5a2 SHA512 d566a91cb279fe07626744e6196e3dcf7b36a5535bb8fe3cd7e6245d874bdf82f7948bd7f476f73c72f972894ee250d89a9eb055fdf55af9cbe97b1b05e39e16

diff --git a/net-im/skype-dbus-mock/metadata.xml b/net-im/skype-dbus-mock/metadata.xml
new file mode 100644
index 00000000000..fbd99da1cd1
--- /dev/null
+++ b/net-im/skype-dbus-mock/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>mattsch@gmail.com</email>
+		<name>Matthew Schultz</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+</pkgmetadata>

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 00000000000..bac70bb7926
--- /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"
+}

diff --git a/profiles/arch/amd64/x32/package.mask b/profiles/arch/amd64/x32/package.mask
index 02af1528e42..459b9d6098f 100644
--- a/profiles/arch/amd64/x32/package.mask
+++ b/profiles/arch/amd64/x32/package.mask
@@ -18,6 +18,7 @@ dev-libs/amdgpu-pro-opencl
 # Broken multilib dependencies.
 net-im/mattermost-desktop-bin
 net-im/skypeforlinux
+net-im/skype-dbus-mock
 net-im/slack-bin
 
 # Pawel Hajdan jr <phajdan.jr@gentoo.org> (2012-10-07)


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-20 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-20 18:19 [gentoo-commits] repo/gentoo:master commit in: net-im/skype-dbus-mock/, profiles/arch/amd64/x32/ Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox