From 7931534db1cc5a115bb7dbe571753db202f50a45 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 17 Apr 2023 22:23:45 +0100 Subject: net-im/skypeforlinux : microsoft are d*cks (https://bugs.gentoo.org/904352) --- .../md5-cache/net-im/skypeforlinux-8.96.0.408-r1 | 17 ++++ metadata/pkg_desc_index | 1 + net-im/skypeforlinux/Manifest | 1 + .../skypeforlinux-8.96.0.408-r1.ebuild | 100 +++++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 metadata/md5-cache/net-im/skypeforlinux-8.96.0.408-r1 create mode 100644 net-im/skypeforlinux/Manifest create mode 100644 net-im/skypeforlinux/skypeforlinux-8.96.0.408-r1.ebuild diff --git a/metadata/md5-cache/net-im/skypeforlinux-8.96.0.408-r1 b/metadata/md5-cache/net-im/skypeforlinux-8.96.0.408-r1 new file mode 100644 index 00000000..22a21fe7 --- /dev/null +++ b/metadata/md5-cache/net-im/skypeforlinux-8.96.0.408-r1 @@ -0,0 +1,17 @@ +BDEPEND=app-arch/rpm2targz +DEFINED_PHASES=install postinst postrm preinst prepare setup unpack +DESCRIPTION=Instant messaging client, with support for audio and video +EAPI=8 +HOMEPAGE=https://www.skype.com/ +IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info +INHERIT=chromium-2 desktop pax-utils rpm multilib-build xdg +IUSE=abi_x86_64 +KEYWORDS=-* ~amd64 +LICENSE=Skype-TOS MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1 +RDEPEND=app-crypt/libsecret[abi_x86_64(-)?] app-accessibility/at-spi2-core:2[abi_x86_64(-)?] dev-libs/expat[abi_x86_64(-)?] dev-libs/glib:2[abi_x86_64(-)?] dev-libs/nspr[abi_x86_64(-)?] dev-libs/nss[abi_x86_64(-)?] media-libs/alsa-lib[abi_x86_64(-)?] media-libs/fontconfig:1.0[abi_x86_64(-)?] media-libs/freetype:2[abi_x86_64(-)?] media-libs/libv4l[abi_x86_64(-)?] net-print/cups[abi_x86_64(-)?] sys-apps/dbus[abi_x86_64(-)?] sys-devel/gcc[cxx] sys-libs/glibc virtual/ttf-fonts x11-libs/cairo[abi_x86_64(-)?] x11-libs/gdk-pixbuf:2[abi_x86_64(-)?] x11-libs/gtk+:3[abi_x86_64(-)?] x11-libs/libX11[abi_x86_64(-)?] x11-libs/libXScrnSaver[abi_x86_64(-)?] x11-libs/libXcomposite[abi_x86_64(-)?] x11-libs/libXcursor[abi_x86_64(-)?] x11-libs/libXdamage[abi_x86_64(-)?] x11-libs/libXext[abi_x86_64(-)?] x11-libs/libXfixes[abi_x86_64(-)?] x11-libs/libXi[abi_x86_64(-)?] x11-libs/libXrandr[abi_x86_64(-)?] x11-libs/libXrender[abi_x86_64(-)?] x11-libs/libXtst[abi_x86_64(-)?] x11-libs/libxcb[abi_x86_64(-)?] x11-libs/libxkbcommon[abi_x86_64(-)?] x11-libs/libxkbfile[abi_x86_64(-)?] x11-libs/pango[abi_x86_64(-)?] +REQUIRED_USE=|| ( abi_x86_64 ) +RESTRICT=mirror bindist strip +SLOT=0 +SRC_URI=https://repo.skype.com/rpm/stable/skypeforlinux_8.96.0.408-1.x86_64.rpm +_eclasses_=chromium-2 93690d770dc2e27deaa89794e2f9fe3f desktop 021728fdc1b03b36357dbc89489e0f0d estack 055c42df72f76a4f45ec92b35e83cd56 linux-info c4f1201b96a8a2c1f3b86cc8b2c71c91 multibuild bddcb51b74f4a76724ff7cf8e7388869 multilib d1408425c7c4a7669b9b17735404b693 multilib-build e8aed98bd43dbd25694310a660ad562c out-of-source-utils 1a9007554652a6e627edbccb3c25a439 pax-utils 91d47e5d20627c717aa878b9167c62a8 rpm f73e907469f65e52192f110dec72dce0 toolchain-funcs 14a8ae365191b518fad51caad7a08f3e xdg 4a14c5c24f121e7da66e5aab4a168c6e xdg-utils baea6080dd821f5562d715887954c9d3 +_md5_=565ff6de92b0ae3c6fc6c21078376c57 diff --git a/metadata/pkg_desc_index b/metadata/pkg_desc_index index 074ff336..cf1943ef 100644 --- a/metadata/pkg_desc_index +++ b/metadata/pkg_desc_index @@ -35,6 +35,7 @@ media-libs/portsmf 239-r1: The Tenacity fork of PortSMF, a Standard MIDI File li media-sound/cantata 2.5.0-r10: Featureful and configurable Qt client for the music player daemon (MPD) media-tv/sopcast 3.2.6-r3: SopCast free P2P Internet TV binary media-video/guvcview 2.0.6-r10: Simple Qt5 or GTK+3 interface for capturing and viewing video from v4l2 devices +net-im/skypeforlinux 8.96.0.408-r1: Instant messaging client, with support for audio and video net-misc/warpinator 1.4.5: Share files across the LAN net-print/lexmark-upd-ppd 1.0.0.20210304-r1: Lexmark universal printer driver PPDs net-wireless/broadcom-sta 6.30.223.271-r4: Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest new file mode 100644 index 00000000..24f20f52 --- /dev/null +++ b/net-im/skypeforlinux/Manifest @@ -0,0 +1 @@ +DIST skypeforlinux_8.96.0.408-1.x86_64.rpm 124598879 BLAKE2B b950bff81552852491f24a18b9bbe072383e381843d567a78e75ded36bf4e17389ef4e9103c47821545c256f00cbf00d9a0dbee31723250fca3b679d9ef0cdc6 SHA512 e140e9b1b916d8cbf2f4717705808df3d37cf2459c412168fc732dd2705413ff32aeb3af201c0f914c716b8da2d6adc45c0948ff17c3ecdb143b360583becb26 diff --git a/net-im/skypeforlinux/skypeforlinux-8.96.0.408-r1.ebuild b/net-im/skypeforlinux/skypeforlinux-8.96.0.408-r1.ebuild new file mode 100644 index 00000000..4dc00a3d --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-8.96.0.408-r1.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit chromium-2 desktop pax-utils rpm multilib-build xdg + +DESCRIPTION="Instant messaging client, with support for audio and video" +HOMEPAGE="https://www.skype.com/" +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" +S="${WORKDIR}" + +LICENSE="Skype-TOS MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 Boost-1.0 ISC CC-BY-SA-3.0 CC0-1.0 openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" +SLOT="0" +KEYWORDS="-* ~amd64" + +QA_PREBUILT="*" +RESTRICT="mirror bindist strip" #299368 + +RDEPEND=" + app-crypt/libsecret[${MULTILIB_USEDEP}] + app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}] + dev-libs/expat[${MULTILIB_USEDEP}] + dev-libs/glib:2[${MULTILIB_USEDEP}] + dev-libs/nspr[${MULTILIB_USEDEP}] + dev-libs/nss[${MULTILIB_USEDEP}] + media-libs/alsa-lib[${MULTILIB_USEDEP}] + media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] + media-libs/freetype:2[${MULTILIB_USEDEP}] + media-libs/libv4l[${MULTILIB_USEDEP}] + net-print/cups[${MULTILIB_USEDEP}] + sys-apps/dbus[${MULTILIB_USEDEP}] + sys-devel/gcc[cxx] + sys-libs/glibc + virtual/ttf-fonts + x11-libs/cairo[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] + x11-libs/gtk+:3[${MULTILIB_USEDEP}] + x11-libs/libX11[${MULTILIB_USEDEP}] + x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] + x11-libs/libXcomposite[${MULTILIB_USEDEP}] + x11-libs/libXcursor[${MULTILIB_USEDEP}] + x11-libs/libXdamage[${MULTILIB_USEDEP}] + x11-libs/libXext[${MULTILIB_USEDEP}] + x11-libs/libXfixes[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXrandr[${MULTILIB_USEDEP}] + x11-libs/libXrender[${MULTILIB_USEDEP}] + x11-libs/libXtst[${MULTILIB_USEDEP}] + x11-libs/libxcb[${MULTILIB_USEDEP}] + x11-libs/libxkbcommon[${MULTILIB_USEDEP}] + x11-libs/libxkbfile[${MULTILIB_USEDEP}] + x11-libs/pango[${MULTILIB_USEDEP}]" + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + rpm_src_unpack ${A} +} + +src_prepare() { + default + sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ + -i usr/bin/skypeforlinux || die + sed -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ + -e "/^OnlyShowIn=/d" \ + -i usr/share/applications/skypeforlinux.desktop || die +} + +src_install() { + dodir /opt + cp -a usr/share/skypeforlinux "${ED}"/opt || die + + # remove chrome-sandbox binary, users should use kernel namespaces + # https://bugs.gentoo.org/692692#c18 + rm "${ED}"/opt/skypeforlinux/chrome-sandbox || die + + dobin usr/bin/skypeforlinux + + dodoc usr/share/skypeforlinux/*.html + dodoc -r usr/share/doc/skypeforlinux/. + # symlink required for the "Help->3rd Party Notes" menu entry (otherwise frozen skype -> xdg-open) + dosym ${PF} usr/share/doc/skypeforlinux + + doicon usr/share/pixmaps/skypeforlinux.png + + local res + for res in 16 32 256 512; do + newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png + done + + domenu usr/share/applications/skypeforlinux.desktop + + pax-mark -m "${ED}"/opt/skypeforlinux/skypeforlinux + pax-mark -m "${ED}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node +} -- cgit v1.2.3