diff --git a/srcpkgs/goxel/template b/srcpkgs/goxel/template index f8a92c0ce8..4f43ebae38 100644 --- a/srcpkgs/goxel/template +++ b/srcpkgs/goxel/template @@ -1,6 +1,6 @@ # Template file for 'goxel' pkgname=goxel -version=0.7.3 +version=0.8.0 revision=1 build_style=scons make_build_args="debug=0 werror=0" @@ -11,7 +11,7 @@ maintainer="John " license="GPL-3.0-or-later" homepage="https://guillaumechereau.github.io/goxel/" distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz" -checksum=56790d96d9d52d37765ac5c59f924c007885daaa6fb2129baea51dff5380c15c +checksum=2fb9328e27b4f24f2ddff9e79f01832661fd626b52fa0079039cbb64a3e704ca if [ "$CROSS_BUILD" ];then pre_build() { @@ -21,11 +21,16 @@ fi case "$XBPS_TARGET_MACHINE" in *-musl) makedepends+=" argp-standalone";; + i686*) make_build_args+=" cycles=0";; esac do_install() { - sed -i 's|${SNAP}/icon.png|/usr/share/icons/goxel.png|' snap/gui/goxel.desktop + sed -i 's|${SNAP}/icon.png|goxel.png|' snap/gui/goxel.desktop vbin goxel vinstall snap/gui/goxel.desktop 644 usr/share/applications - vinstall icon.png 644 usr/share/icons goxel.png + for size in 16 24 32 48 64 128 256; do + vinstall data/icons/icon${size}.png 644 \ + usr/share/icons/hicolor/${size}x${size}/apps goxel.png + done + vinstall snap/gui/io.github.guillaumechereau.Goxel.appdata.xml 644 usr/share/metainfo }