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>
KEYWORDS="-* ~amd64"
IUSE=""
+BDEPEND="app-admin/chrpath"
RDEPEND="
dev-libs/nss
media-libs/mesa[X(+)]
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() {