aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-17 07:44:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-17 07:44:54 +0700
commit55a07ecc21fdfa31a3f90d5b50630b261e1e1d23 (patch)
tree72a7608c9548434e2c12056d2c92cb2cf4b6fe62
parenteeaa4452b7ca1806813b86e6a57888b63efa8bc0 (diff)
academic/stellarium: Updated for version 0.13.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/stellarium/stellarium-0.13.3-qt55.patch23
-rw-r--r--academic/stellarium/stellarium.SlackBuild4
-rw-r--r--academic/stellarium/stellarium.info6
3 files changed, 29 insertions, 4 deletions
diff --git a/academic/stellarium/stellarium-0.13.3-qt55.patch b/academic/stellarium/stellarium-0.13.3-qt55.patch
new file mode 100644
index 000000000000..b4f7d5a44421
--- /dev/null
+++ b/academic/stellarium/stellarium-0.13.3-qt55.patch
@@ -0,0 +1,23 @@
+diff -ur -x CMakeFiles -x Makefile -x 'CMake*' stellarium-0.13.3/work/stellarium-0.13.3/src/CLIProcessor.hpp stellarium-0.13.3-new/work/stellarium-0.13.3/src/CLIProcessor.hpp
+--- src/CLIProcessor.hpp 2015-03-08 12:41:55.000000000 +0100
++++ src/CLIProcessor.hpp 2015-07-12 13:29:36.059179087 +0200
+@@ -21,6 +21,7 @@
+ #define CLIPROCESSOR_HPP
+
+ #include <QStringList>
++#include <QVariant>
+
+ class QSettings;
+
+diff -ur -x CMakeFiles -x Makefile -x 'CMake*' stellarium-0.13.3/work/stellarium-0.13.3/src/core/StelSkyCultureMgr.hpp stellarium-0.13.3-new/work/stellarium-0.13.3/src/core/StelSkyCultureMgr.hpp
+--- src/core/StelSkyCultureMgr.hpp 2015-03-08 12:41:55.000000000 +0100
++++ src/core/StelSkyCultureMgr.hpp 2015-07-12 13:28:32.589064791 +0200
+@@ -23,6 +23,7 @@
+ #include <QMap>
+ #include <QString>
+ #include <QStringList>
++#include <QObject>
+
+ //! @class StelSkyCulture
+ //! Store basic info about a sky culture for stellarium.
+
diff --git a/academic/stellarium/stellarium.SlackBuild b/academic/stellarium/stellarium.SlackBuild
index 831e6ed95f8d..9c7c9b976abe 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.13.2}
+VERSION=${VERSION:-0.13.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,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 {} \;
+patch -p0 < $CWD/stellarium-0.13.3-qt55.patch
+
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
diff --git a/academic/stellarium/stellarium.info b/academic/stellarium/stellarium.info
index 1605c87b7ed4..67bab6b6cfb8 100644
--- a/academic/stellarium/stellarium.info
+++ b/academic/stellarium/stellarium.info
@@ -1,8 +1,8 @@
PRGNAM="stellarium"
-VERSION="0.13.2"
+VERSION="0.13.3"
HOMEPAGE="http://www.stellarium.org"
-DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.13.2.tar.gz"
-MD5SUM="5839c51b75bdce2c307d7720e2c64d46"
+DOWNLOAD="http://downloads.sourceforge.net/stellarium/stellarium-0.13.3.tar.gz"
+MD5SUM="e967c48939a6606a5e5e017b3096fe90"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"