1 |
commit: 9a1c910c900711455345ac0e6a37c8f8aa8dfbc9 |
2 |
Author: Robert Siebeck <gentoo.2019 <AT> r123 <DOT> de> |
3 |
AuthorDate: Wed Dec 1 17:11:26 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 1 17:24:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1c910c |
7 |
|
8 |
net-im/signal-desktop-bin: remove old version |
9 |
|
10 |
Signed-off-by: Robert Siebeck <gentoo.2019 <AT> r123.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/23135 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
.../signal-desktop-bin-5.24.0.ebuild | 100 --------------------- |
15 |
1 file changed, 100 deletions(-) |
16 |
|
17 |
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-5.24.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-5.24.0.ebuild |
18 |
deleted file mode 100644 |
19 |
index e6ca382563fa..000000000000 |
20 |
--- a/net-im/signal-desktop-bin/signal-desktop-bin-5.24.0.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,100 +0,0 @@ |
23 |
-# Copyright 1999-2021 Gentoo Authors |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
- |
26 |
-EAPI=7 |
27 |
- |
28 |
-MY_PN="${PN/-bin/}" |
29 |
- |
30 |
-inherit pax-utils unpacker xdg |
31 |
- |
32 |
-DESCRIPTION="Allows you to send and receive messages of Signal Messenger on your computer" |
33 |
-HOMEPAGE="https://signal.org/ |
34 |
- https://github.com/signalapp/Signal-Desktop" |
35 |
-SRC_URI="https://updates.signal.org/desktop/apt/pool/main/s/${MY_PN}/${MY_PN}_${PV}_amd64.deb" |
36 |
-S="${WORKDIR}" |
37 |
- |
38 |
-LICENSE="GPL-3 MIT MIT-with-advertising BSD-1 BSD-2 BSD Apache-2.0 ISC openssl ZLIB APSL-2 icu Artistic-2 LGPL-2.1" |
39 |
-SLOT="0" |
40 |
-KEYWORDS="-* ~amd64" |
41 |
-IUSE="+sound" |
42 |
-RESTRICT="splitdebug" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- app-accessibility/at-spi2-atk:2 |
46 |
- app-accessibility/at-spi2-core:2 |
47 |
- dev-libs/atk |
48 |
- dev-libs/expat |
49 |
- dev-libs/glib:2 |
50 |
- dev-libs/nspr |
51 |
- dev-libs/nss |
52 |
- media-libs/alsa-lib |
53 |
- media-libs/mesa[X(+)] |
54 |
- net-print/cups |
55 |
- sys-apps/dbus[X] |
56 |
- x11-libs/gdk-pixbuf:2 |
57 |
- x11-libs/cairo |
58 |
- x11-libs/gtk+:3[X] |
59 |
- x11-libs/libdrm |
60 |
- x11-libs/libX11 |
61 |
- x11-libs/libxcb |
62 |
- x11-libs/libxkbcommon |
63 |
- x11-libs/libXcomposite |
64 |
- x11-libs/libXdamage |
65 |
- x11-libs/libXext |
66 |
- x11-libs/libXfixes |
67 |
- x11-libs/libXrandr |
68 |
- x11-libs/libxshmfence |
69 |
- x11-libs/pango |
70 |
- sound? ( |
71 |
- || ( |
72 |
- media-sound/pulseaudio |
73 |
- media-sound/apulse |
74 |
- ) |
75 |
- ) |
76 |
-" |
77 |
- |
78 |
-QA_PREBUILT=" |
79 |
- opt/Signal/chrome-sandbox |
80 |
- opt/Signal/libEGL.so |
81 |
- opt/Signal/libGLESv2.so |
82 |
- opt/Signal/libffmpeg.so |
83 |
- opt/Signal/libvk_swiftshader.so |
84 |
- opt/Signal/libvulkan.so.1 |
85 |
- opt/Signal/resources/app.asar.unpacked/node_modules/* |
86 |
- opt/Signal/signal-desktop |
87 |
- opt/Signal/swiftshader/libEGL.so |
88 |
- opt/Signal/swiftshader/libGLESv2.so" |
89 |
- |
90 |
-src_prepare() { |
91 |
- default |
92 |
- sed -e 's| --no-sandbox||g' \ |
93 |
- -i usr/share/applications/signal-desktop.desktop || die |
94 |
- unpack usr/share/doc/signal-desktop/changelog.gz |
95 |
- |
96 |
- rm opt/Signal/resources/app.asar.unpacked/node_modules/{ffi-napi/node_modules/ref-napi/prebuilds/linux-arm64/electron.napi.armv8.node,ffi-napi/node_modules/ref-napi/prebuilds/linux-arm64/node.napi.armv8.node,ffi-napi/prebuilds/linux-arm64/node.napi.uv1.armv8.node,ref-napi/prebuilds/linux-arm64/electron.napi.armv8.node,ref-napi/prebuilds/linux-arm64/node.napi.armv8.node} || die |
97 |
-} |
98 |
- |
99 |
-src_install() { |
100 |
- insinto / |
101 |
- dodoc changelog |
102 |
- doins -r opt |
103 |
- insinto /usr/share |
104 |
- |
105 |
- if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then |
106 |
- sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop || die |
107 |
- fi |
108 |
- |
109 |
- doins -r usr/share/applications |
110 |
- doins -r usr/share/icons |
111 |
- fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox |
112 |
- fperms u+s /opt/Signal/chrome-sandbox |
113 |
- pax-mark m opt/Signal/signal-desktop opt/Signal/chrome-sandbox |
114 |
- |
115 |
- dosym ../../opt/Signal/${MY_PN} /usr/bin/${MY_PN} |
116 |
-} |
117 |
- |
118 |
-pkg_postinst() { |
119 |
- xdg_pkg_postinst |
120 |
- elog "For using the tray icon on compatible desktop environments, start Signal with" |
121 |
- elog " '--start-in-tray' or '--use-tray-icon'." |
122 |
-} |