From: Robert Siebeck Date: Mon, 27 Jan 2020 22:31:01 +0000 (+0100) Subject: net-im/signal-desktop-bin: fix rpath of broken lib X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f62b54aae528151d94cb05190a40313c9fb043bd;p=gentoo.git 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 --- 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() {