From f625b9919a60a30f1bd860f7d1b2eac183ced593 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 8 Aug 2018 20:11:47 +0100 Subject: gentoo resync : 08.08.2018 --- net-im/skypeforlinux/Manifest | 10 +- net-im/skypeforlinux/skypeforlinux-8.18.0.6.ebuild | 116 --------------------- net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild | 116 --------------------- net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild | 2 +- net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild | 2 +- .../skypeforlinux/skypeforlinux-8.27.0.85.ebuild | 116 +++++++++++++++++++++ 6 files changed, 122 insertions(+), 240 deletions(-) delete mode 100644 net-im/skypeforlinux/skypeforlinux-8.18.0.6.ebuild delete mode 100644 net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild create mode 100644 net-im/skypeforlinux/skypeforlinux-8.27.0.85.ebuild (limited to 'net-im/skypeforlinux') diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest index 3e0ffa3d80a5..5e42fcdb5ccf 100644 --- a/net-im/skypeforlinux/Manifest +++ b/net-im/skypeforlinux/Manifest @@ -1,9 +1,7 @@ -DIST skypeforlinux_8.18.0.6-1.x86_64.rpm 101968899 BLAKE2B 2aa2ed9d290f2f9307cb8db124b407b509a7b8f869805f25293df343978cc4911476a1734563325063bd1e3ef0e9044bc12d864edff838855af1f1b731dd4b39 SHA512 0917875b21b9d77f2299260ea2152b3c14c0b332343cb9832be2a613c875025b77ca782f60987f638d430d005d1bf78f1763fe82b7d91c3146c39e7fafbf1c11 -DIST skypeforlinux_8.20.0.9-1.x86_64.rpm 115781688 BLAKE2B 24f197afeb034e0de6930af40508ada51dd3dc7a24d0a20bc05e65591bbdd8630d767bafcaf739cf70da5531f60ba52f8f51d53fb6f28e6974c4ca1be304585a SHA512 c39c672f03ac340ddd31641e80a780e2e5d624ba60aab3991f96611daedc93b1893fb44155b3895a84b21c04fa9498ba6dc158a40041b17ffc14f3b272eb72e3 DIST skypeforlinux_8.22.0.2-1.x86_64.rpm 96073264 BLAKE2B d5d85ac5ba852ef50286894a4a3ff830e3763eb962f8e40cf4d2b9a9511394113991bd0de6cfe54fb8286c5bbe25ce516a640097f9240a947c7e70c97c7bcec9 SHA512 c628bcde1a467bf69e66bd8fc134bba18a2489d857659d386addb0659492bdc7884c29087411d5728074ae7f108f98be876b6330b1178e8ffe9792662bc9105f DIST skypeforlinux_8.25.0.5-1.x86_64.rpm 90947986 BLAKE2B af778f6bad5440a97186d4ca6ef61c8d22099dd9958aa6176b77cd5bfd8ebced8e914df0a4c71ec5c6a7374af5650fbb2fe86592c0b0512792910f02b4ddacbe SHA512 009a6403a4a3188c9054354629a993b3eff120d45af275b19ddfe4a28c9e9b3de2058913069bf6439e92bf9f087e0b795f35bff1c4e8e313730fa951735d981e -EBUILD skypeforlinux-8.18.0.6.ebuild 3678 BLAKE2B bf717c61439733f94edb07332df57f42eb3b399e3996e6eace9fec071a637a2fa9565a6af386d26f07ae96bb5b2e66775b6608c4f62d392426d11cbae868ab3b SHA512 68a96a0939ccb7e5e0540f2c02b426d996217aa173cee2750b4edae70b87e22ed5d3a26c1cde219be8e0dde641877a22226d4dc85b022ec2e7369068d40c5cf5 -EBUILD skypeforlinux-8.20.0.9.ebuild 3678 BLAKE2B bf717c61439733f94edb07332df57f42eb3b399e3996e6eace9fec071a637a2fa9565a6af386d26f07ae96bb5b2e66775b6608c4f62d392426d11cbae868ab3b SHA512 68a96a0939ccb7e5e0540f2c02b426d996217aa173cee2750b4edae70b87e22ed5d3a26c1cde219be8e0dde641877a22226d4dc85b022ec2e7369068d40c5cf5 -EBUILD skypeforlinux-8.22.0.2.ebuild 3679 BLAKE2B a4ff23a906830aef06275015a5ad598c143189dec6382c6ee1f5db8f3659b98bad54745f7d1fbae7df4b2cb1cf41149fafd9e46343bf23d583c6ba2d2de985ff SHA512 2c2127e18afc15dd199716c95fecbd055c557596e901fd28ecd4f831881abafb60d6146e216aeedfb95965a37af2d3a3b9c2b4a6fc01564fdf76ecdfb866a102 -EBUILD skypeforlinux-8.25.0.5.ebuild 3679 BLAKE2B a4ff23a906830aef06275015a5ad598c143189dec6382c6ee1f5db8f3659b98bad54745f7d1fbae7df4b2cb1cf41149fafd9e46343bf23d583c6ba2d2de985ff SHA512 2c2127e18afc15dd199716c95fecbd055c557596e901fd28ecd4f831881abafb60d6146e216aeedfb95965a37af2d3a3b9c2b4a6fc01564fdf76ecdfb866a102 +DIST skypeforlinux_8.27.0.85-1.x86_64.rpm 94874950 BLAKE2B b96f79e66aa6b4e85abee2cbd7a94500f344c31ad3f0863a0bb5b360646b558823b6c289394f98cbc98da66bdbc7916e27aadbae15a0cb422cef10841cbf4679 SHA512 c30fd1d41c407719b480e2d04d18d192c585f33396f8923667d255309f9dcb7e258a4bc4383808872be728bada7f06d799be8c84930e8154c01771297f5d6fc2 +EBUILD skypeforlinux-8.22.0.2.ebuild 3679 BLAKE2B 6b98754fa280237e7282a69292efb1aeccc7838847c74fb2cef6b7a0966e5b1f8cf55cf782c58bb1c421b60c85779c3c0344655f5b9ef3f62c9557e31f162ec0 SHA512 a670fd3d915bca1e9ce0e8585bf87cc9dd1c24858d2d48e979ab9f57ba1e5539bc29edf3e502b4fbd93389347f5b152909e3f9eadd438e656ac4094b94adf116 +EBUILD skypeforlinux-8.25.0.5.ebuild 3679 BLAKE2B 6b98754fa280237e7282a69292efb1aeccc7838847c74fb2cef6b7a0966e5b1f8cf55cf782c58bb1c421b60c85779c3c0344655f5b9ef3f62c9557e31f162ec0 SHA512 a670fd3d915bca1e9ce0e8585bf87cc9dd1c24858d2d48e979ab9f57ba1e5539bc29edf3e502b4fbd93389347f5b152909e3f9eadd438e656ac4094b94adf116 +EBUILD skypeforlinux-8.27.0.85.ebuild 3679 BLAKE2B 6b98754fa280237e7282a69292efb1aeccc7838847c74fb2cef6b7a0966e5b1f8cf55cf782c58bb1c421b60c85779c3c0344655f5b9ef3f62c9557e31f162ec0 SHA512 a670fd3d915bca1e9ce0e8585bf87cc9dd1c24858d2d48e979ab9f57ba1e5539bc29edf3e502b4fbd93389347f5b152909e3f9eadd438e656ac4094b94adf116 MISC metadata.xml 684 BLAKE2B 90b427ff6ed13fb5046a188fc8476d45989bdb717c1a930e81270164d72b565942ecfd4f08821bcf265ef17fa79f515c205b314abd21b2e7335387ab10e7f93a SHA512 8a7481d0a0b8d453f7748491ebf12d34e1deeb2f0bfc618e27e15a1029bf04814afadc3ca169c12f1e7d199ec0deebcdf6369ccc6c6a41a2add78209c257f8c6 diff --git a/net-im/skypeforlinux/skypeforlinux-8.18.0.6.ebuild b/net-im/skypeforlinux/skypeforlinux-8.18.0.6.ebuild deleted file mode 100644 index d5e5dfdff41c..000000000000 --- a/net-im/skypeforlinux/skypeforlinux-8.18.0.6.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MULTILIB_COMPAT=( abi_x86_64 ) - -inherit eutils gnome2-utils pax-utils rpm multilib-build xdg-utils - -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" - -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 -*" -IUSE="pax_kernel" - -S="${WORKDIR}" -QA_PREBUILT="*" -RESTRICT="mirror bindist strip" #299368 - -RDEPEND=" - app-crypt/libsecret[${MULTILIB_USEDEP}] - dev-libs/atk[${MULTILIB_USEDEP}] - dev-libs/expat[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/nspr[${MULTILIB_USEDEP}] - dev-libs/nss[${MULTILIB_USEDEP}] - gnome-base/gconf:2[${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] - virtual/ttf-fonts - x11-libs/cairo[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] - x11-libs/gtk+:2[${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/libxkbfile[${MULTILIB_USEDEP}] - x11-libs/pango[${MULTILIB_USEDEP}]" - -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=/usr/!Exec=${EPREFIX}/opt/!" \ - -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 "${D}"/opt || die - - into /opt - 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 ${P} usr/share/doc/skypeforlinux - - doicon usr/share/pixmaps/skypeforlinux.png - - # compat symlink for the autostart desktop file - dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux - - 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 - pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux - pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node - ewarn "You have set USE=pax_kernel meaning that you intend to run" - ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" - ewarn "the ${PN} binary itself and this *may* lead to breakage! If" - ewarn "you suspect that ${PN} is being broken by this modification," - ewarn "please open a bug." - fi -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild b/net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild deleted file mode 100644 index d5e5dfdff41c..000000000000 --- a/net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -MULTILIB_COMPAT=( abi_x86_64 ) - -inherit eutils gnome2-utils pax-utils rpm multilib-build xdg-utils - -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" - -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 -*" -IUSE="pax_kernel" - -S="${WORKDIR}" -QA_PREBUILT="*" -RESTRICT="mirror bindist strip" #299368 - -RDEPEND=" - app-crypt/libsecret[${MULTILIB_USEDEP}] - dev-libs/atk[${MULTILIB_USEDEP}] - dev-libs/expat[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/nspr[${MULTILIB_USEDEP}] - dev-libs/nss[${MULTILIB_USEDEP}] - gnome-base/gconf:2[${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] - virtual/ttf-fonts - x11-libs/cairo[${MULTILIB_USEDEP}] - x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] - x11-libs/gtk+:2[${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/libxkbfile[${MULTILIB_USEDEP}] - x11-libs/pango[${MULTILIB_USEDEP}]" - -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=/usr/!Exec=${EPREFIX}/opt/!" \ - -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 "${D}"/opt || die - - into /opt - 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 ${P} usr/share/doc/skypeforlinux - - doicon usr/share/pixmaps/skypeforlinux.png - - # compat symlink for the autostart desktop file - dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux - - 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 - pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux - pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node - ewarn "You have set USE=pax_kernel meaning that you intend to run" - ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" - ewarn "the ${PN} binary itself and this *may* lead to breakage! If" - ewarn "you suspect that ${PN} is being broken by this modification," - ewarn "please open a bug." - fi -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} diff --git a/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild b/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild index 134b0cc2d8af..fe787944cfb9 100644 --- a/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild +++ b/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" 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 -*" +KEYWORDS="-* ~amd64" IUSE="pax_kernel" S="${WORKDIR}" diff --git a/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild b/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild index 134b0cc2d8af..fe787944cfb9 100644 --- a/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild +++ b/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" 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 -*" +KEYWORDS="-* ~amd64" IUSE="pax_kernel" S="${WORKDIR}" diff --git a/net-im/skypeforlinux/skypeforlinux-8.27.0.85.ebuild b/net-im/skypeforlinux/skypeforlinux-8.27.0.85.ebuild new file mode 100644 index 000000000000..fe787944cfb9 --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-8.27.0.85.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MULTILIB_COMPAT=( abi_x86_64 ) + +inherit desktop gnome2-utils pax-utils rpm multilib-build xdg-utils + +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" + +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" +IUSE="pax_kernel" + +S="${WORKDIR}" +QA_PREBUILT="*" +RESTRICT="mirror bindist strip" #299368 + +RDEPEND=" + app-crypt/libsecret[${MULTILIB_USEDEP}] + dev-libs/atk[${MULTILIB_USEDEP}] + dev-libs/expat[${MULTILIB_USEDEP}] + dev-libs/glib:2[${MULTILIB_USEDEP}] + dev-libs/nspr[${MULTILIB_USEDEP}] + dev-libs/nss[${MULTILIB_USEDEP}] + gnome-base/gconf:2[${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] + virtual/ttf-fonts + x11-libs/cairo[${MULTILIB_USEDEP}] + x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] + x11-libs/gtk+:2[${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/libxkbfile[${MULTILIB_USEDEP}] + x11-libs/pango[${MULTILIB_USEDEP}]" + +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=/usr/!Exec=${EPREFIX}/opt/!" \ + -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 "${D}"/opt || die + + into /opt + 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 ${P} usr/share/doc/skypeforlinux + + doicon usr/share/pixmaps/skypeforlinux.png + + # compat symlink for the autostart desktop file + dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux + + 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 + pax-mark -m "${ED%/}"/opt/skypeforlinux/skypeforlinux + pax-mark -m "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node + ewarn "You have set USE=pax_kernel meaning that you intend to run" + ewarn "${PN} under a PaX enabled kernel. To do so, we must modify" + ewarn "the ${PN} binary itself and this *may* lead to breakage! If" + ewarn "you suspect that ${PN} is being broken by this modification," + ewarn "please open a bug." + fi +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} -- cgit v1.2.3