Browse Source

xap/omero-insight: Upgraded to omero-insight-5.5.2.

slackware-14.2
Damien Goutte-Gattat 3 years ago
parent
commit
dee569f82c
  1. 1
      xap/omero-insight/OMERO.insight-5.4.10-ice36-b105-linux.zip.sha256
  2. 1
      xap/omero-insight/OMERO.insight-5.5.2.zip.sha256
  3. 16
      xap/omero-insight/omero-insight.SlackBuild
  4. 9
      xap/omero-insight/omero.insight.sh

1
xap/omero-insight/OMERO.insight-5.4.10-ice36-b105-linux.zip.sha256

@ -1 +0,0 @@
65f621242089d276bb70e12a2fa6cf64fc2d13146c60e65c3427bad8ddb7b0be OMERO.insight-5.4.10-ice36-b105-linux.zip

1
xap/omero-insight/OMERO.insight-5.5.2.zip.sha256

@ -0,0 +1 @@
1cd58cfe108a40dd2f5559353c3585a0821b53f207cf9b50cc9301984327ffcd OMERO.insight-5.5.2.zip

16
xap/omero-insight/omero-insight.SlackBuild

@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-OMERO.insight}
VERSION=${VERSION:-5.4.10}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice36-b105-linux.zip}
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE}
VERSION=${VERSION:-5.5.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://github.com/ome/omero-insight/releases/download/v$VERSION/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-omero-insight}
@ -62,18 +62,16 @@ if [ ! -r $ARCHIVE ]; then
mv $ARCHIVE.part $ARCHIVE
fi
sha256sum -c $ARCHIVE.sha256
NAME=$NAMESRC-$VERSION-ice36-b105-linux
NAME=$NAMESRC-$VERSION
# Extract and install
mkdir -p $PKG/usr/lib
mkdir -p $PKG/usr/{bin,lib}
cd $PKG/usr/lib
unzip $CWD/$ARCHIVE
mv $NAME omero
cd omero
rm OMEROinsight_unix.sh INSTALL.txt
# Create launch script
install -D -m 755 $CWD/omero.insight.sh $PKG/usr/bin/omero.insight
rm bin/omero-insight.bat
ln -s /usr/lib/omero/bin/omero-insight $PKG/usr/bin/omero-insight
# Install desktop file
mkdir -p $PKG/usr/share/applications

9
xap/omero-insight/omero.insight.sh

@ -1,9 +0,0 @@
#!/bin/sh
if [ ! -d $XDG_DATA_HOME/omero ]; then
mkdir -p $XDG_DATA_HOME/omero
ln -s /usr/lib/omero/* $XDG_DATA_HOME/omero/
fi
cd $XDG_DATA_HOME/omero
exec java -Xms256m -Xmx1024m -jar omero.insight.jar
Loading…
Cancel
Save