Browse Source

xap/omero-client: Do not bundle the ImageJ plugin.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
386d0f5788
  1. 1
      xap/omero-client/OMERO.insight-ij-5.0.2-ice35-b26.zip.sha1
  2. 19
      xap/omero-client/omero-client.SlackBuild

1
xap/omero-client/OMERO.insight-ij-5.0.2-ice35-b26.zip.sha1

@ -1 +0,0 @@
0efde1b997204b2767a701a9873c3c4266051699 OMERO.insight-ij-5.0.2-ice35-b26.zip

19
xap/omero-client/omero-client.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHI
# Build infos
NAMEPKG=${NAMEPKG:-omero-client}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -78,23 +78,6 @@ install -m 755 $CWD/omero.editor.sh $PKG/usr/bin/omero.editor
install -m 755 $CWD/omero.importer.sh $PKG/usr/bin/omero.importer
install -m 755 $CWD/omero.importer-cli.sh $PKG/usr/bin/omero.importer-cli
# Install Fiji plugin
if [ -d /usr/lib/fiji/plugins ]; then
IJ=OMERO.insight-ij-$VERSION-ice35-b26.zip
cd $CWD
if [ ! -r $IJ ]; then
wget -c -O $IJ.part "http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$IJ"
mv $IJ.part $IJ
fi
sha1sum -c $IJ.sha1
mkdir -p $PKG/usr/lib/fiji/plugins
( cd $PKG/usr/lib/fiji/plugins
unzip $CWD/$IJ
mv OMERO.insight-ij-$VERSION-ice35-b26 omero
)
fi
# Install desktop files
mkdir -p $PKG/usr/share/applications
install -m 644 $CWD/*.desktop $PKG/usr/share/applications

Loading…
Cancel
Save