Package-Manager: Portage-2.3.8, Repoman-2.3.3
This commit is contained in:
Mario Fetka 2017-12-01 11:14:43 +01:00
parent 0eead7a92f
commit 95c70358d7
5 changed files with 459 additions and 0 deletions

View File

@ -0,0 +1,11 @@
# ChangeLog for net-im/skypeforlinux
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*skypeforlinux-8.11.76.3 (01 Dec 2017)
*skypeforlinux-8.11.76.8 (01 Dec 2017)
*skypeforlinux-8.12.76.2 (01 Dec 2017)
01 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.11.76.3.ebuild,
+skypeforlinux-8.11.76.8.ebuild, +skypeforlinux-8.12.76.2.ebuild:
bUMP

View File

@ -1,9 +1,16 @@
DIST skypeforlinux_5.4.0.1-1.x86_64.rpm 72058201 SHA256 7acb723ba220ba2a2776f98a021a47223ead0a7959f33201ec6d4e9145024702 SHA512 706d33b1ea5c0b9e7aa1799b06ac465f5aafc29627ef4b3660598b0f1762986ba217af0903af1da41f2478ca5011adf9070fe7a331ecfcb028f81ca839b03ccb WHIRLPOOL 83a4fe4931432d7a5fce7231e008011905a41fb6f28240a42c355bc27d673033eecbddfc100da053a9efbea5c1d5c89161e1aab88394ab775a16ebf6848ae819 DIST skypeforlinux_5.4.0.1-1.x86_64.rpm 72058201 SHA256 7acb723ba220ba2a2776f98a021a47223ead0a7959f33201ec6d4e9145024702 SHA512 706d33b1ea5c0b9e7aa1799b06ac465f5aafc29627ef4b3660598b0f1762986ba217af0903af1da41f2478ca5011adf9070fe7a331ecfcb028f81ca839b03ccb WHIRLPOOL 83a4fe4931432d7a5fce7231e008011905a41fb6f28240a42c355bc27d673033eecbddfc100da053a9efbea5c1d5c89161e1aab88394ab775a16ebf6848ae819
DIST skypeforlinux_5.5.0.1-1.x86_64.rpm 72080362 SHA256 f32db8a5858a9eb8dde3ca7b29b920649bb2422649ccb58ffee77ff73d81a919 SHA512 73ae5e8443e8e7110a74456d336933d1fe1873009189e764e31904b7c82b3c6b0a6603e527d455b08e780a73b5c1f7794faea5de8179cb600114561ffbb5bcd9 WHIRLPOOL 467d1442ff1d8b0ed8756d1f82dae32d3f182c20f84e944835a564537dff34000504216a445f1ebc9e9ac19553e21646b212baec34154c5b08e6a664059a42bb DIST skypeforlinux_5.5.0.1-1.x86_64.rpm 72080362 SHA256 f32db8a5858a9eb8dde3ca7b29b920649bb2422649ccb58ffee77ff73d81a919 SHA512 73ae5e8443e8e7110a74456d336933d1fe1873009189e764e31904b7c82b3c6b0a6603e527d455b08e780a73b5c1f7794faea5de8179cb600114561ffbb5bcd9 WHIRLPOOL 467d1442ff1d8b0ed8756d1f82dae32d3f182c20f84e944835a564537dff34000504216a445f1ebc9e9ac19553e21646b212baec34154c5b08e6a664059a42bb
DIST skypeforlinux_8.10.0.4-1.x86_64.rpm 88459236 SHA256 9bb79929290818adfda668db22b6d02dd59f2a824c909a846c0556ad6bec93d7 SHA512 e90cfcc579bf6d11e123f1f7e970f8300b8456fbfe37f7ecf80f5fdebd0e03e15fb7d1e9e3ec8462e57598f137b315203618cc173166ab4f1aa25b08683ff647 WHIRLPOOL d3b4557d1a1dc4c4a7aa18910f24a5a68cf5d95501fdaa18764754f6fa6b595078a4d42c0be4a843d6057b06e57dcbe15ce6e6944d5f48e1060a58629c53cda1 DIST skypeforlinux_8.10.0.4-1.x86_64.rpm 88459236 SHA256 9bb79929290818adfda668db22b6d02dd59f2a824c909a846c0556ad6bec93d7 SHA512 e90cfcc579bf6d11e123f1f7e970f8300b8456fbfe37f7ecf80f5fdebd0e03e15fb7d1e9e3ec8462e57598f137b315203618cc173166ab4f1aa25b08683ff647 WHIRLPOOL d3b4557d1a1dc4c4a7aa18910f24a5a68cf5d95501fdaa18764754f6fa6b595078a4d42c0be4a843d6057b06e57dcbe15ce6e6944d5f48e1060a58629c53cda1
DIST skypeforlinux_8.11.76.3-1.x86_64.rpm 89708092 SHA256 789527ad1543cba2ce5181f01a11ef2959eebaf05b8f4637d0ecfae6c436934f SHA512 f42deea630d467b4531a4583a6e3a9bf5c73515a01921f3e0f3ff89761a816c733a10a2e87482c017dca98d749ddd7918997a15a6daed185e13fbce11e4c0eb5 WHIRLPOOL 7dc460e435922be43a1d8c3e5511d52716fe45c05b54f0fd52153e19a1770a6c4796f4418377b01c39ac74e305d41858f6628b1c1851df949e21161842881455
DIST skypeforlinux_8.11.76.8-1.x86_64.rpm 94529510 SHA256 670c9b6db69183e7416e89249f10151c4607bb024c752280e1e7b7a6b89a8fd1 SHA512 8f0c0290c62cc85313aa99b9162f2ee425fd565cd52604368df12e692782b8179197e23077f61eb16b3277b70e919e582cc19473b3ad58212bec2762aff4fd96 WHIRLPOOL f888a458998c42239777abf3f23f6252f79aee150ac9daf04c025e8ed7ac5c04d4b5a088bc5304818078d0190244185b14da15acf37969f66043cb27f997228d
DIST skypeforlinux_8.12.76.2-1.x86_64.rpm 102604767 SHA256 2b0384c2e878c253df67f73706998fa162b5bc42cee81cf86de427fd1154494c SHA512 2a8df5020ef763075ead1350ca1ce0d456fc387f723f41b82395c080294046d57599471c69af99f27ea9691c1ce365d65df23d22c4244483f054ce32fff0fc5c WHIRLPOOL ef02477d184f507770668b17f80c4837af26f9f8b0e375aeb44f5ee4d9c7111785852f2acd8d1399d0d753f799e0e356ba065825726daf3527f7d3c1b7bc24f3
DIST skypeforlinux_8.9.0.1-1.x86_64.rpm 88025393 SHA256 f68c73ff3ec6668a0b792910dab01ab1e2a66b3c150c3fe066ccfaccfd6e0363 SHA512 7411df2b992d30f740b3dcb57d4645f7c3b5dffce129807ad2c0499d2ef494d2cad71752fa80625576cd7b674e18d5386d84c52ce6ef02a8c071a734b45a6690 WHIRLPOOL fb3f6fedd08946433acd2a472d6968e4223ad6de58cca479d9d3c94cb7b0f6f5c44bb97a52187e9ddc157b85d3388db09ca34e52a914bb2470a5b627f598c8d3 DIST skypeforlinux_8.9.0.1-1.x86_64.rpm 88025393 SHA256 f68c73ff3ec6668a0b792910dab01ab1e2a66b3c150c3fe066ccfaccfd6e0363 SHA512 7411df2b992d30f740b3dcb57d4645f7c3b5dffce129807ad2c0499d2ef494d2cad71752fa80625576cd7b674e18d5386d84c52ce6ef02a8c071a734b45a6690 WHIRLPOOL fb3f6fedd08946433acd2a472d6968e4223ad6de58cca479d9d3c94cb7b0f6f5c44bb97a52187e9ddc157b85d3388db09ca34e52a914bb2470a5b627f598c8d3
EBUILD skypeforlinux-5.4.0.1.ebuild 3449 SHA256 40a4d7309e802015977483b68426acc55bc590726b879d67356430383684123b SHA512 2e8cb9616010aa713d0b7b77abb94b19b876aead22665a58621cd00d927fb2c0ea9c3443be352e04763e7436adc37dee73f47d330242cab5d2334ded442180c9 WHIRLPOOL a353b7bcdfcd5fc733ae8a552097bcf792bb3a4fad0bfbb4afef73bd6b70bd7d1e3acf34cbbae3c7b443fb34ac39f919774f05d4438a5ce2e83d183109a1a5bb EBUILD skypeforlinux-5.4.0.1.ebuild 3449 SHA256 40a4d7309e802015977483b68426acc55bc590726b879d67356430383684123b SHA512 2e8cb9616010aa713d0b7b77abb94b19b876aead22665a58621cd00d927fb2c0ea9c3443be352e04763e7436adc37dee73f47d330242cab5d2334ded442180c9 WHIRLPOOL a353b7bcdfcd5fc733ae8a552097bcf792bb3a4fad0bfbb4afef73bd6b70bd7d1e3acf34cbbae3c7b443fb34ac39f919774f05d4438a5ce2e83d183109a1a5bb
EBUILD skypeforlinux-5.5.0.1.ebuild 3615 SHA256 de4564a6bad6034008b3b9e395aa4cd98071a59a2738122825ec9ad0790c82a8 SHA512 b83858622d06584dff1f5a73384e79ae1e27c06764a7bcb76e29866a00d7efc410c1dd58ab56228b1072a444a17845b11c7bbb8e25d12b2b01e2687cb868cf51 WHIRLPOOL 1451c06ebb3560e261b6f4c5ba25d64aed404a742caf01aee46dcff01a47d77ef2c2d0d7b67e794a8916cb2ea977694f7023d501ed39b0d7118e032b027c5fdd EBUILD skypeforlinux-5.5.0.1.ebuild 3615 SHA256 de4564a6bad6034008b3b9e395aa4cd98071a59a2738122825ec9ad0790c82a8 SHA512 b83858622d06584dff1f5a73384e79ae1e27c06764a7bcb76e29866a00d7efc410c1dd58ab56228b1072a444a17845b11c7bbb8e25d12b2b01e2687cb868cf51 WHIRLPOOL 1451c06ebb3560e261b6f4c5ba25d64aed404a742caf01aee46dcff01a47d77ef2c2d0d7b67e794a8916cb2ea977694f7023d501ed39b0d7118e032b027c5fdd
EBUILD skypeforlinux-8.10.0.4.ebuild 5444 SHA256 e5837e63e279f1e34b86835ecdeeebfa0c12c2439344ecdb15fe3dece71ddcfd SHA512 69c4879393e8ade25bcffdc4d7e44aa57d8a3ae9ce34bbc909e1b9391f17242c86f8ad198a170b658a58d65219e91a39e0ef267fe0d42420b378c082d6a1bb58 WHIRLPOOL b339d7a97ceaf012fec460f82f2a6536b4949dbcb1d7d696ca0c4ce92f8477a9018565430a9ae235e6c77ed5968079ed1cb910471737d38173cd6b3bc3297b5d EBUILD skypeforlinux-8.10.0.4.ebuild 5444 SHA256 e5837e63e279f1e34b86835ecdeeebfa0c12c2439344ecdb15fe3dece71ddcfd SHA512 69c4879393e8ade25bcffdc4d7e44aa57d8a3ae9ce34bbc909e1b9391f17242c86f8ad198a170b658a58d65219e91a39e0ef267fe0d42420b378c082d6a1bb58 WHIRLPOOL b339d7a97ceaf012fec460f82f2a6536b4949dbcb1d7d696ca0c4ce92f8477a9018565430a9ae235e6c77ed5968079ed1cb910471737d38173cd6b3bc3297b5d
EBUILD skypeforlinux-8.11.76.3.ebuild 5516 SHA256 4f1bb2d939574cd507c1eb4827dc3aea3b6b39bc0775a51fdffa235ccae08119 SHA512 ce881b5e5ee0fdd3344a38d8f252ca36c087ecabfaed05300164fa15c2a56d4e44ca8e8c8a7216c12118150f8a5ebdf9f632f8e86727c1bdad98c53969d9dee1 WHIRLPOOL b95aaf3c4482f7bd8bc1a43f3a55e80770daf4ae5880ff801aa79048709020ac2aa111162b0596064abf5e10c603cb35433f246db1a5c39774c0b7cbc0bf73c3
EBUILD skypeforlinux-8.11.76.8.ebuild 5648 SHA256 bd21611165993049ba9eae0be42496a0579f321795ddb505c42355f90da7e018 SHA512 112340267992ddb9ce6052599b0cd65846b5027bb62f6e0dd44871629ccafece9bea01d302d790fbaf9cac9326700b29a63d2e97d52f4e93d2e6875ecc56fab3 WHIRLPOOL ef0c92a17c6a585ec818897ba43fd39aa14c55a59eb0219ff146d20b4b3692368a2dce0af6861b0f2d74dca177270b6d6b6613852bc4227a7d8366dc9fa063bc
EBUILD skypeforlinux-8.12.76.2.ebuild 5648 SHA256 bd21611165993049ba9eae0be42496a0579f321795ddb505c42355f90da7e018 SHA512 112340267992ddb9ce6052599b0cd65846b5027bb62f6e0dd44871629ccafece9bea01d302d790fbaf9cac9326700b29a63d2e97d52f4e93d2e6875ecc56fab3 WHIRLPOOL ef0c92a17c6a585ec818897ba43fd39aa14c55a59eb0219ff146d20b4b3692368a2dce0af6861b0f2d74dca177270b6d6b6613852bc4227a7d8366dc9fa063bc
EBUILD skypeforlinux-8.9.0.1.ebuild 5444 SHA256 e5837e63e279f1e34b86835ecdeeebfa0c12c2439344ecdb15fe3dece71ddcfd SHA512 69c4879393e8ade25bcffdc4d7e44aa57d8a3ae9ce34bbc909e1b9391f17242c86f8ad198a170b658a58d65219e91a39e0ef267fe0d42420b378c082d6a1bb58 WHIRLPOOL b339d7a97ceaf012fec460f82f2a6536b4949dbcb1d7d696ca0c4ce92f8477a9018565430a9ae235e6c77ed5968079ed1cb910471737d38173cd6b3bc3297b5d EBUILD skypeforlinux-8.9.0.1.ebuild 5444 SHA256 e5837e63e279f1e34b86835ecdeeebfa0c12c2439344ecdb15fe3dece71ddcfd SHA512 69c4879393e8ade25bcffdc4d7e44aa57d8a3ae9ce34bbc909e1b9391f17242c86f8ad198a170b658a58d65219e91a39e0ef267fe0d42420b378c082d6a1bb58 WHIRLPOOL b339d7a97ceaf012fec460f82f2a6536b4949dbcb1d7d696ca0c4ce92f8477a9018565430a9ae235e6c77ed5968079ed1cb910471737d38173cd6b3bc3297b5d
MISC ChangeLog 393 SHA256 d380c9744208602ff0674f57b15706f7b4793f574f344efa08082d5ac935d9db SHA512 703015fc831c5ab1a6bdcad8baf8e11c0a278bf69a3660c20da66345b3fc2c67e339e621a1b1c96007e6cf6e2fb9133bd6d51561cc3f020002d136186e332fa2 WHIRLPOOL 0e0da8fec220243efbda248e6fcdacf52b5a47874675a35e01a0ba723a42c0938e55142607ecd93253f0960ce7b19ba7627be7947aec0e56096cc36a632bae64
MISC metadata.xml 795 SHA256 9761bc0707d9fc9a0e4cc9bb1801186f4e85059dbfb632985f39c6ec50d7c2ff SHA512 7c97ba77885e397a00e855ffca0dd1f2aa4e1b9c5780650cac09a729ecf4cce07599179c67b86ace1d7e1cd47eafe3a397e9487b42de56e96a86ffb15947abf9 WHIRLPOOL 0dfb8521b022bbc4b0d549a8f41232e3b2438f871c2c30fa72d0fe31a6fe1652d433c79c0f696eab358940e29d279660bc01ef70fbb17b2d5c74cd67da545046 MISC metadata.xml 795 SHA256 9761bc0707d9fc9a0e4cc9bb1801186f4e85059dbfb632985f39c6ec50d7c2ff SHA512 7c97ba77885e397a00e855ffca0dd1f2aa4e1b9c5780650cac09a729ecf4cce07599179c67b86ace1d7e1cd47eafe3a397e9487b42de56e96a86ffb15947abf9 WHIRLPOOL 0dfb8521b022bbc4b0d549a8f41232e3b2438f871c2c30fa72d0fe31a6fe1652d433c79c0f696eab358940e29d279660bc01ef70fbb17b2d5c74cd67da545046

View File

@ -0,0 +1,145 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MULTILIB_COMPAT=( abi_x86_64 )
inherit 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"
SRC_URI="https://repo.skype.com/rpm/unstable/${PN}_${PV}-1.x86_64.rpm"
LICENSE="no-source-code 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=opt/skypeforlinux/skypeforlinux
QA_TEXTRELS=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
QA_EXECSTACK=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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/bin/skypeforlinux!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \
-e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
-e "/OnlyShowIn=.*/d" \
-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/keyboard-layout/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
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/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release/cld.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding/node_sqlite3.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 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
local res
# no 1024 at the moment
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 -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux
pax-mark -Cm "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,148 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MULTILIB_COMPAT=( abi_x86_64 )
inherit 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"
SRC_URI="https://repo.skype.com/rpm/unstable/${PN}_${PV}-1.x86_64.rpm"
LICENSE="no-source-code 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=opt/skypeforlinux/skypeforlinux
QA_TEXTRELS=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
QA_EXECSTACK=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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/bin/skypeforlinux!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \
-e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
-e "/OnlyShowIn=.*/d" \
-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/keyboard-layout/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
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/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release/cld.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding/node_sqlite3.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 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
# compat symlink for skypeforlinux bin autocreate autostart desktop file
dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
doicon usr/share/pixmaps/skypeforlinux.png
local res
# no 1024 at the moment
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 -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux
pax-mark -Cm "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}

View File

@ -0,0 +1,148 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MULTILIB_COMPAT=( abi_x86_64 )
inherit 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"
SRC_URI="https://repo.skype.com/rpm/unstable/${PN}_${PV}-1.x86_64.rpm"
LICENSE="no-source-code 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=opt/skypeforlinux/skypeforlinux
QA_TEXTRELS=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
QA_EXECSTACK=opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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/bin/skypeforlinux!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \
-e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \
-e "/OnlyShowIn=.*/d" \
-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/keyboard-layout/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node
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/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/cld/build/Release/cld.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/@paulcbetts/spellchecker/build/Release/spellchecker.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/*.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/sqlite3/lib/binding/node_sqlite3.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 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
# compat symlink for skypeforlinux bin autocreate autostart desktop file
dosym ../../opt/bin/skypeforlinux usr/bin/skypeforlinux
doicon usr/share/pixmaps/skypeforlinux.png
local res
# no 1024 at the moment
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 -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux
pax-mark -Cm "${ED%/}"/opt/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/slimcore.node
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() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_mimeinfo_database_update
}