diff options
Diffstat (limited to 'net-im/skype')
-rw-r--r-- | net-im/skype/Manifest | 8 | ||||
-rw-r--r-- | net-im/skype/files/skype | 2 | ||||
-rw-r--r-- | net-im/skype/files/skype-4.3.0.37-desktop.patch | 15 | ||||
-rw-r--r-- | net-im/skype/metadata.xml | 18 | ||||
-rw-r--r-- | net-im/skype/skype-4.3.0.37-r5.ebuild | 120 | ||||
-rw-r--r-- | net-im/skype/skype-4.3.0.37-r6.ebuild | 118 |
6 files changed, 281 insertions, 0 deletions
diff --git a/net-im/skype/Manifest b/net-im/skype/Manifest new file mode 100644 index 000000000000..89427d6b44df --- /dev/null +++ b/net-im/skype/Manifest @@ -0,0 +1,8 @@ +AUX skype 55 SHA256 4b7dcba418eb0b971d6051ffb928eb377b1c8ae233c9837ce1e0c4bd06cf75f4 SHA512 051e51fdc18ea93550a00bf1795232e172f046862257fe7d7d01c68fdee45fec5d863b63c00fd0b9dff1a3bd04fcc30f1f1221f3579d95fe7128b88e188c5724 WHIRLPOOL 37a6d3f02460f5673701067a682d61da95ffa17a2fecb59f8f58fc738877996fc182bb683397621a5f189e881b6925521c47555026fbee3abacf2a918048c7d0 +AUX skype-4.3.0.37-desktop.patch 331 SHA256 afc6c53311814b1bcbf90c04f69fd3d9fbe2495d94811c80ba3332d8f1b31bd8 SHA512 3141a1b3e70836fead32e612da44f2a4312443e26b549bdd864602e9119be6f2b92f2e829f89cb28ba54607c2db28b00ab8b8d10fecbaada435bd6dacb8f6f5d WHIRLPOOL 2b3f98d5c62b246c43dddf7005d2009d049e9c9c21d7f77e069389b7de70ef203e4ac2c263e5af59d9633e5ebe5145717f47d41f7057b0b9b09eaa4e4bf514db +DIST skype-4.3.0.37.tar.bz2 19310701 SHA256 8c99dc3978a588fb13303df7c8134379fb55b8dd460efefbc79ae594269b892d SHA512 935d0c06c031a90414f9b20c9a782c59deee36abff781c08f1dfd62194763dc9674bb85d478ae916b1bf440b123291d64380bc28295e9ecdd6522d17b434b7a5 WHIRLPOOL 1e5a84b04d7eb9bbf3bae9ae6e69bb41587a1cef7f5ff19af0363343fd7fc949d5202959efaf93b0ed9ccb939b8b2ad4d61fc9626fffbdc2a8d898f9fa29b300 +EBUILD skype-4.3.0.37-r5.ebuild 3184 SHA256 6da4d3d99c3b07e8d686c3a95ea16ca46a4b090c7918f81c0166bd19cadc2fe3 SHA512 fde2d345561b40340584118db541e2ab8a5ba28ce0a5be243b9088b7bd1c7058469555079d41e9a1d9138c716deb0ee663955fd14e13251f09ecf67e8a8ba1a1 WHIRLPOOL 8c40f56e5ec1e7b722b237e0fe34250d81f50580736b00c019c1b6ceaec82240da0ec0aebc6f5a04dfef26b9f772cdb4010660d55f60d7d7808c560465ad05a6 +EBUILD skype-4.3.0.37-r6.ebuild 3075 SHA256 922cac61d0c30e94473e77a1175e44b32c327cc1c9eacb1a2b95e8812e0e4e89 SHA512 f697b3de7175b2d47e68f7c7ca34fb2dc80cba629038301bc3db1e97836073b1571485930660563e2a84d2a25f0b4b6bc5c64ee3919c9dea379f31825a60119b WHIRLPOOL 376f4b3c48dec4d4b983071f38a13a9a1a1666c4385890939680e5c684cbdf65891f8934c2d691159a3125addbdc40d006376d14a96961a415c7f6cd842b4aef +MISC ChangeLog 3894 SHA256 824153834716d631a84e73297ce927164918e71fa3055f4189524fb98c4ba186 SHA512 98b94c9d8037223bfb5011ad49b59a5633228daff08ec4d1cf682f80f70aa432f2effa2c3329608f9205f35bb9fb41570f3bc63b813555f28e42a1d21f7b2d61 WHIRLPOOL ec74ba02f5a69c497d791b5cc7b450160b072782c21fa1727da53435b33c90b0ad28def56f1dc4f2dd46dedee0e21df662126b03ff837d6a59d4def33919d134 +MISC ChangeLog-2015 31502 SHA256 134bd6094f04b74d3ba624f7993f5d4cae262ec4ffa1f397d56436e067748cd7 SHA512 a47aa927d7924e5bdf08261b15b8ce1e4e0a2b2b175609095c60d3239b8f301c3a27e510a20debfa22273c525255f247e37e53c98ab644ea27eae58661ca9911 WHIRLPOOL 481202464af2cc7bccd0f1582e0892f500eee2da9833696315823d13999d47f3553e7852a329b583bd487c75ea46b7da1e3dea8729a9b822ffe9cdef5e6acf7e +MISC metadata.xml 836 SHA256 73c49e0768633555f0c1550b440a969305486c159c1d97fe53681dcd35a001be SHA512 b59552280a3ff780ceae4231ce408475bb613dcbc70e242bbd50b5caf813e07bc67c425b1d528e92bf4555584b38664c94a3342c39dc6b4d914ac9ea6fd35050 WHIRLPOOL 61b974599a3621644d551c69ebedc3a1b152b9e7ae2573fbe335a79956e544b2de2c758f24f9c9bddf3880e2a8b3710a3e4ad9a4efed2a48c53961e32eaf1020 diff --git a/net-im/skype/files/skype b/net-im/skype/files/skype new file mode 100644 index 000000000000..3a647adddbda --- /dev/null +++ b/net-im/skype/files/skype @@ -0,0 +1,2 @@ +#!/bin/sh +exec i686-pc-linux-gnu-apulse skype-bin "$@" diff --git a/net-im/skype/files/skype-4.3.0.37-desktop.patch b/net-im/skype/files/skype-4.3.0.37-desktop.patch new file mode 100644 index 000000000000..af31e0e34aea --- /dev/null +++ b/net-im/skype/files/skype-4.3.0.37-desktop.patch @@ -0,0 +1,15 @@ +--- skype.desktop ++++ skype.desktop +@@ -2,10 +2,10 @@ + Name=Skype + Comment=Skype Internet Telephony + Exec=skype %U +-Icon=skype.png ++Icon=skype + Terminal=false + Type=Application + Encoding=UTF-8 +-Categories=Network;Application; ++Categories=Network;InstantMessaging;Telephony; + MimeType=x-scheme-handler/skype; + X-KDE-Protocols=skype diff --git a/net-im/skype/metadata.xml b/net-im/skype/metadata.xml new file mode 100644 index 000000000000..6a054bc85f02 --- /dev/null +++ b/net-im/skype/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>shentino@gmail.com</email> + <name>Raymond Jennings</name> + <description>Proxy maintainer. Assign bugs to him</description> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="apulse">Use <pkg>media-sound/apulse</pkg> for PulseAudio emulation</flag> + <flag name="pax_kernel">Triggers a paxmarking of the main skype binary</flag> + </use> + <longdescription>Skype is for doing things together, whenever you’re apart. Skype’s text, voice and video make it simple to share experiences with the people that matter to you, wherever they are.</longdescription> +</pkgmetadata> diff --git a/net-im/skype/skype-4.3.0.37-r5.ebuild b/net-im/skype/skype-4.3.0.37-r5.ebuild new file mode 100644 index 000000000000..f95c93110a80 --- /dev/null +++ b/net-im/skype/skype-4.3.0.37-r5.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils gnome2-utils pax-utils + +DESCRIPTION="P2P Internet Telephony (VoiceIP) client" +HOMEPAGE="http://www.skype.com/" +SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2" + +LICENSE="skype-4.0.0.7-copyright BSD MIT RSA W3C regexp-UofT no-source-code" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="apulse pax_kernel plasma +pulseaudio selinux" +REQUIRED_USE="apulse? ( !pulseaudio )" + +QA_PREBUILT=opt/bin/${PN} +RESTRICT="mirror bindist strip" #299368 + +RDEPEND=" + virtual/ttf-fonts + dev-qt/qtcore:4[abi_x86_32(-)] + dev-qt/qtdbus:4[abi_x86_32(-)] + dev-qt/qtgui:4[accessibility,abi_x86_32(-)] + dev-qt/qtwebkit:4[abi_x86_32(-)] + media-libs/alsa-lib[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libXScrnSaver[abi_x86_32(-)] + x11-libs/libXv[abi_x86_32(-)] + apulse? ( media-sound/apulse[abi_x86_32(-)] ) + plasma? ( dev-libs/sni-qt[abi_x86_32(-)] ) + pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] ) + selinux? ( sec-policy/selinux-skype )" + +src_prepare() { + epatch "${FILESDIR}/${P}-desktop.patch" +} + +src_compile() { + if type -P lrelease >/dev/null; then + lrelease lang/*.ts || die + fi + rm -f lang/*.ts || die +} + +src_install() { + + if use apulse; then + into /opt + newbin ${PN} ${PN}-bin + dobin "${FILESDIR}/${PN}" + fowners root:audio /opt/bin/${PN} /opt/bin/${PN}-bin + else + into /opt + dobin ${PN} + fowners root:audio /opt/bin/${PN} + fi + + insinto /etc/dbus-1/system.d + doins ${PN}.conf + + insinto /usr/share/skype + doins -r avatars lang sounds + + dodoc README + + local res + for res in 16 32 48 64 96 128 256; do + newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png + done + + domenu skype.desktop + + if use pax_kernel; then + if use apulse; then + pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die + else + pax-mark Cm "${ED}"/opt/bin/${PN} || die + fi + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi + + echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN} + doenvd "${T}"/99${PN} #430142 +} + +pkg_preinst() { + gnome2_icon_savelist + + rm -rf "${EROOT}"/usr/share/${PN} #421165 +} + +pkg_postinst() { + gnome2_icon_cache_update + + # https://bugs.gentoo.org/360815 + elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by" + elog "media-libs/libv4l package and \"README\" document of this package." + + if ! use pulseaudio && ! use apulse; then + ewarn "ALSA support was removed from Skype" + ewarn "consider installing media-sound/pulseaudio" + ewarn "or media-sound/apulse for pulseaudio emulation" + ewarn "otherwise sound will not work for you." + ewarn "These packages can be pulled in by setting" + ewarn "appropriate USE flags for net-im/skype." + fi + elog "If skype is segfaulting for you with gcc-5+ please consider " + elog "instalation of dev-qt/qtwebkit[-exceptions]" +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/net-im/skype/skype-4.3.0.37-r6.ebuild b/net-im/skype/skype-4.3.0.37-r6.ebuild new file mode 100644 index 000000000000..ebf518304ed5 --- /dev/null +++ b/net-im/skype/skype-4.3.0.37-r6.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils gnome2-utils pax-utils + +DESCRIPTION="P2P Internet Telephony (VoiceIP) client" +HOMEPAGE="http://www.skype.com/" +SRC_URI="http://download.${PN}.com/linux/${P}.tar.bz2" + +LICENSE="skype-4.0.0.7-copyright BSD MIT RSA W3C regexp-UofT no-source-code" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="apulse pax_kernel plasma +pulseaudio selinux" +REQUIRED_USE="apulse? ( !pulseaudio )" + +QA_PREBUILT=opt/bin/${PN} +RESTRICT="mirror bindist strip" #299368 + +RDEPEND=" + virtual/ttf-fonts + dev-qt/qtcore:4[abi_x86_32(-)] + dev-qt/qtdbus:4[abi_x86_32(-)] + dev-qt/qtgui:4[accessibility,abi_x86_32(-)] + dev-qt/qtwebkit:4[-exceptions,abi_x86_32(-)] + media-libs/alsa-lib[abi_x86_32(-)] + x11-libs/libX11[abi_x86_32(-)] + x11-libs/libXext[abi_x86_32(-)] + x11-libs/libXScrnSaver[abi_x86_32(-)] + x11-libs/libXv[abi_x86_32(-)] + apulse? ( media-sound/apulse[abi_x86_32(-)] ) + plasma? ( dev-libs/sni-qt[abi_x86_32(-)] ) + pulseaudio? ( media-sound/pulseaudio[abi_x86_32(-)] ) + selinux? ( sec-policy/selinux-skype )" + +src_prepare() { + epatch "${FILESDIR}/${P}-desktop.patch" +} + +src_compile() { + if type -P lrelease >/dev/null; then + lrelease lang/*.ts || die + fi + rm -f lang/*.ts || die +} + +src_install() { + + if use apulse; then + into /opt + newbin ${PN} ${PN}-bin + dobin "${FILESDIR}/${PN}" + fowners root:audio /opt/bin/${PN} /opt/bin/${PN}-bin + else + into /opt + dobin ${PN} + fowners root:audio /opt/bin/${PN} + fi + + insinto /etc/dbus-1/system.d + doins ${PN}.conf + + insinto /usr/share/skype + doins -r avatars lang sounds + + dodoc README + + local res + for res in 16 32 48 64 96 128 256; do + newicon -s ${res} icons/SkypeBlue_${res}x${res}.png ${PN}.png + done + + domenu skype.desktop + + if use pax_kernel; then + if use apulse; then + pax-mark Cm "${ED}"/opt/bin/${PN}-bin || die + else + pax-mark Cm "${ED}"/opt/bin/${PN} || die + fi + eqawarn "You have set USE=pax_kernel meaning that you intend to run" + eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" + eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" + eqawarn "you suspect that ${PN} is being broken by this modification," + eqawarn "please open a bug." + fi + + echo PRELINK_PATH_MASK=/opt/bin/${PN} > ${T}/99${PN} + doenvd "${T}"/99${PN} #430142 +} + +pkg_preinst() { + gnome2_icon_savelist + + rm -rf "${EROOT}"/usr/share/${PN} #421165 +} + +pkg_postinst() { + gnome2_icon_cache_update + + # https://bugs.gentoo.org/360815 + elog "For webcam support, see \"LD_PRELOAD\" section of \"README.lib\" document provided by" + elog "media-libs/libv4l package and \"README\" document of this package." + + if ! use pulseaudio && ! use apulse; then + ewarn "ALSA support was removed from Skype" + ewarn "consider installing media-sound/pulseaudio" + ewarn "or media-sound/apulse for pulseaudio emulation" + ewarn "otherwise sound will not work for you." + ewarn "These packages can be pulled in by setting" + ewarn "appropriate USE flags for net-im/skype." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} |