diff options
author | Fabio Rossi <rossi.f@inwind.it> | 2021-01-24 18:11:03 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@riseup.net> | 2021-01-24 21:47:43 +0100 |
commit | 7494df80f6775f0407855f51a114b469aa271755 (patch) | |
tree | 4daaf5766037035f48f8b6f5de2b9f6aeafd42de | |
parent | sci-mathematics/scilab: fix dependency needed for USE=mpi (diff) | |
download | sci-7494df80f6775f0407855f51a114b469aa271755.tar.gz sci-7494df80f6775f0407855f51a114b469aa271755.tar.bz2 sci-7494df80f6775f0407855f51a114b469aa271755.zip |
sci-mathematics/scilab: fix QA issues
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
-rw-r--r-- | sci-mathematics/scilab/scilab-5.5.2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-mathematics/scilab/scilab-5.5.2.ebuild b/sci-mathematics/scilab/scilab-5.5.2.ebuild index 35359d37c..4cc9bf0da 100644 --- a/sci-mathematics/scilab/scilab-5.5.2.ebuild +++ b/sci-mathematics/scilab/scilab-5.5.2.ebuild @@ -172,6 +172,9 @@ src_prepare() { # make sure the DOCBOOK_ROOT variable is set sed -i -e "s/xsl-stylesheets-\*/xsl-stylesheets/g" bin/scilab* || die + # fix QA for metainfo data installation path + sed -i.bkp -e "s:/appdata:/metainfo:" desktop/Makefile.in || die + # remove self closing <br /> (error our with javadoc8) # already upstream commit 2103082c find . -name '*.java' -exec sed -i "s|<br />|<BR>|" {} \; ||die @@ -280,7 +283,7 @@ src_test() { src_install() { default - prune_libtool_files --all + find "${ED}" -name '*.la' -delete || die rm -rf "${D}"/usr/share/scilab/modules/*/tests ||die newbashcomp "${FILESDIR}"/"${PN}".bash_completion "${PN}" bashcomp_alias ${PN} ${PN}-cli ${PN}-adv-cli @@ -291,6 +294,7 @@ src_install() { pkg_postinst() { xdg_mimeinfo_database_update + xdg_desktop_database_update einfo "If you are using the NVIDIA binary drivers, and run into graphics" einfo "crashes, you may try to run scilab as follows:" einfo "EGL_DRIVER=egl_glx scilab" @@ -299,4 +303,5 @@ pkg_postinst() { pkg_postrm() { xdg_mimeinfo_database_update + xdg_desktop_database_update } |