diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-16 13:39:53 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-16 13:39:53 +0100 |
commit | fbb388239ea04cda238f144fd47a8dfa18846ebf (patch) | |
tree | 6cc39e9c177c4caf1d3ae8afbf4c6d1e06f4a815 | |
parent | f6904b46546571858876b98f8c2e801a8edf61a6 (diff) |
net-im/skypeforlinux : drop ebuild, use gentoo one
-rw-r--r-- | net-im/skypeforlinux/Manifest | 1 | ||||
-rw-r--r-- | net-im/skypeforlinux/files/skypeforlinux-8.11-proxy.patch | 31 | ||||
-rw-r--r-- | net-im/skypeforlinux/skypeforlinux-8.28.0.41-r1.ebuild | 117 |
3 files changed, 0 insertions, 149 deletions
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest deleted file mode 100644 index 324de265..00000000 --- a/net-im/skypeforlinux/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST skypeforlinux_8.28.0.41-1.x86_64.rpm 95603274 BLAKE2B 97698ab5dd7187471323e62ed43b6df8d1271eb4a7c2312bf4e271e31e193427888253610ca1132df61010e4260bafc73b8602945ba15fad1b89750aaab547e5 SHA512 11ebed4e273ab755da605be023642ed37eb6e66d48923fbfec2bf4fda40f64a0d89764016bfb4a3818bdcac9582d5510076ad83e1e50dfaeec35a2f9aa405eda diff --git a/net-im/skypeforlinux/files/skypeforlinux-8.11-proxy.patch b/net-im/skypeforlinux/files/skypeforlinux-8.11-proxy.patch deleted file mode 100644 index 39208a3e..00000000 --- a/net-im/skypeforlinux/files/skypeforlinux-8.11-proxy.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -burN usr.old/bin/skypeforlinux usr/bin/skypeforlinux ---- a/usr.old/bin/skypeforlinux 2017-12-09 03:43:34.598533060 +0200 -+++ b/usr/bin/skypeforlinux 2017-12-09 03:48:47.582759089 +0200 -@@ -3,10 +3,24 @@ - SCRIPT=$(readlink -f "$0") - USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..) - -+export HTTP_PROXY="${HTTP_PROXY:-}" -+export http_proxy="${http_proxy:-}" -+ -+PROXY_SERVICE="" -+[ -n "${HTTP_PROXY}" ] && { PROXY_SERVICE="${HTTP_PROXY}"; } -+[ -n "${http_proxy}" ] && { PROXY_SERVICE="${http_proxy}"; } -+ -+PROXY_SERVICE_ARGUMENT="" -+[ -n "${PROXY_SERVICE}" ] && { PROXY_SERVICE_ARGUMENT=" HTTP_PROXY=${PROXY_SERVICE} HTTPS_PROXY=${PROXY_SERVICE} http_proxy=${PROXY_SERVICE} https_proxy=${PROXY_SERVICE} "; } -+ - SKYPE_PATH=/opt/skypeforlinux/skypeforlinux --SKYPE_LOGS="$HOME/.config/skypeforlinux/logs" -+SKYPE_LOGS="${HOME}/.config/skypeforlinux/logs" -+ -+if [[ ! -e "${SKYPE_LOGS}" ]] ; then -+ mkdir -p "${SKYPE_LOGS}" -+fi - --mkdir -p $SKYPE_LOGS -+export ${PROXY_SERVICE_ARGUMENT} - --nohup "$SKYPE_PATH" --executed-from="$(pwd)" --pid=$$ "$@" > "$SKYPE_LOGS/skype-startup.log" 2>&1 & -+nohup "${SKYPE_PATH}" --executed-from="$(pwd)" --pid=$$ "$@" > "${SKYPE_LOGS}/skype-startup.log" 2>&1 & - diff --git a/net-im/skypeforlinux/skypeforlinux-8.28.0.41-r1.ebuild b/net-im/skypeforlinux/skypeforlinux-8.28.0.41-r1.ebuild deleted file mode 100644 index abacf28d..00000000 --- a/net-im/skypeforlinux/skypeforlinux-8.28.0.41-r1.ebuild +++ /dev/null @@ -1,117 +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 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 - epatch "${FILESDIR}"/"${PN}"-8.11-proxy.patch -} - -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 - 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 - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update - gnome2_icon_cache_update -} |