Lines 11-26
Link Here
|
11 |
DESCRIPTION="${PN} is a P2P-VoiceIP client." |
11 |
DESCRIPTION="${PN} is a P2P-VoiceIP client." |
12 |
HOMEPAGE="http://www.${PN}.com/" |
12 |
HOMEPAGE="http://www.${PN}.com/" |
13 |
SRC_URI="http://dev.gentoo.org/~humpback/skype-avatars-${AVATARV}.tgz |
13 |
SRC_URI="http://dev.gentoo.org/~humpback/skype-avatars-${AVATARV}.tgz |
14 |
http://download.skype.com/linux/${P}-1mdk.i586.rpm" |
14 |
http://download.skype.com/linux/${P}-1mdk.i586.rpm" |
|
|
15 |
|
15 |
LICENSE="skype-eula" |
16 |
LICENSE="skype-eula" |
16 |
SLOT="0" |
17 |
SLOT="0" |
17 |
KEYWORDS="~x86 ~amd64" |
18 |
KEYWORDS="~x86 ~amd64" |
18 |
IUSE="static arts esd" |
19 |
|
|
|
20 |
# static use flag has been removed wrt bug Bug 109746 to avoid virtual/libstdc++5 dependency |
21 |
# this version is not available as static, only 1.2.0.18 is |
22 |
IUSE="" |
23 |
|
19 |
DEPEND=" |
24 |
DEPEND=" |
20 |
amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2 |
25 |
amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2 |
21 |
>=app-emulation/emul-linux-x86-baselibs-2.1.1 |
26 |
>=app-emulation/emul-linux-x86-baselibs-2.1.1 |
22 |
!static? ( >=app-emulation/emul-linux-x86-qtlibs-1.1 ) ) |
27 |
>=app-emulation/emul-linux-x86-qtlibs-1.1 ) |
23 |
x86? ( >=sys-libs/glibc-2.3.2 )" |
28 |
x86? ( >=sys-libs/glibc-2.3.2 |
|
|
29 |
=x11-libs/qt-3* )" |
24 |
RDEPEND="${DEPEND} |
30 |
RDEPEND="${DEPEND} |
25 |
>=sys-apps/dbus-0.23.4" |
31 |
>=sys-apps/dbus-0.23.4" |
26 |
|
32 |
|
Lines 30-35
Link Here
|
30 |
unpack skype-avatars-${AVATARV}.tgz |
36 |
unpack skype-avatars-${AVATARV}.tgz |
31 |
} |
37 |
} |
32 |
|
38 |
|
|
|
39 |
pkg_setup() { |
40 |
einfo "NOTE: arts and esd use flags have been removed." |
41 |
einfo "The wrapper script takes care of artsd/esd/no daemon selection." |
42 |
einfo "If you wish to use a sound daemon with skype, you can" |
43 |
einfo "emerge media-sound/esound or kde-base/arts yourself." |
44 |
einfo |
45 |
ewarn "NOTE: static use flag has been removed." |
46 |
ewarn "This version is NOT available for download as static." |
47 |
} |
48 |
|
33 |
src_install() { |
49 |
src_install() { |
34 |
## Install the wrapper script |
50 |
## Install the wrapper script |
35 |
cd ${WORKDIR}/usr/share |
51 |
cd ${WORKDIR}/usr/share |
Lines 43-48
Link Here
|
43 |
cp pixmaps/skype.png ${WORKDIR}/temp/skype.png |
59 |
cp pixmaps/skype.png ${WORKDIR}/temp/skype.png |
44 |
rm -rf skype |
60 |
rm -rf skype |
45 |
cp ${FILESDIR}/sDaemonWrapper-r1 skype |
61 |
cp ${FILESDIR}/sDaemonWrapper-r1 skype |
|
|
62 |
# remove mprotect() restrictions for PaX usage - see Bug 100507 |
63 |
[[ -x /sbin/chpax ]] && /sbin/chpax -m skype.bin |
46 |
cp ${FILESDIR}/skype-callto-handler skype-callto-handler |
64 |
cp ${FILESDIR}/skype-callto-handler skype-callto-handler |
47 |
|
65 |
|
48 |
dodir /opt/${PN} |
66 |
dodir /opt/${PN} |
Lines 90-111
Link Here
|
90 |
dosym /opt/skype/skype /usr/bin/skype |
108 |
dosym /opt/skype/skype /usr/bin/skype |
91 |
# Install the Documentation |
109 |
# Install the Documentation |
92 |
cd ${WORKDIR}/usr/share |
110 |
cd ${WORKDIR}/usr/share |
93 |
dodoc README LICENSE |
111 |
dodoc README |
94 |
|
112 |
|
95 |
# TODO: Optional configuration of callto:// in KDE, Mozilla and friends |
113 |
# TODO: Optional configuration of callto:// in KDE, Mozilla and friends |
96 |
} |
114 |
} |
97 |
|
115 |
|
98 |
pkg_postinst() { |
116 |
pkg_postinst() { |
99 |
einfo "Have a look at ${PORTDIR}/licenses/${LICENSE} before running this software" |
117 |
einfo "Have a look at ${PORTDIR}/licenses/${LICENSE} before running this software." |
100 |
einfo "If you have sound problems please visit: " |
118 |
einfo "If you have sound problems please visit: " |
101 |
einfo "http://forum.skype.com/bb/viewtopic.php?t=4489" |
119 |
einfo "http://forum.skype.com/bb/viewtopic.php?t=4489" |
102 |
if ( use arts ); |
|
|
103 |
then |
104 |
ewarn "Dont forget to configure your arts to work in Full-Duplex mode" |
105 |
ewarn "Open controlcenter, go to \"Sound & Multimedia\"->\"Sound System\"" |
106 |
ewarn "On the \"Hardware\" tab, check the box next to \"Full duplex\"." |
107 |
fi |
108 |
##I do not know if this is true for this version. But will leave the note here |
120 |
##I do not know if this is true for this version. But will leave the note here |
109 |
ewarn "If you are upgrading and skype does not autologin do a manual login" |
121 |
ewarn "If you are upgrading and skype does not autologin do a manual login." |
110 |
ewarn "you will not lose your contacts." |
122 |
ewarn "You will not lose your contacts." |
111 |
} |
123 |
} |