summaryrefslogtreecommitdiff
path: root/libraries/libindi-drivers
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-06 21:00:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-07 23:02:01 +0700
commit808bea61fb472a704fd38c8d62e3d6b152e1bc30 (patch)
tree474cb342acf7d4fee32b07e1dbc7f43be970529b /libraries/libindi-drivers
parent1394ba0346a4a8a2c137b42141f5848b9c844604 (diff)
downloadslackbuilds-808bea61fb472a704fd38c8d62e3d6b152e1bc30.tar.gz
libraries/libindi-drivers: Updated for version 1.9.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libindi-drivers')
-rw-r--r--libraries/libindi-drivers/libindi-drivers.SlackBuild17
-rw-r--r--libraries/libindi-drivers/libindi-drivers.info8
2 files changed, 11 insertions, 14 deletions
diff --git a/libraries/libindi-drivers/libindi-drivers.SlackBuild b/libraries/libindi-drivers/libindi-drivers.SlackBuild
index a91e30c65b..c505bbbcad 100644
--- a/libraries/libindi-drivers/libindi-drivers.SlackBuild
+++ b/libraries/libindi-drivers/libindi-drivers.SlackBuild
@@ -25,9 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libindi-drivers
-SRCNAM="libindi_3rdparty_"
-DRIVER=3rdparty
-VERSION=${VERSION:-1.6.2}
+SRCNAM="indi-3rdparty"
+VERSION=${VERSION:-1.9.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,9 +70,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $DRIVER
-tar xvf $CWD/$SRCNAM$VERSION.tar.gz
-cd $DRIVER
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -81,6 +80,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+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
@@ -116,10 +117,6 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# fixup udev rules in the wrong dir
-mv $PKG/etc/udev/rules.d/99-meadedsi.rules $PKG/lib/udev/rules.d/
-rm -rf $PKG/etc
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libindi-drivers/libindi-drivers.info b/libraries/libindi-drivers/libindi-drivers.info
index 3207b5f791..a934dc97f9 100644
--- a/libraries/libindi-drivers/libindi-drivers.info
+++ b/libraries/libindi-drivers/libindi-drivers.info
@@ -1,10 +1,10 @@
PRGNAM="libindi-drivers"
-VERSION="1.6.2"
+VERSION="1.9.4"
HOMEPAGE="https://www.indilib.org/"
-DOWNLOAD="https://github.com/indilib/indi/releases/download/v1.6.2/libindi_3rdparty_1.6.2.tar.gz"
-MD5SUM="189ebc46abf04889a26c4a6a5b835709"
+DOWNLOAD="https://github.com/indilib/indi-3rdparty/archive/v1.9.4/indi-3rdparty-1.9.4.tar.gz"
+MD5SUM="0c48b6f1fa3d96cbf0fad6c0232ccd95"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="libindi libftdi1 gpsd"
+REQUIRES="libdc1394 libindi libftdi1 gpsd"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@gmail.com"