aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Lloro <ivan.lloro.boada@gmail.com>2024-08-05 19:30:22 +0200
committerIvan Lloro <ivan.lloro.boada@gmail.com>2024-08-05 19:30:22 +0200
commit4c1b0e5236e4378ce39a4a28a329dc9129b5076e (patch)
tree3d23e7673115ba8e841a9088f0f726bb1d9d919f /sci-physics
parentsci-physics/openmodelica: Refactor direct fortran compilation approach (diff)
downloadguru-4c1b0e5236e4378ce39a4a28a329dc9129b5076e.tar.gz
guru-4c1b0e5236e4378ce39a4a28a329dc9129b5076e.tar.bz2
guru-4c1b0e5236e4378ce39a4a28a329dc9129b5076e.zip
sci-physics/openmodelica: Install OMEdit icon
Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/openmodelica/openmodelica-1.23.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
index 20d67e22b..61a3c4e7c 100644
--- a/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
+++ b/sci-physics/openmodelica/openmodelica-1.23.1.ebuild
@@ -70,7 +70,10 @@ RDEPEND="
>=virtual/pkgconfig-3
"
-BDEPEND="dev-util/ccache"
+BDEPEND="
+ dev-util/ccache
+ media-gfx/imagemagick
+"
DEPEND="${RDEPEND}"
@@ -151,7 +154,9 @@ src_install() {
newicon -s scalable OMShell/OMShell/OMShellGUI/Resources/omshell-large.svg omshell.svg
newicon -s scalable OMNotebook/OMNotebook/OMNotebookGUI/Resources/OMNotebook_icon.svg OMNotebook.svg
- # No proper icon for Linux available from upstream for OMEdit
+ mogrify OMEdit/OMEditLIB/Resources/icons/omedit.ico[0] -thumbnail 256x256 -flatten || die
+ newicon -s 256 OMEdit/OMEditLIB/Resources/icons/omedit.ico omedit.png
+
make_desktop_entry "OMEdit %F" OMedit "" "Physics;" "MimeType=text/x-modelica;"
make_desktop_entry OMShell OMShell omshell "Physics;"
make_desktop_entry "OMNotebook %f" OMNotebook OMNotebook "Physics;"