From 35f44917c7142e5460b2af9857f308fb147a4ab3 Mon Sep 17 00:00:00 2001 From: Alan Alberghini <414N@slacky.it> Date: Mon, 8 Jan 2024 08:21:38 +0700 Subject: [PATCH] academic/stellarium: Updated for version 23.4. Signed-off-by: Willy Sudiarto Raharjo --- academic/stellarium/stellarium.SlackBuild | 16 ++++++++++------ academic/stellarium/stellarium.info | 20 +++++++++++--------- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild index c1d6344314..fa3ce9900c 100644 --- a/academic/stellarium/stellarium.SlackBuild +++ b/academic/stellarium/stellarium.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=stellarium -VERSION=${VERSION:-23.1} -BUILD=${BUILD:-2} +VERSION=${VERSION:-23.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,7 +69,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION chown -R root:root . @@ -85,22 +85,25 @@ find -L . \ # CPM normally puts downloaded deps under this dir CPM_CACHE_DIR=$TMP/$PRGNAM-$VERSION/build/_deps -CPM_SHOWMYSKY_VERSION=0fb93ef8e602c463f167f7727d4d80382033caca -CPM_QXSLX_VERSION=1.4.5 +CPM_SHOWMYSKY_VERSION=v0.3.1 +CPM_QXSLX_VERSION=1.4.6 CPM_INDI_VERSION=1.8.5 CPM_GLM_VERSION=0.9.9.8 +CPM_NLOPT_VERSION=v2.7.1 # We need to match dependencies names used in cmake files with the # actual dependency tarball names declare -A CPM_SOURCE CPM_DEST CPM_SOURCE["SHOWMYSKY"]="$CWD/CalcMySky-$CPM_SHOWMYSKY_VERSION.tar.gz" -CPM_SOURCE["QXLSX"]="$CWD/QXlsx-$CPM_QXSLX_VERSION.tar.gz" +CPM_SOURCE["QXLSX"]="$CWD/QXlsx-v$CPM_QXSLX_VERSION.tar.gz" CPM_SOURCE["INDI"]="$CWD/indi-$CPM_INDI_VERSION.zip" CPM_SOURCE["GLM"]="$CWD/glm-$CPM_GLM_VERSION.7z" +CPM_SOURCE["NLOPT"]="$CWD/nlopt-$CPM_NLOPT_VERSION.tar.gz" CPM_DEST["SHOWMYSKY"]="$CPM_CACHE_DIR/showmysky-qt5-subbuild/showmysky-qt5-populate-prefix/src/$CPM_SHOWMYSKY_VERSION.tar.gz" CPM_DEST["QXLSX"]="$CPM_CACHE_DIR/qxlsxqt5-subbuild/qxlsxqt5-populate-prefix/src/v$CPM_QXSLX_VERSION.tar.gz" CPM_DEST["INDI"]="$CPM_CACHE_DIR/indiclient-subbuild/indiclient-populate-prefix/src/v$CPM_INDI_VERSION.zip" CPM_DEST["GLM"]="$CPM_CACHE_DIR/glm-subbuild/glm-populate-prefix/src/glm-$CPM_GLM_VERSION.7z" +CPM_DEST["NLOPT"]="$CPM_CACHE_DIR/nlopt-subbuild/nlopt-populate-prefix/src/$CPM_NLOPT_VERSION.tar.gz" for dep in "${!CPM_SOURCE[@]}" do @@ -116,6 +119,7 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release .. diff --git a/academic/stellarium/stellarium.info b/academic/stellarium/stellarium.info index 5dc7c24455..df1c008e58 100644 --- a/academic/stellarium/stellarium.info +++ b/academic/stellarium/stellarium.info @@ -1,16 +1,18 @@ PRGNAM="stellarium" -VERSION="23.1" +VERSION="23.4" HOMEPAGE="http://www.stellarium.org" -DOWNLOAD="https://github.com/Stellarium/stellarium/releases/download/v23.1/stellarium-23.1.tar.xz \ -https://github.com/10110111/CalcMySky/archive/0fb93ef8e602c463f167f7727d4d80382033caca/CalcMySky-0fb93ef8e602c463f167f7727d4d80382033caca.tar.gz \ -https://github.com/QtExcel/QXlsx/archive/v1.4.5/QXlsx-1.4.5.tar.gz \ +DOWNLOAD="https://github.com/Stellarium/stellarium/releases/download/v23.4/stellarium-23.4.tar.xz \ +https://github.com/10110111/CalcMySky/archive/refs/tags/v0.3.1/CalcMySky-v0.3.1.tar.gz \ +https://github.com/QtExcel/QXlsx/archive/refs/tags/v1.4.6/QXlsx-v1.4.6.tar.gz \ https://github.com/indilib/indi/archive/v1.8.5/indi-1.8.5.zip \ -https://github.com/g-truc/glm/releases/download/0.9.9.8/glm-0.9.9.8.7z" -MD5SUM="ef30b1518ee11e2d6aec364e4533ee22 \ -cbde9d4d6e657ee0b1d4cce98e00a3e7 \ -1ad39475ce027febc7b556942aef3fea \ +https://github.com/g-truc/glm/releases/download/0.9.9.8/glm-0.9.9.8.7z \ +https://github.com/stevengj/nlopt/archive/refs/tags/v2.7.1/nlopt-v2.7.1.tar.gz" +MD5SUM="c44271c128de0f2830ce465574e28ce8 \ +88def58da627a30135cd1871fffa5577 \ +fdc7a2bf239bd0ff84f6058694dcd9f9 \ 14a092a9eb2117e5c51ba3302197e097 \ -c8342552801ebeb31497288192c4e793" +c8342552801ebeb31497288192c4e793 \ +ed1a3000a1c8c248d51df126dfcfaa78" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""