From 71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:52:04 +0100 Subject: gentoo resync : 14.07.2018 --- net-im/skypeforlinux/Manifest | 10 +- net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild | 116 --------------------- net-im/skypeforlinux/skypeforlinux-8.17.0.2.ebuild | 116 --------------------- net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild | 1 - net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild | 1 - net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild | 116 +++++++++++++++++++++ 6 files changed, 120 insertions(+), 240 deletions(-) delete mode 100644 net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild delete mode 100644 net-im/skypeforlinux/skypeforlinux-8.17.0.2.ebuild create mode 100644 net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild (limited to 'net-im/skypeforlinux') diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest index 29697ae32940..3e0ffa3d80a5 100644 --- a/net-im/skypeforlinux/Manifest +++ b/net-im/skypeforlinux/Manifest @@ -1,11 +1,9 @@ -DIST skypeforlinux_8.16.0.4-1.x86_64.rpm 105226365 BLAKE2B 377c4d646740c29efb10e7379b37e4661dd5e4f438e31895b4b32e2dacb922fcde8d6713790266f4532dbd6818a8ffefc5749ead0b495deafa0e85b00a8f4f00 SHA512 e499a3d9bb50695989ad629256a1e974bd9ccb3cfeeb5090cdc4986fca58fcdeb9dd9e969caacc0b42945481fc0f26b91353a0a0c60fe57a44581f6c3e27b1bb -DIST skypeforlinux_8.17.0.2-1.x86_64.rpm 101588489 BLAKE2B 0a92756c403ae8a8b7f9aa4769cecc518988904d3b9cdc5e3cfc11518e2c369816df1c9e9c71e973cbef8200de3ca5be0ea18daa5e75432a0267f2dd09f9ce6c SHA512 121907e15b6b52d3ba35be7162ff0ba66b183d76fc929ca238a698d5035b625fcdf4efb93f2dbfd92fb18dc2aaf0b5bfbebac9fc96bd408478e4549d7e47454a 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 -EBUILD skypeforlinux-8.16.0.4.ebuild 3678 BLAKE2B bf717c61439733f94edb07332df57f42eb3b399e3996e6eace9fec071a637a2fa9565a6af386d26f07ae96bb5b2e66775b6608c4f62d392426d11cbae868ab3b SHA512 68a96a0939ccb7e5e0540f2c02b426d996217aa173cee2750b4edae70b87e22ed5d3a26c1cde219be8e0dde641877a22226d4dc85b022ec2e7369068d40c5cf5 -EBUILD skypeforlinux-8.17.0.2.ebuild 3678 BLAKE2B bf717c61439733f94edb07332df57f42eb3b399e3996e6eace9fec071a637a2fa9565a6af386d26f07ae96bb5b2e66775b6608c4f62d392426d11cbae868ab3b SHA512 68a96a0939ccb7e5e0540f2c02b426d996217aa173cee2750b4edae70b87e22ed5d3a26c1cde219be8e0dde641877a22226d4dc85b022ec2e7369068d40c5cf5 +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 3742 BLAKE2B 01cacb48e6ead708ce6212c8e0f1fccf6e0089101c184956da28ec159b510ec21bad7a020c3017640280471875f77b6837aedd9907ba9b186cdbf31f2bbeec0c SHA512 92738e89e73a59bebc846fc7ff3ce74a786595ba8a6be0ed57e2a1955b70a16208005705f44aefb8e4a191e3373f6f8e8c01b1df937d8de15ad1303a26bc05b8 -EBUILD skypeforlinux-8.22.0.2.ebuild 3743 BLAKE2B 0406a1696fe28e4ff35c8378aa27dfb8c072e524ebe8d71be309bac8aa14734c32cee773aa3e6587f60d65faa53439c0cac1a424d2584ee13e111eb85ce0deb4 SHA512 fe9de873c1eabfa01203430f29d7cad5b86eaf4bcd439b6095ebc6e2ba7f12d75de25dd6266a2bde2ef03d2269c5d74110753c582912ef9706cfdd9596729685 +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 MISC metadata.xml 684 BLAKE2B 90b427ff6ed13fb5046a188fc8476d45989bdb717c1a930e81270164d72b565942ecfd4f08821bcf265ef17fa79f515c205b314abd21b2e7335387ab10e7f93a SHA512 8a7481d0a0b8d453f7748491ebf12d34e1deeb2f0bfc618e27e15a1029bf04814afadc3ca169c12f1e7d199ec0deebcdf6369ccc6c6a41a2add78209c257f8c6 diff --git a/net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild b/net-im/skypeforlinux/skypeforlinux-8.16.0.4.ebuild deleted file mode 100644 index d5e5dfdff41c..000000000000 --- a/net-im/skypeforlinux/skypeforlinux-8.16.0.4.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.17.0.2.ebuild b/net-im/skypeforlinux/skypeforlinux-8.17.0.2.ebuild deleted file mode 100644 index d5e5dfdff41c..000000000000 --- a/net-im/skypeforlinux/skypeforlinux-8.17.0.2.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 index e3c6ee2065b0..d5e5dfdff41c 100644 --- a/net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild +++ b/net-im/skypeforlinux/skypeforlinux-8.20.0.9.ebuild @@ -20,7 +20,6 @@ S="${WORKDIR}" QA_PREBUILT="*" RESTRICT="mirror bindist strip" #299368 -# See bug 642054 about app-crypt/libsecret and MULTILIB_USEDEP. RDEPEND=" app-crypt/libsecret[${MULTILIB_USEDEP}] dev-libs/atk[${MULTILIB_USEDEP}] diff --git a/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild b/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild index b29bf79dd34f..134b0cc2d8af 100644 --- a/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild +++ b/net-im/skypeforlinux/skypeforlinux-8.22.0.2.ebuild @@ -20,7 +20,6 @@ S="${WORKDIR}" QA_PREBUILT="*" RESTRICT="mirror bindist strip" #299368 -# See bug 642054 about app-crypt/libsecret and MULTILIB_USEDEP. RDEPEND=" app-crypt/libsecret[${MULTILIB_USEDEP}] dev-libs/atk[${MULTILIB_USEDEP}] diff --git a/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild b/net-im/skypeforlinux/skypeforlinux-8.25.0.5.ebuild new file mode 100644 index 000000000000..134b0cc2d8af --- /dev/null +++ b/net-im/skypeforlinux/skypeforlinux-8.25.0.5.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