From ce5982cf82f3edf026d47e45afebd4e803c8f1c8 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Mon, 20 Dec 2010 08:25:30 +0100 Subject: [PATCH] add skype-2.0.0.72 --- net-im/skype/Manifest | 3 + net-im/skype/README | 2 + net-im/skype/skype-2.0.0.72.ebuild | 106 +++++++++++++++++++++++++++++ 3 files changed, 111 insertions(+) create mode 100644 net-im/skype/Manifest create mode 100644 net-im/skype/README create mode 100644 net-im/skype/skype-2.0.0.72.ebuild diff --git a/net-im/skype/Manifest b/net-im/skype/Manifest new file mode 100644 index 0000000..1a15bb1 --- /dev/null +++ b/net-im/skype/Manifest @@ -0,0 +1,3 @@ +DIST Skype+-+skype_static-2.0.0.72.tar.bz2 21613953 RMD160 fcadcbb30eeea2e548771984b38884d23d461f7f SHA1 bc69854b5cc83e2e92c91f9a5b7688a00dc7ce7e SHA256 2f37963e8f19c0ec5efd8631abe9633b6551f09dee024460c40fad10728bc580 +EBUILD skype-2.0.0.72.ebuild 2811 RMD160 d33635b7bc90e7f90426c667a523eef1e20a6c47 SHA1 d7d2528b2f4961d0b27d9e8f0c3753f99149aec7 SHA256 3f48d62a2666ae20942994d4237fbe82089b8e2fbb4a42495cb339aa7bb9e653 +MISC README 106 RMD160 1ad06c0f7c065f92869d852c8f885bb361898cb5 SHA1 d93cc1b54ab332166641dff38c0fd7af41141921 SHA256 28042b48c8b1d698a7c6958d66357007cb02d71bef6cacd41f8906d010dbf51c diff --git a/net-im/skype/README b/net-im/skype/README new file mode 100644 index 0000000..916344e --- /dev/null +++ b/net-im/skype/README @@ -0,0 +1,2 @@ +Ebuild stolen from https://jira.skype.com/browse/SCL-454 +Source tarball can be found at this site as well diff --git a/net-im/skype/skype-2.0.0.72.ebuild b/net-im/skype/skype-2.0.0.72.ebuild new file mode 100644 index 0000000..16e373e --- /dev/null +++ b/net-im/skype/skype-2.0.0.72.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/skype/Attic/skype-2.0.0.72.ebuild,v 1.4 2010/02/02 07:25:23 ssuominen dead $ + +EAPI=2 + +inherit eutils qt4 pax-utils + +DESCRIPTION="A P2P-VoiceIP client." +HOMEPAGE="http://www.skype.com/" + +#https://jira.skype.com/secure/attachment/19888/Skype+-+skype_static-2.0.0.72.tar.bz2 +SFILENAME=${PN}_static-${PV}.tar.bz2 +DFILENAME=${P}.tar.bz2 +#SRC_URI="!qt-static? ( http://download.skype.com/linux/${DFILENAME} ) +# qt-static? ( http://download.skype.com/linux/${SFILENAME} )" +SRC_URI="https://jira.skype.com/secure/attachment/19888/Skype+-+${SFILENAME}" + +LICENSE="skype-eula" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="qt-static" +RESTRICT="mirror strip" + +DEPEND="amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2 + >=app-emulation/emul-linux-x86-baselibs-2.1.1 + >=app-emulation/emul-linux-x86-soundlibs-2.4 + app-emulation/emul-linux-x86-compat ) + x86? ( >=sys-libs/glibc-2.4 + >=media-libs/alsa-lib-1.0.11 + x11-libs/libXScrnSaver + x11-libs/libXv + qt-static? ( media-libs/fontconfig + media-libs/freetype + x11-libs/libICE + x11-libs/libSM + x11-libs/libXcursor + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXinerama + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libX11 ) + !qt-static? ( x11-libs/qt-core:4 + x11-libs/qt-gui:4[accessibility,dbus] + x11-libs/qt-dbus:4 + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp ) )" +RDEPEND="${DEPEND}" + +QA_EXECSTACK="opt/skype/skype" + +use qt-static && S="${WORKDIR}/${PN}_static-${PV}" + +src_install() { + # remove mprotect() restrictions for PaX usage - see Bug 100507 + pax-mark m "${S}"/skype + + exeinto /opt/${PN} + doexe skype + fowners root:audio /opt/skype/skype + make_wrapper skype /opt/${PN}/skype /opt/${PN} /opt/${PN} /usr/bin + + insinto /opt/${PN}/sounds + doins sounds/*.wav + + if ! use qt-static ; then + insinto /etc/dbus-1/system.d + newins "${FILESDIR}"/skype.debus.config skype.conf + fi + + insinto /opt/${PN}/lang + # + #There have been some issues were lang is not updated from the .ts files + #but if we have qt we can rebuild it + # + if ! use qt-static ; then + lrelease lang/*.ts + fi + + doins lang/*.qm + + insinto /opt/${PN}/avatars + doins avatars/*.png + + insinto /opt/${PN} + for X in 16 32 48 + do + insinto /usr/share/icons/hicolor/${X}x${X}/apps + newins "${S}"/icons/SkypeBlue_${X}x${X}.png ${PN}.png + done + + dodoc README + + # insinto /usr/share/applications/ + # doins skype.desktop + make_desktop_entry ${PN} "Skype VoIP" ${PN} "Network;InstantMessaging;Telephony" + + #Fix for no sound notifications + dosym /opt/${PN} /usr/share/${PN} + + # TODO: Optional configuration of callto:// in KDE, Mozilla and friends + # doexe skype-callto-handler +} -- 2.39.5