1 |
commit: 76bccec6ec493858922102d9fead5500d4a33574 |
2 |
Author: Karol Grudziński <krlgrudzinski+gentoo <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jun 3 11:23:21 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 19:22:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bccec6 |
7 |
|
8 |
net-im/skypeforlinux: Version bump to 5.3.0.1 |
9 |
|
10 |
- Bump to 5.3.0.1 |
11 |
- Also add correct ABI requirements: |
12 |
'Skype for Linux' is currently 64-bit only package and it should |
13 |
depend on 64-bit versions of libraries. |
14 |
|
15 |
Bug: https://bugs.gentoo.org/618370 |
16 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
17 |
|
18 |
net-im/skypeforlinux/Manifest | 1 + |
19 |
net-im/skypeforlinux/skypeforlinux-5.3.0.1.ebuild | 108 ++++++++++++++++++++++ |
20 |
2 files changed, 109 insertions(+) |
21 |
|
22 |
diff --git a/net-im/skypeforlinux/Manifest b/net-im/skypeforlinux/Manifest |
23 |
index d9678910020..07ca9467bc8 100644 |
24 |
--- a/net-im/skypeforlinux/Manifest |
25 |
+++ b/net-im/skypeforlinux/Manifest |
26 |
@@ -1,2 +1,3 @@ |
27 |
DIST skypeforlinux_5.0.0.5-1.x86_64.rpm 67525460 SHA256 afd90e232849e90508f7ce06c765d850e9353f8074443d9f1d99fc0c53789cef SHA512 fe09406d57cc02910078c4ede54986753a671cd7b31fa6733f7c111cecf0cc574b13f08980470a32b9921b77ab1fc2cac24faef5fcd2110e8e579003d6e035f0 WHIRLPOOL 87cf34808494a4b46788e9f8539b5b435a59bfa583456bd8c0c6c17f890e3ff6b44a168d25c588cdaf98431db0b3261f423c021cf9aa85b92bbed772c91b6376 |
28 |
DIST skypeforlinux_5.1.0.1-1.x86_64.rpm 67541387 SHA256 ca05f35ed845e63bccb86256b7bd1de06bc312fd0c07f027995121bc807f6bac SHA512 ea9caf93fb6b115c9bf2972bd36d479f1ed365ed2462d6b0fc312d8566df30dbb7273de26f3f6240042bf3ddd49865c3509bf11b884eae938344456327cf3697 WHIRLPOOL 611272ca0c9f1c76510f7a2ae6411214f203aa9c2855271359d38f2f64c6e7ccdcd827afa45453f0658ae1f10889b5c7716ff5eec29a344035f55ad46b3f3051 |
29 |
+DIST skypeforlinux_5.3.0.1-1.x86_64.rpm 68386976 SHA256 6ce0c4f39de94f65c47a56126d9413bef159086f1065c4ba5803ab2540a79c04 SHA512 ff0ff8724d7887ab3960cabd5d78119dbd61ccf45a2b1ab94ed09eba41af435eeeb86566d0f0f22a7e9c6c8ba19b72841ca3c1acab547675ac518990e8a73ff0 WHIRLPOOL 19c72110cbfe80c17a14e851a40547dfeac39eafddca11c04b598de4809adeaf4cfa4417019c227cd9217935f6bc18b59b1c6fa6d7444ddc15e9b4427ef20332 |
30 |
|
31 |
diff --git a/net-im/skypeforlinux/skypeforlinux-5.3.0.1.ebuild b/net-im/skypeforlinux/skypeforlinux-5.3.0.1.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..257adc73a2f |
34 |
--- /dev/null |
35 |
+++ b/net-im/skypeforlinux/skypeforlinux-5.3.0.1.ebuild |
36 |
@@ -0,0 +1,108 @@ |
37 |
+# Copyright 1999-2017 Gentoo Foundation |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=6 |
41 |
+ |
42 |
+MULTILIB_COMPAT=( abi_x86_64 ) |
43 |
+ |
44 |
+inherit eutils pax-utils rpm multilib-build |
45 |
+ |
46 |
+DESCRIPTION="P2P Internet Telephony (VoiceIP) client" |
47 |
+HOMEPAGE="https://www.skype.com/" |
48 |
+SRC_URI="https://repo.skype.com/rpm/stable/${PN}_${PV}-1.x86_64.rpm" |
49 |
+ |
50 |
+LICENSE="Skype-TOS no-source-code" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~amd64" |
53 |
+IUSE="pax_kernel" |
54 |
+ |
55 |
+S="${WORKDIR}" |
56 |
+QA_PREBUILT=opt/skypeforlinux/skypeforlinux |
57 |
+RESTRICT="mirror bindist strip" #299368 |
58 |
+ |
59 |
+RDEPEND="dev-libs/atk[${MULTILIB_USEDEP}] |
60 |
+ dev-libs/expat[${MULTILIB_USEDEP}] |
61 |
+ dev-libs/glib:2[${MULTILIB_USEDEP}] |
62 |
+ dev-libs/nspr[${MULTILIB_USEDEP}] |
63 |
+ dev-libs/nss[${MULTILIB_USEDEP}] |
64 |
+ gnome-base/gconf:2[${MULTILIB_USEDEP}] |
65 |
+ gnome-base/libgnome-keyring[${MULTILIB_USEDEP}] |
66 |
+ media-libs/alsa-lib[${MULTILIB_USEDEP}] |
67 |
+ media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] |
68 |
+ media-libs/freetype:2[${MULTILIB_USEDEP}] |
69 |
+ net-print/cups[${MULTILIB_USEDEP}] |
70 |
+ sys-apps/dbus[${MULTILIB_USEDEP}] |
71 |
+ sys-devel/gcc[cxx] |
72 |
+ sys-libs/glibc |
73 |
+ virtual/ttf-fonts |
74 |
+ x11-libs/cairo[${MULTILIB_USEDEP}] |
75 |
+ x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}] |
76 |
+ x11-libs/gtk+:2[${MULTILIB_USEDEP}] |
77 |
+ x11-libs/libX11[${MULTILIB_USEDEP}] |
78 |
+ x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] |
79 |
+ x11-libs/libXcomposite[${MULTILIB_USEDEP}] |
80 |
+ x11-libs/libXcursor[${MULTILIB_USEDEP}] |
81 |
+ x11-libs/libXdamage[${MULTILIB_USEDEP}] |
82 |
+ x11-libs/libXext[${MULTILIB_USEDEP}] |
83 |
+ x11-libs/libXfixes[${MULTILIB_USEDEP}] |
84 |
+ x11-libs/libXi[${MULTILIB_USEDEP}] |
85 |
+ x11-libs/libXrandr[${MULTILIB_USEDEP}] |
86 |
+ x11-libs/libXrender[${MULTILIB_USEDEP}] |
87 |
+ x11-libs/libXtst[${MULTILIB_USEDEP}] |
88 |
+ x11-libs/pango[${MULTILIB_USEDEP}]" |
89 |
+ |
90 |
+src_unpack() { |
91 |
+ rpm_src_unpack ${A} |
92 |
+} |
93 |
+ |
94 |
+src_prepare() { |
95 |
+ default |
96 |
+ sed -e "s!^SKYPE_PATH=.*!SKYPE_PATH=${EPREFIX}/opt/skypeforlinux/skypeforlinux!" \ |
97 |
+ -i usr/bin/skypeforlinux || die |
98 |
+ sed -e "s!^Exec=.*!Exec=${EPREFIX}/opt/bin/skypeforlinux!" \ |
99 |
+ -e "s!^Categories=.*!Categories=Network;InstantMessaging;Telephony;!" \ |
100 |
+ -i usr/share/applications/skypeforlinux.desktop || die |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ insinto /opt/skypeforlinux/locales |
105 |
+ doins usr/share/skypeforlinux/locales/*.pak |
106 |
+ |
107 |
+ insinto /opt/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release |
108 |
+ doins usr/share/skypeforlinux/resources/app.asar.unpacked/node_modules/keytar/build/Release/keytar.node |
109 |
+ |
110 |
+ insinto /opt/skypeforlinux/resources |
111 |
+ doins usr/share/skypeforlinux/resources/*.asar |
112 |
+ |
113 |
+ insinto /opt/skypeforlinux |
114 |
+ doins usr/share/skypeforlinux/*.pak |
115 |
+ doins usr/share/skypeforlinux/*.bin |
116 |
+ doins usr/share/skypeforlinux/*.dat |
117 |
+ doins usr/share/skypeforlinux/version |
118 |
+ exeinto /opt/skypeforlinux |
119 |
+ doexe usr/share/skypeforlinux/*.so |
120 |
+ doexe usr/share/skypeforlinux/skypeforlinux |
121 |
+ |
122 |
+ into /opt |
123 |
+ dobin usr/bin/skypeforlinux |
124 |
+ |
125 |
+ dodoc -r usr/share/doc/skypeforlinux/. |
126 |
+ |
127 |
+ doicon usr/share/pixmaps/skypeforlinux.png |
128 |
+ |
129 |
+ local res |
130 |
+ for res in 16 32 256 512; do |
131 |
+ newicon -s ${res} usr/share/icons/hicolor/${res}x${res}/apps/skypeforlinux.png skypeforlinux.png |
132 |
+ done |
133 |
+ |
134 |
+ domenu usr/share/applications/skypeforlinux.desktop |
135 |
+ |
136 |
+ if use pax_kernel; then |
137 |
+ pax-mark -Cm "${ED%/}"/opt/skypeforlinux/skypeforlinux |
138 |
+ eqawarn "You have set USE=pax_kernel meaning that you intend to run" |
139 |
+ eqawarn "${PN} under a PaX enabled kernel. To do so, we must modify" |
140 |
+ eqawarn "the ${PN} binary itself and this *may* lead to breakage! If" |
141 |
+ eqawarn "you suspect that ${PN} is being broken by this modification," |
142 |
+ eqawarn "please open a bug." |
143 |
+ fi |
144 |
+} |