summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-24 10:09:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-24 10:11:53 +0200
commit9303d15a1a6920a521fc5dd4f9919161d1738971 (patch)
treed4b18ea769bd58a928867aa59ab2b813ab256b96 /sci-mathematics/yacas
parentsci-mathematics/yacas: Disable cmake external downloads, use bundled (diff)
downloadgentoo-9303d15a1a6920a521fc5dd4f9919161d1738971.tar.gz
gentoo-9303d15a1a6920a521fc5dd4f9919161d1738971.tar.bz2
gentoo-9303d15a1a6920a521fc5dd4f9919161d1738971.zip
sci-mathematics/yacas: Fix desktop file icon path
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-mathematics/yacas')
-rw-r--r--sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch26
-rw-r--r--sci-mathematics/yacas/yacas-1.7.0-r1.ebuild3
2 files changed, 28 insertions, 1 deletions
diff --git a/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch b/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch
new file mode 100644
index 000000000000..b1ad58468e63
--- /dev/null
+++ b/sci-mathematics/yacas/files/yacas-1.7.0-desktop.patch
@@ -0,0 +1,26 @@
+From ab5ba061c9beecb00064cb5698f1196d38cf0b6d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 24 Jul 2019 10:07:44 +0200
+Subject: [PATCH] Fix desktop icon name
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ cyacas/yacas-gui/yacas-gui.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cyacas/yacas-gui/yacas-gui.desktop b/cyacas/yacas-gui/yacas-gui.desktop
+index b7d44574..ab509a2c 100644
+--- a/cyacas/yacas-gui/yacas-gui.desktop
++++ b/cyacas/yacas-gui/yacas-gui.desktop
+@@ -2,7 +2,7 @@
+ Name=yacas-gui
+ Comment=Yacas GUI
+ Exec=yacas-gui
+-Icon=yacas_gui
++Icon=yacas-gui
+ Terminal=false
+ Type=Application
+ Categories=Science;Math
+--
+2.22.0
+
diff --git a/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild b/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
index 99da4e3dd157..fdba42ce0213 100644
--- a/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
+++ b/sci-mathematics/yacas/yacas-1.7.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake-utils
+inherit cmake-utils desktop
DESCRIPTION="General purpose computer algebra system"
HOMEPAGE="http://www.yacas.org/"
@@ -41,6 +41,7 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}/${P}-gnuinstalldirs.patch"
+ "${FILESDIR}/${P}-desktop.patch"
"${FILESDIR}/${P}-use-bundled-not-external.patch" # bug 690534
)