summaryrefslogtreecommitdiff
path: root/graphics/qcomicbook/qcomicbook.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/qcomicbook/qcomicbook.SlackBuild')
-rw-r--r--graphics/qcomicbook/qcomicbook.SlackBuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/qcomicbook/qcomicbook.SlackBuild b/graphics/qcomicbook/qcomicbook.SlackBuild
index 42ddc73533..c81a58946a 100644
--- a/graphics/qcomicbook/qcomicbook.SlackBuild
+++ b/graphics/qcomicbook/qcomicbook.SlackBuild
@@ -73,6 +73,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Icon info in the desktop file should not have a file extension
+sed -i 's/\.png$//' data/qcomicbook.desktop
+
+# Remove the iCCP chunk from the PNG images to avoid warnings
+for i in data/*.png; do
+ mv $i $i.old.png
+ convert $i.old.png $i
+ rm $i.old.png
+done
+
cmake . \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$SLKCFLAGS -DNDEBUG" \
-DCMAKE_INSTALL_PREFIX=/usr \