diff --git a/net-im/skype/Manifest b/net-im/skype/Manifest new file mode 100644 index 00000000..95737437 --- /dev/null +++ b/net-im/skype/Manifest @@ -0,0 +1,3 @@ +DIST skype-2.1.0.47.tar.bz2 19748117 RMD160 7b5a3255b6a1db7c622355793ec3e582d9ff2777 SHA1 a0c7918767f01e79c37d4bd4dc085855c111994b SHA256 f4db42b21138ca9d424409f880dd311faa0f5e60003f5bbb82d6006dcfd61971 +DIST skype_static-2.1.0.47.tar.bz2 27323809 RMD160 6e63f345a40bf06d51a9d9d7698bf61992ac93c8 SHA1 aa9a2b6b8bc164ffbaa0141bc0ba7de470792921 SHA256 56b0fa6185661b187a409dc09b99ada3e01fa82aaae5f1048f8a698aa6f86e81 +EBUILD skype-2.1.0.47.ebuild 2510 RMD160 47768998b127dab92551031f7bce243e0e623fb4 SHA1 a6ea5ff9d564f4147e5445803e797fa2bd0abc2c SHA256 7cb6c64a4af5b5a41f4a9386fd33179c0917aafad010b3432a23bc0aff4d3bff diff --git a/net-im/skype/skype-2.1.0.47.ebuild b/net-im/skype/skype-2.1.0.47.ebuild new file mode 100644 index 00000000..35bf7392 --- /dev/null +++ b/net-im/skype/skype-2.1.0.47.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/skype/skype-2.0.0.72.ebuild,v 1.3 2009/04/14 09:38:40 armin76 Exp $ + +EAPI=2 + +inherit eutils qt4 pax-utils + +DESCRIPTION="A P2P-VoiceIP client." +HOMEPAGE="http://www.skype.com/" + +S_P="${PN}_static-${PV}" +SRC_URI=" + !qt-static? ( http://download.${PN}.com/linux/${P}.tar.bz2 ) + qt-static? ( http://download.${PN}.com/linux/${S_P}.tar.bz2 ) +" + +LICENSE="skype-eula" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt-static" +RESTRICT="mirror strip" + +DEPEND="media-fonts/freefont-ttf + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-2.1.1 + app-emulation/emul-linux-x86-compat + >=app-emulation/emul-linux-x86-soundlibs-2.4 + >=app-emulation/emul-linux-x86-xlibs-1.2 + ) + x86? ( + >=media-libs/alsa-lib-1.0.11 + >=sys-libs/glibc-2.4 + 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-gui:4[accessibility,dbus] + x11-libs/qt-dbus:4 + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp + ) + ) +" +RDEPEND="${DEPEND}" + +QA_EXECSTACK="opt/${PN}/${PN}" + +use qt-static && S="${WORKDIR}/${S_P}" + +src_install() { + exeinto /opt/${PN} + doexe ${PN} || die + fowners root:audio /opt/${PN}/${PN} + make_wrapper ${PN} /opt/${PN}/${PN} /opt/${PN} /opt/${PN} /usr/bin + + insinto /opt/${PN}/sounds + doins sounds/*.wav || die + + if ! use qt-static ; then + insinto /etc/dbus-1/system.d + doins ${PN}.conf || die + 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 || die + + insinto /opt/${PN}/avatars + doins avatars/*.png || die + + 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 || die + done + + dodoc README || die + + # 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 +}