commit 5c526e70cd57aac9c415fb8cb1ed80eefb8712ec
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Fri Jul 15 10:56:48 2022 +0100
fix
icon_fix.patch | 4 ++--
ltris.spec | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/icon_fix.patch b/icon_fix.patch
index ae867c0..455a81f 100644
--- a/icon_fix.patch
+++ b/icon_fix.patch
@@ -4,7 +4,7 @@
desktopdir = $(datadir)/applications
desktop_DATA = ltris.desktop
icondir = $(datadir)/icons
--icon_DATA = ltris48.gif
+-icon_DATA = ltris128.png
+icon_DATA = ltris.png
AUTOMAKE_OPTIONS = foreign
@@ -13,7 +13,7 @@
# the right way to handle it? At least it works... as long as $datadir
# does not contain plus signs. :-)
ltris.desktop:
-- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris48.gif+" \
+- @sed -e "s+Icon=+Icon=$(datadir)/icons/ltris128.png+" \
+ @sed -e "s+Icon=+Icon=ltris+" \
< ltris.desktop.in > ltris.desktop
diff --git a/ltris.spec b/ltris.spec
index 6d36a61..19d2fca 100644
--- a/ltris.spec
+++ b/ltris.spec
@@ -12,7 +12,6 @@ Patch1: icon_fix.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc
-BuildRequires: ImageMagick
BuildRequires: libappstream-glib
BuildRequires: SDL-devel
BuildRequires: SDL_mixer-devel
@@ -32,7 +31,7 @@ CPU(!) compete and send completed lines to each other.
%prep
%autosetup -p1
-convert ltris48.gif ltris.png
+mv ltris128.png ltris.png
%build
Show replies by date