net-im/signal-desktop-bin: fix rpath of broken lib
authorRobert Siebeck <gentoo.2019@r123.de>
Mon, 27 Jan 2020 22:31:01 +0000 (23:31 +0100)
committerJoonas Niilola <juippis@gentoo.org>
Tue, 28 Jan 2020 15:03:24 +0000 (17:03 +0200)
Closes: https://bugs.gentoo.org/706352
Signed-off-by: Robert Siebeck <gentoo.2019@r123.de>
Closes: https://github.com/gentoo/gentoo/pull/14480
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-im/signal-desktop-bin/signal-desktop-bin-1.30.0-r1.ebuild [moved from net-im/signal-desktop-bin/signal-desktop-bin-1.30.0.ebuild with 91% similarity]

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 157060a1f05e10b6e936ff104dd68b9124fefc36..93581b413e4a4687a132302c9e337b2ac13079a4 100644 (file)
@@ -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() {