From f62b54aae528151d94cb05190a40313c9fb043bd Mon Sep 17 00:00:00 2001 From: Robert Siebeck Date: Mon, 27 Jan 2020 23:31:01 +0100 Subject: [PATCH] net-im/signal-desktop-bin: fix rpath of broken lib Closes: https://bugs.gentoo.org/706352 Signed-off-by: Robert Siebeck Closes: https://github.com/gentoo/gentoo/pull/14480 Signed-off-by: Joonas Niilola --- ...p-bin-1.30.0.ebuild => signal-desktop-bin-1.30.0-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+) rename net-im/signal-desktop-bin/{signal-desktop-bin-1.30.0.ebuild => signal-desktop-bin-1.30.0-r1.ebuild} (91%) diff --git a/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0-r1.ebuild similarity index 91% rename from net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild rename to net-im/signal-desktop-bin/signal-desktop-bin-1.30.0-r1.ebuild index 157060a1f05e..93581b413e4a 100644 --- a/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild +++ b/net-im/signal-desktop-bin/signal-desktop-bin-1.30.0-r1.ebuild @@ -17,6 +17,7 @@ SLOT="0" KEYWORDS="-* ~amd64" IUSE="" +BDEPEND="app-admin/chrpath" RDEPEND=" dev-libs/nss media-libs/mesa[X(+)] @@ -40,6 +41,8 @@ src_prepare(){ sed -e 's|\("/opt/Signal/signal-desktop"\)|\1 --start-in-tray|g' \ -i usr/share/applications/signal-desktop.desktop || die unpack usr/share/doc/signal-desktop/changelog.gz + # Fix Bug 706352 + chrpath opt/Signal/resources/app.asar.unpacked/node_modules/sharp/vendor/lib/libjpeg.so.8.2.2 -r '$ORIGIN:/target/lib' || die } src_install() { -- 2.26.2