libraries/libindi-drivers: Updated for version 1.9.7

Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2022-08-17 18:21:44 -07:00 committed by Willy Sudiarto Raharjo
parent 66428a7bee
commit bd9166db3c
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 22 additions and 28 deletions

View file

@ -5,7 +5,14 @@ instrumentation. INDI is small, flexible, easy to parse, and scalable.
It supports common DCS functions such as remote control, data
acquisition, monitoring, and a lot more.
This script builds several third party hardware drivers.
This script builds several third party hardware drivers. The required
build and install sequence is:
libindi -> libindi-libraries -> libindidrivers
Some optional hardware dependecies are:
fxload download firmware into FX, FX2, and FX2LP EZ-USB devices
and devices and I2C serial EEPROMs (SBo)
Notes:
1. Some of the drivers will need additional configuration of their

View file

@ -0,0 +1,3 @@
if [ -x /sbin/udevadm ]; then
/sbin/udevadm control --reload-rules >/dev/null 2>&1 && /sbin/udevadm trigger >/dev/null 2>&1
fi

View file

@ -2,7 +2,7 @@
# Slackware build script for libindi
# Copyright 2018 Edward W. Koenig, Vancouver, WA, USA
# Copyright 2018, 2022 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libindi-drivers
SRCNAM="indi-3rdparty"
VERSION=${VERSION:-1.9.4}
VERSION=${VERSION:-1.9.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -89,32 +89,15 @@ find -L . \
sed -i '/#include <stdint.h>/a #include <cstddef>' indi-celestronaux/auxproto.h
# Note: Some drivers disabled since no buildscripts exist on SBo yet.
# libqhy: SDK including firmware and drivers for QHY astronomy camaras.
# libqsi: support for Quantum Scientific Imaging CCDs & Filter Wheels driver
# libsbigudev: firmware for Santa Barbra Instruments Group line of CCDs & Filter Wheels
# libinovasdk: support for i.Nova PLx series CCD/CMOS cameras driver
# libfli: support for Finger Lakes Instruments CCD and Focuser driver
# libapogee: support for Apogee Alta (U & E) line of CCDs
# libfishcamp: support for Fishcamp Engineering's Starfish CMOS autoguider
# libdspau: support for Realtek RTL2832U chip driven receivers
#
# These libraries, some included in the 3rdparty source, will be added as I create
# the install scripts.
# There may be other runtime dependencies.
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir -p build
cd build
mkdir -p build
cd $TMP/$SRCNAM-$VERSION/build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_QHY:OPTION=OFF \
-DWITH_QSI:OPTION=OFF \
-DWITH_SBIG:OPTION=OFF \
-DWITH_INOVAPLX:OPTION=OFF \
-DWITH_FLI:OPTION=OFF \
-DWITH_APOGEE:OPTION=OFF \
-DWITH_FISHCAMP:OPTION=OFF \
-DWITH_RTLSDR:OPTION=OFF \
-DWITH_LIMESDR:OPTION=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@ -128,6 +111,7 @@ cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG

View file

@ -1,10 +1,10 @@
PRGNAM="libindi-drivers"
VERSION="1.9.4"
VERSION="1.9.7"
HOMEPAGE="https://www.indilib.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://github.com/indilib/indi-3rdparty/archive/v1.9.4/indi-3rdparty-1.9.4.tar.gz"
MD5SUM_x86_64="0c48b6f1fa3d96cbf0fad6c0232ccd95"
REQUIRES="libdc1394 libindi libftdi1 gpsd"
DOWNLOAD_x86_64="https://github.com/indilib/indi-3rdparty/archive/v1.9.7/indi-3rdparty-1.9.7.tar.gz"
MD5SUM_x86_64="d756d3e9184349145e4e2669c19c71c6"
REQUIRES="libindi libindi-libraries"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@linuxgalaxy.org"