summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2008-04-03 16:18:00 +0000
committerGustavo Felisberto <humpback@gentoo.org>2008-04-03 16:18:00 +0000
commit9695c9f1a541d45a0ba1fdff818e58faf61f30b3 (patch)
tree975107c69ae32c13e55d0a5ea6a2f674715fdf9d /net-im
parentAdded -j1, bug #215394. (diff)
downloadhistorical-9695c9f1a541d45a0ba1fdff818e58faf61f30b3.tar.gz
historical-9695c9f1a541d45a0ba1fdff818e58faf61f30b3.tar.bz2
historical-9695c9f1a541d45a0ba1fdff818e58faf61f30b3.zip
bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-im')
-rw-r--r--net-im/skype/ChangeLog8
-rw-r--r--net-im/skype/skype-2.0.0.68.ebuild125
2 files changed, 132 insertions, 1 deletions
diff --git a/net-im/skype/ChangeLog b/net-im/skype/ChangeLog
index 5fec95f07cc2..cc123061e248 100644
--- a/net-im/skype/ChangeLog
+++ b/net-im/skype/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-im/skype
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.92 2008/03/29 11:27:11 cla Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.93 2008/04/03 16:18:00 humpback Exp $
+
+*skype-2.0.0.68 (03 Apr 2008)
+
+ 03 Apr 2008; Gustavo Felisberto <humpback@gentoo.org>
+ +skype-2.0.0.68.ebuild:
+ Added 2.0.0.68. Closes bug #215487.
29 Mar 2008; Dawid Węgliński <cla@gentoo.org> skype-2.0.0.63.ebuild:
Stable on x86 (bug #215228)
diff --git a/net-im/skype/skype-2.0.0.68.ebuild b/net-im/skype/skype-2.0.0.68.ebuild
new file mode 100644
index 000000000000..511c8780f83e
--- /dev/null
+++ b/net-im/skype/skype-2.0.0.68.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2008 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.68.ebuild,v 1.1 2008/04/03 16:18:00 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="~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? ( $(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
+ #
+ #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
+}
+
+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
+
+}