aboutsummaryrefslogtreecommitdiff
path: root/academic/stellarium
diff options
context:
space:
mode:
Diffstat (limited to 'academic/stellarium')
-rw-r--r--academic/stellarium/stellarium.SlackBuild11
-rw-r--r--academic/stellarium/stellarium.info8
2 files changed, 9 insertions, 10 deletions
diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild
index e901214426e72..e92a95cd476d8 100644
--- a/academic/stellarium/stellarium.SlackBuild
+++ b/academic/stellarium/stellarium.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=stellarium
-VERSION=${VERSION:-0.12.4}
+VERSION=${VERSION:-0.13.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,23 +64,22 @@ tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DLIB_SUFFIX="$LIBDIRSUFFIX" \
-DCMAKE_BUILD_TYPE="release" \
..
make
make install DESTDIR=$PKG
cd -
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
mv $PKG/usr/share/man $PKG/usr
diff --git a/academic/stellarium/stellarium.info b/academic/stellarium/stellarium.info
index 7b38ae07642ab..8a4ee8276019e 100644
--- a/academic/stellarium/stellarium.info
+++ b/academic/stellarium/stellarium.info
@@ -1,10 +1,10 @@
PRGNAM="stellarium"
-VERSION="0.12.4"
+VERSION="0.13.1"
HOMEPAGE="http://www.stellarium.org"
-DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.12.4.tar.gz"
-MD5SUM="4d2ec96b9b4d9c8fc722f864409cf4fa"
+DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.13.1.tar.gz"
+MD5SUM="35ed2e967a7b4f8c431afe9fafbe60c8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt5"
MAINTAINER="Alan Alberghini"
EMAIL="414N@slacky.it"