summaryrefslogtreecommitdiffstats
path: root/network/qtmib/qtmib.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/qtmib/qtmib.SlackBuild')
-rw-r--r--network/qtmib/qtmib.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/network/qtmib/qtmib.SlackBuild b/network/qtmib/qtmib.SlackBuild
index 3691475893..5fe40fe72b 100644
--- a/network/qtmib/qtmib.SlackBuild
+++ b/network/qtmib/qtmib.SlackBuild
@@ -26,6 +26,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20230103 bkw: BUILD=2
+# - one of upstream's icons is the wrong size...
+# - slack-desc, s/Qt4/Qt/ to match the README.
+
# 20211210 bkw:
# - update for 1.1.1+20190827_e62ab95 (latest git, supports qt5).
# - new-style icons.
@@ -39,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtmib
VERSION=${VERSION:-1.1.1+20190827_e62ab95}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -101,6 +105,10 @@ make
make install DESTDIR=$PKG
strip $PKG/usr/bin/*
+# 20230103 bkw: this icon is 256x257 (huh?)
+convert -resize 256x256! src/art/$PRGNAM-256.png x.png
+mv x.png src/art/$PRGNAM-256.png
+
HICOLOR=$PKG/usr/share/icons/hicolor/
PIXMAPS=$PKG/usr/share/pixmaps
for png in src/art/$PRGNAM-*.png; do