From 2b04987c400e82834639f9ffb2efc86a63d3f0c3 Mon Sep 17 00:00:00 2001 From: Karol GrudziƄski Date: Sat, 4 Feb 2017 15:32:03 +0100 Subject: net-im/skypeforlinux: Version bump to 1.17.0.1 Gentoo-bug: 608218 Closes: https://github.com/gentoo/gentoo/pull/3802 --- net-im/skypeforlinux/Manifest | 1 + net-im/skypeforlinux/skypeforlinux-1.17.0.1.ebuild | 112 +++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 net-im/skypeforlinux/skypeforlinux-1.17.0.1.ebuild (limited to 'net-im') diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest index 6ac904af21dc..7e4e0d67c616 100644 --- a/net-im/skypeforlinux/Manifest +++ b/net-im/skypeforlinux/Manifest @@ -1 +1,2 @@ DIST skypeforlinux_1.16.0.1-1.x86_64.rpm 63509620 SHA256 9a20934dfaa7680fcd2ff2ea6087074cc703fb5c21fd243750ce36dce1ed46b2 SHA512 b9a32381c5a3deaf2355c7803f3d39dab20a1173383f3c952f077db7880aaba302ae3e67e6793b1b1b9459e119734b095b971142cc818a9e7dfe6370b4a8df28 WHIRLPOOL 6f066af386323dd2fc4ab6e590d5c296928f4a0e580efaed5d155a28c59ccfc629ec23de8db29c52f71d5ae966cfa117d4933359a6a6e39d3f6257f383f0a1c8 +DIST skypeforlinux_1.17.0.1-1.x86_64.rpm 63527308 SHA256 3eb614781bb55d3e29097192bf4bab3ab1df4215d63e0c610375fce361d95c20 SHA512 2d11c1bae5c13812b61c6aa91d215faefe0c0920f4c9d69741906f1d47db501f0f15dabcfe1675c0439fc855eff6a258b2104fb9b213d0fadcd5432b03be6ca4 WHIRLPOOL 3f91650271579e810ddf3e7c1988ae75ecdc782f5ebddf69dff7ddc824dd98dfcec2c8211ffdbad53e021fe9959a9beec64c9966f57e565ba8157c17110bb888 diff --git a/net-im/skypeforlinux/skypeforlinux-1.17.0.1.ebuild b/net-im/skypeforlinux/skypeforlinux-1.17.0.1.ebuild new file mode 100644 index 000000000000..1063c37616dc --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-1.17.0.1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils rpm + +DESCRIPTION="P2P Internet Telephony (VoiceIP) client" +HOMEPAGE="https://www.skype.com/" +SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" + +LICENSE="Skype-TOS no-source-code" +SLOT="0" +KEYWORDS="~amd64" +IUSE="pax_kernel" + +S="${WORKDIR}" +QA_PREBUILT=opt/skypeforlinux/skypeforlinux +RESTRICT="mirror bindist strip" #299368 + +RDEPEND="dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + gnome-base/libgnome-keyring + media-libs/alsa-lib + media-libs/fontconfig:1.0 + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-devel/gcc[cxx] + sys-libs/glibc + virtual/ttf-fonts + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango" + +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!^Exec=.*!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \ + -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ + -i usr/share/applications/skypeforlinux.desktop || die +} + +src_install() { + insinto /opt/skypeforlinux/locales + doins usr/share/skypeforlinux/locales/*.pak + + insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release + doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node + + insinto /opt/skypeforlinux/resources + doins usr/share/skypeforlinux/resources/*.asar + + insinto /opt/skypeforlinux + doins usr/share/skypeforlinux/*.pak + doins usr/share/skypeforlinux/*.bin + doins usr/share/skypeforlinux/*.dat + doins usr/share/skypeforlinux/version + exeinto /opt/skypeforlinux + doexe usr/share/skypeforlinux/*.so + doexe usr/share/skypeforlinux/skypeforlinux + + into /opt + dobin usr/bin/skypeforlinux + + dodoc -r 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 + + if use pax_kernel; then + paxctl -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux || die + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi +} + +pkg_postinst() { + einfo "See https://support.skype.com/en/faq/FA34656" + einfo "for more information about Skype for Linux Alpha." +} -- cgit v1.2.3-18-g5258