network/skypeforlinux: Updated for version 8.33.0.41.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2018-10-28 03:51:16 +01:00 committed by Willy Sudiarto Raharjo
parent 7a3a0ebb95
commit a632c548b4
No known key found for this signature in database
GPG key ID: 887B8374D7333381
5 changed files with 55 additions and 4 deletions

View file

@ -0,0 +1,4 @@
[D-BUS Service]
Name=org.freedesktop.login1
Exec=/usr/bin/skype-dbus-mock
User=root

View file

@ -0,0 +1,12 @@
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="org.freedesktop.login1"/>
</policy>
<policy context="default">
<allow send_destination="org.freedesktop.login1"/>
<allow send_interface="org.freedesktop.login1.Manager"/>
</policy>
</busconfig>

View file

@ -0,0 +1,27 @@
#!/usr/bin/env python
import os
from gi.repository import GLib
import dbus
import dbus.service
import dbus.types
import dbus.mainloop.glib
class FakeLoginManager(dbus.service.Object):
@dbus.service.method("org.freedesktop.login1.Manager",
in_signature='ssss', out_signature='h')
def Inhibit(self, what, who, why, mode):
r, w = os.pipe()
return dbus.types.UnixFd(w)
if __name__ == '__main__':
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
system_bus = dbus.SystemBus()
bus_name = dbus.service.BusName("org.freedesktop.login1", system_bus)
obj = FakeLoginManager(system_bus, '/org/freedesktop/login1')
mainloop = GLib.MainLoop()
mainloop.run()

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=skypeforlinux
VERSION=${VERSION:-8.29.0.50}
VERSION=${VERSION:-8.33.0.41}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -67,6 +67,14 @@ find -L . \
rm -rf $PKG/opt
# https://github.com/maelnor/skype-dbus-mock
install -Dm 644 $CWD/skype-dbus-mock/skype-dbus-mock.conf \
$PKG/usr/share/dbus-1/system.d/skype-dbus-mock.conf
install -Dm 644 $CWD/skype-dbus-mock/org.freedesktop.login1.service \
$PKG/usr/share/dbus-1/system-services/org.freedesktop.login1.service
install -Dm 755 $CWD/skype-dbus-mock/skype-dbus-mock.py \
$PKG/usr/bin/skype-dbus-mock
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/skypeforlinux/LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/skypeforlinux/* $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="skypeforlinux"
VERSION="8.29.0.50"
VERSION="8.33.0.41"
HOMEPAGE="https://www.skype.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.29.0.50_amd64.deb"
MD5SUM_x86_64="1a1b1c532efcaa35d3cb901c6fc7c2d0"
DOWNLOAD_x86_64="https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_8.33.0.41_amd64.deb"
MD5SUM_x86_64="9698b1b2f2ff054b9a8047eef4e309d3"
REQUIRES="%README%"
MAINTAINER="Mario Preksavec"
EMAIL="mario at slackware dot hr"