All languagues and extra avatars
authorGustavo Felisberto <humpback@gentoo.org>
Tue, 28 Dec 2004 13:35:56 +0000 (13:35 +0000)
committerGustavo Felisberto <humpback@gentoo.org>
Tue, 28 Dec 2004 13:35:56 +0000 (13:35 +0000)
net-im/skype/ChangeLog
net-im/skype/Manifest
net-im/skype/files/digest-skype-0.93.0.3-r1 [new file with mode: 0644]
net-im/skype/skype-0.93.0.3-r1.ebuild [new file with mode: 0644]

index 661200a64c681003332bc9adfbfc0949eb2d6d81..5f6ba735dd9c6e2824d587c7e21cf0a009aa9b06 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-im/skype
 # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.20 2004/12/26 21:06:17 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/skype/ChangeLog,v 1.21 2004/12/28 13:35:56 humpback Exp $
+
+  28 Dec 2004; Gustavo Felisberto <humpback@gentoo.org>; :
+  New version that installs the avatars. More work still to do. See bug #75237.
 
 *skype-0.93.0.3 (26 Dec 2004)
 
index f886c977844c188a1e2de7a4f500d9523f3c34ba..c2460c30d786a0cf88cccae787857faf9aff770e 100644 (file)
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 c42eee082c8b4c25c69dd7ff45b7f66d skype-0.93.0.3.ebuild 3000
-MD5 1cc54b5a7037b75ce9cc4d0058b3a64c ChangeLog 3894
+MD5 75132cd407c651ab8e8ec47e234cc865 ChangeLog 4034
 MD5 dbaa6f09202bfea8c248e1f7c222d40f metadata.xml 488
+MD5 cb1b687263323e29fdc853c69eb820db skype-0.93.0.3-r1.ebuild 3079
+MD5 c42eee082c8b4c25c69dd7ff45b7f66d skype-0.93.0.3.ebuild 3000
 MD5 03415ef1d1487c86e7ef4ac28dc4dc80 files/digest-skype-0.93.0.3 145
+MD5 1d81e190261e1a101fff0ecacaaa833d files/digest-skype-0.93.0.3-r1 211
 MD5 e194f7f5ac6776962adedca393f8c3e8 files/sDaemonWrapper 1629
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.9.10 (GNU/Linux)
-
-iD8DBQFB0HTQI1lqEGTUzyQRAjTQAJ4od1GQo/awoAALMAudidb0RQK3BgCgrO85
-0crWId07bkz0KdFfaS0qcHE=
-=M8uj
------END PGP SIGNATURE-----
diff --git a/net-im/skype/files/digest-skype-0.93.0.3-r1 b/net-im/skype/files/digest-skype-0.93.0.3-r1
new file mode 100644 (file)
index 0000000..6a55450
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 5b3195993d01ed0d439a28b505665382 skype-avatars-1.0.tgz 377763
+MD5 aba3ab2908c5abe6f7e90918db03b1dd skype-0.93.0.3.tar.bz2 4293627
+MD5 82448f56fd7f8fb59b00869660ca0a4f skype_staticQT-0.93.0.3.tar.bz2 6709041
diff --git a/net-im/skype/skype-0.93.0.3-r1.ebuild b/net-im/skype/skype-0.93.0.3-r1.ebuild
new file mode 100644 (file)
index 0000000..dfb9439
--- /dev/null
@@ -0,0 +1,98 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/skype/skype-0.93.0.3-r1.ebuild,v 1.1 2004/12/28 13:35:56 humpback Exp $
+
+inherit eutils
+
+
+#If you want to know when this package will be marked stable please see the Changelog
+RESTRICT="nomirror"
+AVATARV="1.0"
+DESCRIPTION="${PN} is a P2P-VoiceIP client."
+HOMEPAGE="http://www.${PN}.com/"
+SRC_URI="http://www.gentoo-pt.org/~humpback/skype-avatars-${AVATARV}.tgz
+               !static? ( http://download.skype.com/linux/${P}.tar.bz2 )
+               static? ( http://download.skype.com/linux/${PN}_staticQT-${PV}.tar.bz2 )"
+LICENSE="skype-eula"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="static arts esd"
+DEPEND="amd64? ( app-emulation/emul-linux-x86-glibc
+               app-emulation/emul-linux-x86-xlibs
+               app-emulation/emul-linux-x86-compat
+               app-emulation/emul-linux-x86-baselibs
+               !static? ( app-emulation/emul-linux-x86-qtlibs )
+       )
+       x86? ( !static? ( >=x11-libs/qt-3.2 )
+               >=sys-libs/glibc-2.2.5
+       )"
+
+src_unpack() {
+       if use static;
+               then
+               unpack ${PN}_staticQT-${PV}.tar.bz2
+               mv ${PN}_staticQT-${PV} ${S}
+       else
+               unpack ${P}.tar.bz2
+       fi
+}
+
+src_install() {
+       ## Install the wrapper script
+       mv skype skype.bin
+       cp ${FILESDIR}/sDaemonWrapper skype
+
+       dodir /opt/skype
+       exeopts -m0755
+       exeinto /opt/skype
+       doexe skype
+       doexe skype.bin
+       #This version nolonger has the need for resources hardcoded it can use
+       #./skype --resources-path /some/directory/with/resources but our script
+       #must be changed and the older ebuilds removed first
+       insinto /opt/skype/sound
+       doins sound/*.wav
+
+       insinto /opt/skype/lang
+       doins lang/*.qm
+       #Skype still shows ALL languagues no matter what were installed
+       #for i in ${LINGUAS}; do
+       #       if [ -f lang/${PN}_${i}.qm ]; then
+       #               doins lang/${PN}_${i}.qm
+       #       fi;
+       #done;
+
+
+       insinto /opt/skype
+       make_desktop_entry skype "Skype VoIP" ../icons/hicolor/48x48/apps/skype.png
+       for SIZE in 16 32 48
+       do
+               mkdir ${S}/icons/${SIZE}
+               cp ${S}/icons/${PN}_${SIZE}_32.png ${S}/icons/${SIZE}/${PN}.png
+               dodir /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
+               insinto /usr/share/icons/hicolor/${SIZE}x${SIZE}/apps
+               doins ${S}/icons/${SIZE}/${PN}.png
+       done
+       fowners root:audio /opt/skype/skype.bin
+       fowners root:audio /opt/skype/skype
+       dodir /usr/bin/
+       dosym /opt/skype/skype /usr/bin/skype
+       # Install the Documentation
+       dodoc README LICENSE
+}
+
+pkg_postinst() {
+       einfo "Have a look at ${PORTDIR}/licenses/${LICENSE} before running this software"
+       einfo "If you have sound problems please visit: "
+       einfo "http://forum.skype.com/bb/viewtopic.php?t=4489"
+       if ( use arts );
+       then
+               ewarn "Dont forget to configure your arts to work in Full-Duplex mode"
+               ewarn "Open controlcenter, go to \"Sound & Multimedia\"->\"Sound System\""
+               ewarn "On the \"Hardware\" tab, check the box next to \"Full duplex\"."
+       fi
+       ##I do not know if this is true for this version. But will leave the note here
+       ewarn "There are some problems with this version of skype when upgrading"
+       ewarn "If you have problems please go to:"
+       ewarn "http://forum.skype.com/bb/viewtopic.php?t=7187"
+}