well ... ADDED ebuild for skype-2.0.0.72 ... duh!

This commit is contained in:
Manuel Friedli 2008-09-01 21:32:35 +00:00
parent 52cb473943
commit fdad935d82
2 changed files with 125 additions and 0 deletions

7
net-im/skype/Manifest Normal file
View file

@ -0,0 +1,7 @@
AUX sDaemonWrapper-r1 2156 RMD160 29aa71c39c0e6049d9073f1a37b4548d76195248 SHA1 c2fe043de8bf0eb7e5666b90ab849710d16aa72f SHA256 997724ef746507af4f2255ee33d93316101dd072388807103cab98172282a4a8
AUX skype-callto-handler 1813 RMD160 c9d6ebefac813587b294c561808729ab15aafe70 SHA1 1d8d214b7c4aab9125bc02e8ccebd8818a33c7e5 SHA256 dc004f93e107622910980acf6d132ee603e12e294ca35870e3a04184db64ae3c
AUX skype.debus.config 436 RMD160 ec47725458e05cca8e37316989f473963b5b654d SHA1 e0a969c12264ac2657491f8533f0349fc8a8d4f0 SHA256 6de68b9e62afd284f1d7d5899fc5747de2be2c18a96022130826917625941ea2
AUX skype.sh 243 RMD160 994fb89dc4c9e5f205de1d552695a0f63a184fb3 SHA1 a973105cc69d7add1978d0fb11800349a34431c1 SHA256 cbd934a18023e014ca34b78b33fbbeb3ddd340f14c79619871c3a39395b91594
DIST skype-2.0.0.72.tar.bz2 15104486 RMD160 ab8ad304c6739cb68ad3420b9da89abc97ca5588 SHA1 554a2d2fdf0b2291692ed84c2d862bc80b8a6b26 SHA256 d3087571ab206729e6628986eb485e48204f5f1f0ed3f28326c376d86d583fe8
DIST skype_static-2.0.0.72.tar.bz2 21613953 RMD160 fcadcbb30eeea2e548771984b38884d23d461f7f SHA1 bc69854b5cc83e2e92c91f9a5b7688a00dc7ce7e SHA256 2f37963e8f19c0ec5efd8631abe9633b6551f09dee024460c40fad10728bc580
EBUILD skype-2.0.0.72.ebuild 3102 RMD160 fd3b50e701a744f94423b813276bacf58043fd15 SHA1 da1b1a05314a340c803cdbb8354c07b1bdd6f743 SHA256 73e0acbb6ff83569472deb8398e8f7beb3672c065ca365b5d4c773ba98feb44a

View file

@ -0,0 +1,118 @@
# 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.3 2008/08/11 18:21:17 yngwin Exp $
EAPI=1
inherit eutils pax-utils qt4
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? ( || ( ( x11-libs/qt-gui:4 x11-libs/qt-dbus:4 )
=x11-libs/qt-4.3*: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}"
use !qt-static && QT4_BUILT_WITH_USE_CHECK="guiaccessibility dbus"
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
}