aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@linuxgalaxy.org>2024-11-29 13:11:56 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-30 15:53:19 +0700
commit2cd25f65fce02d6f3a5a176a656b08de486bb309 (patch)
treef4c96d28d65feb73e300dea27b31de6b86ebdca7
parent6660a90b427911b9c23818ae9684a50aa4664206 (diff)
academic/stellarsolver: Updated for version 2.6
Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/stellarsolver/README6
-rw-r--r--academic/stellarsolver/stellarsolver.SlackBuild9
-rw-r--r--academic/stellarsolver/stellarsolver.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/academic/stellarsolver/README b/academic/stellarsolver/README
index 7bf9e1a087..d643734df5 100644
--- a/academic/stellarsolver/README
+++ b/academic/stellarsolver/README
@@ -9,3 +9,9 @@ coordinates of any object on the image or synchronize the telescope
mount or satellite pointing position to the center of the image taken.
stellarsolver is required to compile Kstars with INDI support.
+
+For initial QT6 support, try
+
+QT6=yes ./stellarsolver.SlackBuild
+
+NOTE: Kstars still requires QT5 support.
diff --git a/academic/stellarsolver/stellarsolver.SlackBuild b/academic/stellarsolver/stellarsolver.SlackBuild
index 8dec189d67..6e2e31d671 100644
--- a/academic/stellarsolver/stellarsolver.SlackBuild
+++ b/academic/stellarsolver/stellarsolver.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=stellarsolver
-VERSION=${VERSION:-2.4}
+VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,12 +85,19 @@ 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 {} \;
+if [ "QT6=${QT6:-no}" = "yes" ]; then
+ USEQT6="-DUSE_QT5=no"
+else
+ USEQT6=""
+fi
+
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
+ $USEQT6 \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTER=ON ..
make
diff --git a/academic/stellarsolver/stellarsolver.info b/academic/stellarsolver/stellarsolver.info
index 106ea0e7ce..82311bf651 100644
--- a/academic/stellarsolver/stellarsolver.info
+++ b/academic/stellarsolver/stellarsolver.info
@@ -1,10 +1,10 @@
PRGNAM="stellarsolver"
-VERSION="2.4"
+VERSION="2.6"
HOMEPAGE="https://github.com/rlancaste/stellarsolver"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://github.com/rlancaste/stellarsolver/archive/2.4/stellarsolver-2.4.tar.gz"
-MD5SUM_x86_64="a4a92e7c2dc296d7fcbc814134d45886"
+DOWNLOAD_x86_64="https://github.com/rlancaste/stellarsolver/archive/2.6/stellarsolver-2.6.tar.gz"
+MD5SUM_x86_64="f01db3dfcbab439b1b09d78f4833b1a6"
REQUIRES="wcslib"
MAINTAINER="Edward W. Koenig"
EMAIL="kingbeowulf@linuxgalaxy.org"