pkgsrc/misc/stellarium/patches/patch-ae
drochner 0ca4e622d2 update to 0.12.0
from the announcement:
This release brings some interesting new features:
- New rendering engine (Now you can see shadows on planets surfaces).
- New key-binding engine (Now all key-bindings can be edited).
- Improvements to scripting engine.
- Improvements to DSO
- Improvements to search tool
- Improved accuracy for archaeo-astronomical events
There have also been a large number of bug fixes and GUI improvements.
We are strongly recommended resetting all Stellarium settings
if you upgrade your previous installation!
2013-02-05 17:45:05 +00:00

44 lines
1.4 KiB
Text

$NetBSD: patch-ae,v 1.4 2013/02/05 17:45:05 drochner Exp $
--- CMakeLists.txt.orig 2013-01-31 11:44:06.000000000 +0000
+++ CMakeLists.txt
@@ -46,7 +46,6 @@ ENDIF()
ADD_DEFINITIONS(-DSTELLARIUM_SPLASH="${STELLARIUM_SPLASH}")
IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
- SET(APPLE 1)
ENDIF()
IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
@@ -308,14 +307,10 @@ ENDIF()
########### Set some global variables ###########
IF(UNIX AND NOT WIN32)
-IF(APPLE)
- SET(CMAKE_INSTALL_PREFIX "${PROJECT_BINARY_DIR}/Stellarium.app/Contents")
-ELSE(APPLE)
ADD_DEFINITIONS(-DINSTALL_DATADIR="${CMAKE_INSTALL_PREFIX}/share/stellarium")
ADD_DEFINITIONS(-DINSTALL_LOCALEDIR="${CMAKE_INSTALL_PREFIX}/share/locale")
# Used in generating the documentation (doc/stellarium.pod.cmake):
SET(INSTALL_DATADIR "${CMAKE_INSTALL_PREFIX}/share/stellarium")
-ENDIF(APPLE)
ELSE(UNIX AND NOT WIN32)
ADD_DEFINITIONS(-DINSTALL_DATADIR=".")
ADD_DEFINITIONS(-DINSTALL_LOCALEDIR="./locale")
@@ -448,16 +443,6 @@ IF(GENERATE_PACKAGE_TARGET)
ENDIF()
########### Macosx Bundling ###############
-IF(APPLE)
-ADD_CUSTOM_TARGET(
- macosx_bundle
- bash util/macosx_bundle.sh ${CMAKE_INSTALL_PREFIX} ${PROJECT_SOURCE_DIR}
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/Stellarium.app
- WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
- COMMENT "making the macosx bundle."
- VERBATIM
-)
-ENDIF()
########### Generate doxygen doc ###############