mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
66428a7bee
commit
bd9166db3c
4 changed files with 22 additions and 28 deletions
|
@ -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
|
||||
|
|
3
libraries/libindi-drivers/doinst.sh
Normal file
3
libraries/libindi-drivers/doinst.sh
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue