diff options
-rw-r--r-- | net-im/skype/ChangeLog | 8 | ||||
-rw-r--r-- | net-im/skype/files/digest-skype-2.0.0.13 | 6 | ||||
-rw-r--r-- | net-im/skype/skype-2.0.0.13.ebuild | 127 |
3 files changed, 140 insertions, 1 deletions
diff --git a/net-im/skype/ChangeLog b/net-im/skype/ChangeLog index 0c64a5652c49..819bbde52ae8 100644 --- a/net-im/skype/ChangeLog +++ b/net-im/skype/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-im/skype # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.80 2007/10/06 22:48:54 humpback Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.81 2007/11/07 18:26:38 humpback Exp $ + +*skype-2.0.0.13 (07 Nov 2007) + + 07 Nov 2007; Gustavo Felisberto <humpback@gentoo.org> + +skype-2.0.0.13.ebuild: + New beta version. Gets packaged masked. 06 Oct 2007; Gustavo Felisberto <humpback@gentoo.org> skype-1.4.0.118.ebuild: diff --git a/net-im/skype/files/digest-skype-2.0.0.13 b/net-im/skype/files/digest-skype-2.0.0.13 new file mode 100644 index 000000000000..e9015904df67 --- /dev/null +++ b/net-im/skype/files/digest-skype-2.0.0.13 @@ -0,0 +1,6 @@ +MD5 ec1c8b5d5d2879909462e90af07a7010 skype-2.0.0.13.tar.bz2 14711357 +RMD160 99a3a7684039cbabd2f4fd87ed5cd1d361a8f4b5 skype-2.0.0.13.tar.bz2 14711357 +SHA256 fcdb3abc14fc730a194125e5856b096ba73d2b4bbb551edccd1a0edf0f14790e skype-2.0.0.13.tar.bz2 14711357 +MD5 5890a138f92aaefdf65275c919864a82 skype_static-2.0.0.13.tar.bz2 21245847 +RMD160 7addb95041b9af97b6ada615a1d53d5861c299a8 skype_static-2.0.0.13.tar.bz2 21245847 +SHA256 a4984d637e3c076ee007122badebf5391c617246de0625478ed1a1db1de6c33c skype_static-2.0.0.13.tar.bz2 21245847 diff --git a/net-im/skype/skype-2.0.0.13.ebuild b/net-im/skype/skype-2.0.0.13.ebuild new file mode 100644 index 000000000000..74833b02c66f --- /dev/null +++ b/net-im/skype/skype-2.0.0.13.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2007 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.13.ebuild,v 1.1 2007/11/07 18:26:38 humpback Exp $ + +inherit eutils qt4 pax-utils + +DESCRIPTION="A P2P-VoiceIP client." +HOMEPAGE="http://www.skype.com/" + +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} )" + +LICENSE="skype-eula" +SLOT="0" +KEYWORDS="~x86 ~amd64" +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 + >=dev-libs/libsigc++-2 + >=media-libs/alsa-lib-1.0.11 + 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? ( $(qt4_min_version 4.2.3) + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXdmcp ) )" +RDEPEND="${DEPEND}" + +QA_EXECSTACK="opt/skype/skype" + +use qt-static && S="${WORKDIR}/${PN}_static-${PV}" + +pkg_setup() { + if ! use qt-static && ! built_with_use ">=x11-libs/qt-4.0" accessibility dbus ; then + eerror "Rebuild qt-4 with USE=\"accessibility dbus\" or set USE=qt-static" + die "USE=\"-qt-static\" only works with qt-4 built with USE=\"accessibility dbus\"." + fi +} + +src_unpack() { + unpack ${A} +} + +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 + # + #BIG FAT WARNING. REMOVE THE LRELEASE BEFORE PUTTING IN TREE + # + #lrelease lang/*.ts + 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}.png "Network;InstantMessaging;Telephony" + + # AMD64 team does not provide this so we add it: + #if use amd64; then + # exeinto /opt/${PN} + # dosym libsigc-2.0.so.0.0.0 /opt/${PN}/libsigc-2.0.so.0 + # doexe "${WORKDIR}"/libsigc-2.0.so.0.0.0 + #fi + + #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 +} + +pkg_postinst() { + elog "If you have sound problems please visit: " + elog "http://forum.skype.com/bb/viewtopic.php?t=4489" + elog "These kernel options are reported to help" + elog + elog "Processor type and features --->" + elog "-- Preemption Model (Preemptible Kernel (Low-Latency Desktop))" + elog "-- Timer frequency (250 HZ)" + elog + ewarn "This release no longer uses the old wrapper because ${PN} now uses ALSA" + ewarn + +} |