summaryrefslogtreecommitdiff
path: root/net-im/signal-desktop-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /net-im/signal-desktop-bin
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'net-im/signal-desktop-bin')
-rw-r--r--net-im/signal-desktop-bin/Manifest4
-rw-r--r--net-im/signal-desktop-bin/signal-desktop-bin-1.38.2.ebuild (renamed from net-im/signal-desktop-bin/signal-desktop-bin-1.36.2.ebuild)14
2 files changed, 15 insertions, 3 deletions
diff --git a/net-im/signal-desktop-bin/Manifest b/net-im/signal-desktop-bin/Manifest
index 08e725639527..e2473cd61172 100644
--- a/net-im/signal-desktop-bin/Manifest
+++ b/net-im/signal-desktop-bin/Manifest
@@ -1,3 +1,3 @@
-DIST signal-desktop_1.36.2_amd64.deb 108652236 BLAKE2B 60447e0783ed52839c996b364972433a992de9fee45861cfafb5e6509283364eaa0628227754acea7d1f93a21289abfe9bb9bb62d7c4e32f7104fa8c97fe20b5 SHA512 581e904d37b17c6179e7bd677cc716f2ad48b6d210a2117a94a30066334f601159a73245bff91b503e3819b083364292aca34329d40287bd7655ccadb166792f
-EBUILD signal-desktop-bin-1.36.2.ebuild 3402 BLAKE2B 1f16761c27b8c9bedacad015bcbf6025e40ae715cec5392cf52d9b59f6f79836faa31389affb62bc28764ccd3eef8276f3971e44eb8f9bec73f3cf407222ef06 SHA512 c3d8d2019e506b57f74c2d933a9c0dc77c0ceb1808327ac97279a56cbcf1b92e477ec0a172715f633c1d49b380a7f863c2b1f9f6f0843bea56f6aa242309ca97
+DIST signal-desktop_1.38.2_amd64.deb 109679066 BLAKE2B ca78200c1eda68ba7749b463fd8d286d25dca5c2032e4127f57462858f5b6724d27ef2e0e5c3d116840b3afa504c087eda78cd14247042f6574187b4642fc0e0 SHA512 42bf7c954a26b47c0753411d75fb9d8aba059be57f070f7f0e8ffadd2411b513ebcf5a82dbcf9afa5ec159ab508d425c61d681e930aba0872d764ee47b5a3a7e
+EBUILD signal-desktop-bin-1.38.2.ebuild 3661 BLAKE2B 85f803142cb67f6fd72bc2d98acff194349eade2bc14edbe18eab59de139da99524b3c283f789b99818483d5af425233a5a79e3128457149d62c4cd8509cab85 SHA512 e7ebfdcc567683b70b9856161963cbc6c884407ed26239abfcacd7d85bcd90b9a63dbec9771db5c60e19ace9f758e30f88e365f15648e5fec616a991f5f95bb0
MISC metadata.xml 366 BLAKE2B ed902f5cc030be09d1d839f3192009f6ed195718c28e3e4bca1c80f157b20ff63ec9f83a9ceb187ba1e0d203785ae60ba6777278fe833644e7cb11b3fb7bc786 SHA512 776e1f9b4fee54973687d8179b554598a9cd4d983b9515a0003f641fbe8e497b9ceef54d1fd5d09a665098b0717ccd7c9687ae96e0011619959fb5ad945c302b
diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.36.2.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.38.2.ebuild
index 7a50112a339f..0735309452cc 100644
--- a/net-im/signal-desktop-bin/signal-desktop-bin-1.36.2.ebuild
+++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.38.2.ebuild
@@ -15,6 +15,7 @@ SRC_URI="https://updates.signal.org/desktop/apt/pool/main/s/${MY_PN}/${MY_PN}_${
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"
SLOT="0"
KEYWORDS="-* ~amd64"
+IUSE="+sound"
BDEPEND="app-admin/chrpath"
RDEPEND="
@@ -45,6 +46,12 @@ RDEPEND="
x11-libs/libXScrnSaver
x11-libs/libXtst
x11-libs/pango
+ sound? (
+ || (
+ media-sound/pulseaudio
+ media-sound/apulse
+ )
+ )
"
QA_PREBUILT="opt/Signal/signal-desktop
@@ -57,7 +64,7 @@ QA_PREBUILT="opt/Signal/signal-desktop
opt/Signal/libvk_swiftshader.so
opt/Signal/swiftshader/libGLESv2.so
opt/Signal/resources/app.asar.unpacked/node_modules/curve25519-n/build/Release/curve.node
- opt/Signal/resources/app.asar.unpacked/node_modules/@journeyapps/sqlcipher/lib/binding/electron-v8.3-linux-x64/node_sqlite3.node
+ opt/Signal/resources/app.asar.unpacked/node_modules/@journeyapps/sqlcipher/lib/binding/electron-v8.5-linux-x64/node_sqlite3.node
opt/Signal/resources/app.asar.unpacked/node_modules/zkgroup/node_modules/ref-napi/build/Release/binding.node
opt/Signal/resources/app.asar.unpacked/node_modules/ref-napi/build/Release/binding.node
opt/Signal/resources/app.asar.unpacked/node_modules/ringrtc/build/linux/libringrtc.node
@@ -86,6 +93,11 @@ src_install() {
dodoc changelog
doins -r opt
insinto /usr/share
+
+ if has_version media-sound/apulse[-sdk] && ! has_version media-sound/pulseaudio; then
+ sed -i 's/Exec=/Exec=apulse /g' usr/share/applications/signal-desktop.desktop
+ fi
+
doins -r usr/share/applications
doins -r usr/share/icons
fperms +x /opt/Signal/signal-desktop /opt/Signal/chrome-sandbox