diff options
author | Edward W. Koenig <kingbeowulf@linuxgalaxy.org> | 2022-08-17 18:21:44 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-20 10:06:47 +0700 |
commit | bd9166db3c58306bad1b449d1562179ab25b08a7 (patch) | |
tree | 96b6c88c7c5f99fcb74adb32fc345380521626cf /libraries/libindi-drivers | |
parent | 66428a7beef3681d7ec7d43208946330d205cf4e (diff) |
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>
Diffstat (limited to 'libraries/libindi-drivers')
-rw-r--r-- | libraries/libindi-drivers/README | 9 | ||||
-rw-r--r-- | libraries/libindi-drivers/doinst.sh | 3 | ||||
-rw-r--r-- | libraries/libindi-drivers/libindi-drivers.SlackBuild | 30 | ||||
-rw-r--r-- | libraries/libindi-drivers/libindi-drivers.info | 8 |
4 files changed, 22 insertions, 28 deletions
diff --git a/libraries/libindi-drivers/README b/libraries/libindi-drivers/README index fe21a24a4450e..0c79cd58a3fb2 100644 --- a/libraries/libindi-drivers/README +++ b/libraries/libindi-drivers/README @@ -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 diff --git a/libraries/libindi-drivers/doinst.sh b/libraries/libindi-drivers/doinst.sh new file mode 100644 index 0000000000000..47e1cb12cb445 --- /dev/null +++ b/libraries/libindi-drivers/doinst.sh @@ -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 diff --git a/libraries/libindi-drivers/libindi-drivers.SlackBuild b/libraries/libindi-drivers/libindi-drivers.SlackBuild index 5cd4295563698..6bcab1b5abef1 100644 --- a/libraries/libindi-drivers/libindi-drivers.SlackBuild +++ b/libraries/libindi-drivers/libindi-drivers.SlackBuild @@ -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 diff --git a/libraries/libindi-drivers/libindi-drivers.info b/libraries/libindi-drivers/libindi-drivers.info index 4c37eb94bce75..0287502a29100 100644 --- a/libraries/libindi-drivers/libindi-drivers.info +++ b/libraries/libindi-drivers/libindi-drivers.info @@ -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" |