This commit is contained in:
Mario Fetka
2022-08-23 12:41:36 +02:00
parent 812553d3a0
commit c846ee1e1d
53 changed files with 110 additions and 1216 deletions

View File

@@ -1,23 +0,0 @@
# ChangeLog for net-im/skypeforlinux
# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*skypeforlinux-8.13.76.6 (18 Dec 2017)
18 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.13.76.6.ebuild,
-skypeforlinux-8.13.76.4.ebuild:
Bump
*skypeforlinux-8.13.76.4 (12 Dec 2017)
12 Dec 2017; Mario Fetka <mario@gentoo.org> +skypeforlinux-8.13.76.4.ebuild,
-skypeforlinux-8.12.76.2.ebuild:
Bump
*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,4 +0,0 @@
DIST skypeforlinux_8.58.76.57-1.x86_64.rpm 107296853 BLAKE2B 715cc61289d925acc6a67b37d5a980e128f4ee8310f4a2d7c906859a7e511f84852186db5550836520f65552e8bdd8d452e093875e9976e816362193e934fea5 SHA512 538b95c5164b1ba4fc8eeb2189cfc1404a4d96a57af53a3b0391ff3bf2a2a60c958e9a941c5171d5029f6522d2023d5f15e32e717862ff884e558d3fdabd2c7f
EBUILD skypeforlinux-8.58.76.57.ebuild 5514 BLAKE2B 04b61c9fb69596ba0fb1fc6e05c25ebf994d267391c11da965481dbbc3866467a42769e832b4a1a827927c604482289b46b285482fa4849628c652f946b1fdc7 SHA512 6837008d41bcb1fc1a23ad24e89f9ecf54721f749e17559f2af66a118a3c5b867505de9932bfce4ff08a6a939f05f05ab6ee58a2144772abdd58c497a824a5b7
MISC ChangeLog 717 BLAKE2B 62e7b63422d35e011a1d799f960e65026d1bca64361d1520e0123c928386be2926e7e1c5ea20e2fcce0f6c930cbcd1d23755ad0adc660256ba01bc4cfe5f483a SHA512 aeef06e239237b851ee67ace8c1fb8b822f5e39a8b90cd3335fa696336b1c68913780ee0f5642001116fa65a2cc54cd125840fb376f0721bf51094d6301f6403
MISC metadata.xml 795 BLAKE2B da666b2ac257898116bb8fcf60bf27947b2261f8f718e6bd9cdf3e2c35e38954659be9499675a425cea0f2a9309fb2ada85b54684651f25463140b7f4e89fde9 SHA512 7c97ba77885e397a00e855ffca0dd1f2aa4e1b9c5780650cac09a729ecf4cce07599179c67b86ace1d7e1cd47eafe3a397e9487b42de56e96a86ffb15947abf9

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>shentino@gmail.com</email>
<name>Raymond Jennings</name>
</maintainer>
<maintainer type="person">
<email>krlgrudzinski@gmail.com</email>
<name>Karol Grudziński</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="pax_kernel">Triggers a paxmarking of the main skype binary</flag>
</use>
<longdescription>Skype is for doing things together, whenever you're apart. Skype's text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription>
</pkgmetadata>

View File

@@ -1,149 +0,0 @@
# 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/desktop-idle/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/desktop-idle/build/Release/desktopIdle.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-ssid/build/Release/electron-ssid.node
insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-utility/build/Release
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/electron-utility/build/Release/electron_utility.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/slimcore/bin
doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/slimcore/bin/*.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
exeinto /opt/skypeforlinux/swiftshader
doexe usr/share/skypeforlinux/swiftshader/*.so
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
}