From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A3B3D58973 for ; Tue, 2 Feb 2016 22:43:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7B8E21C022; Tue, 2 Feb 2016 22:43:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3EE6F21C022 for ; Tue, 2 Feb 2016 22:43:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B7010340CE2 for ; Tue, 2 Feb 2016 22:43:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B33A18F1 for ; Tue, 2 Feb 2016 22:43:03 +0000 (UTC) From: "Amy Winston" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Winston" Message-ID: <1454452902.08c27e4668323f40f037392913b18f2b98f71d68.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/skype/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/skype/skype-4.3.0.37-r5.ebuild X-VCS-Directories: net-im/skype/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Winston X-VCS-Revision: 08c27e4668323f40f037392913b18f2b98f71d68 X-VCS-Branch: master Date: Tue, 2 Feb 2016 22:43:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5e1a9acb-d114-4b5f-bd60-5aaffbc513f8 X-Archives-Hash: e23a519830ddb42d61e9d56ac3fc512d commit: 08c27e4668323f40f037392913b18f2b98f71d68 Author: Amy Winston gentoo org> AuthorDate: Tue Feb 2 22:41:42 2016 +0000 Commit: Amy Winston gentoo org> CommitDate: Tue Feb 2 22:41:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08c27e46 net-im/skype: Add old revision bug #546746. Package-Manager: portage-2.2.26 net-im/skype/skype-4.3.0.37-r5.ebuild | 121 ++++++++++++++++++++++++++++++++++ 1 file changed, 121 insertions(+) diff --git a/net-im/skype/skype-4.3.0.37-r5.ebuild b/net-im/skype/skype-4.3.0.37-r5.ebuild new file mode 100644 index 0000000..80afaf7 --- /dev/null +++ b/net-im/skype/skype-4.3.0.37-r5.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils gnome2-utils pax-utils + +DESCRIPTION="P2P Internet Telephony (VoiceIP) client" +HOMEPAGE="http://www.skype.com/" +SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2" + +LICENSE="skype-4.0.0.7-copyright BSD MIT RSA W3C regexp-UofT no-source-code" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="apulse pax_kernel plasma +pulseaudio selinux" +REQUIRED_USE="apulse? ( !pulseaudio )" + +QA_PREBUILT=opt/bin/${PN} +RESTRICT="mirror bindist strip" #299368 + +RDEPEND=" + virtual/ttf-fonts + dev-qt/qtcore:4[abi_x86_32(-)] + dev-qt/qtdbus:4[abi_x86_32(-)] + dev-qt/qtgui:4[accessibility,abi_x86_32(-)] + dev-qt/qtwebkit:4[abi_x86_32(-)] + media-libs/alsa-lib[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libXScrnSaver[abi_x86_32(-)] + x11-libs/libXv[abi_x86_32(-)] + apulse? ( media-sound/apulse[abi_x86_32(-)] ) + plasma? ( dev-libs/sni-qt[abi_x86_32(-)] ) + pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] ) + selinux? ( sec-policy/selinux-skype )" + +src_prepare() { + epatch "${FILESDIR}/${P}-desktop.patch" +} + +src_compile() { + if type -P lrelease >/dev/null; then + lrelease lang/*.ts || die + fi + rm -f lang/*.ts || die +} + +src_install() { + + if use apulse; then + into /opt + newbin ${PN} ${PN}-bin + dobin "${FILESDIR}/${PN}" + fowners root:audio /opt/bin/${PN} /opt/bin/${PN}-bin + else + into /opt + dobin ${PN} + fowners root:audio /opt/bin/${PN} + fi + + insinto /etc/dbus-1/system.d + doins ${PN}.conf + + insinto /usr/share/skype + doins -r avatars lang sounds + + dodoc README + + local res + for res in 16 32 48 64 96 128 256; do + newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png + done + + domenu skype.desktop + + if use pax_kernel; then + if use apulse; then + pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die + else + pax-mark Cm "${ED}"/opt/bin/${PN} || die + fi + 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 + + echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN} + doenvd "${T}"/99${PN} #430142 +} + +pkg_preinst() { + gnome2_icon_savelist + + rm -rf "${EROOT}"/usr/share/${PN} #421165 +} + +pkg_postinst() { + gnome2_icon_cache_update + + # https://bugs.gentoo.org/360815 + elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by" + elog "media-libs/libv4l package and \"README\" document of this package." + + if ! use pulseaudio && ! use apulse; then + ewarn "ALSA support was removed from Skype" + ewarn "consider installing media-sound/pulseaudio" + ewarn "or media-sound/apulse for pulseaudio emulation" + ewarn "otherwise sound will not work for you." + ewarn "These packages can be pulled in by setting" + ewarn "appropriate USE flags for net-im/skype." + fi + elog "If skype is segfaulting for you with gcc-5+ please consider " + elog "instalation of dev-qt/qtwebkit[-exceptions]" +} + +pkg_postrm() { + gnome2_icon_cache_update +}