Info2: << Package: stellarium-%type_pkg[qt] # Can't update to newer versions in the qt4-based releases since our # qt4 is too old. :( # Upstream now uses qt5, which fink only has for -mac not -x11. # And it needs newer qt5 than we have (and recognizes that they often # have transient incompatibilities with specific versions) Version: 0.11.0 Revision: 5 Type: qt (x11) Description: Real time 3D sky renderer Maintainer: Daniel Johnson Source: mirror:sourceforge:stellarium/stellarium-%v.tar.gz Source-Checksum: SHA256(dbedf47dd0744fb325d67d63d1279101be7f4259af2a5e8027f1072012dd2587) PatchFile: stellarium.patch PatchFile-MD5: 5a98be7f778d9a54dbfa41416cc8816c PatchScript: << %{default_script} perl -pi -e 's/int GLhandleARB/void *GLhandleARB/' src/core/external/GLee.h << BuildDepends: << cmake (>= 2.8.4-1), fink-buildenv-modules (>= 0.1.3-1), fink-package-precedence, gettext-tools, libgettext8-dev, ( %type_pkg[qt] = x11 ) libgl-dev, libiconv-dev, phonon-%type_pkg[qt] (>= 4.5.0-1), qt4-base-%type_pkg[qt] (>= 4.7.3-1) << Depends: << libgettext8-shlibs, ( %type_pkg[qt] = x11 ) libgl-shlibs, libiconv, phonon-%type_pkg[qt]-shlibs (>= 4.5.0-1), qt4-base-%type_pkg[qt]-qtcore-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtgui-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtnetwork-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtopengl-shlibs (>= 4.7.3-1), qt4-base-%type_pkg[qt]-qtscript-shlibs (>= 4.7.3-1) << Conflicts: stellarium (<< 0.10.2-3), stellarium-x11 (<< 0.10.2-3) Replaces: stellarium (<< 0.10.2-3), stellarium-x11 (<< 0.10.2-3) GCC: 4.0 CompileScript: << #!/bin/bash -ev . %p/sbin/fink-buildenv-helper.sh mkdir -p build/unix cd build/unix if [ %type_raw[qt] = x11 ]; then params="-DOPENGL_gl_LIBRARY:FILEPATH=$X11_BASE_DIR/lib/libGL.dylib -DOPENGL_glu_LIBRARY:FILEPATH=$X11_BASE_DIR/lib/libGLU.dylib -DOPENGL_INCLUDE_DIR:PATH=$X11_BASE_DIR/include -DCMAKE_EXE_LINKER_FLAGS=-L$X11_BASE_DIR/lib -DCMAKE_INSTALL_PREFIX:PATH=%p" else params="-DAPPLE_APP=1 -DCMAKE_INSTALL_PREFIX:PATH=%p/Applications/stellarium.app/Contents" cpp_flags=-DMACOSX_APP fi cmake -DCMAKE_PREFIX_PATH:PATH=%p \ -DQT_QMAKE_EXECUTABLE:FILEPATH=%p/lib/qt4-%type_pkg[qt]/bin/qmake \ -DENABLE_SOUND=1 \ -DCMAKE_C_FLAGS:STRING="-MD $cpp_flags" \ -DCMAKE_CXX_FLAGS:STRING="-MD $cpp_flags" \ $params \ ../.. make cd ../.. fink-package-precedence --depfile-ext='\.d' . << InstallScript: << #!/bin/bash -ev cd build/unix make install DESTDIR=%d if [ "%type_pkg[qt]" = "mac" ]; then cd ../.. /bin/bash util/macosx_bundle.sh %i/Applications/stellarium.app/Contents . chmod -R o-w '%i/Applications/' fi << DescDetail: << Stellarium renders a real time, photorealistic 3D image of the sky using OpenGL. Its features include: Over 120000 stars from the Hipparcos Catalogue with name and info for the brightest ones. Planets and major satellites in real time, with a powerfull zoom mode to see them like in a telescope. Planet position computation now accurate enough for eclipse or transit simulation. Drawing of the 88 constellations with their names. Textured displaying of more than 70 nebulas (Orion, M31 etc..). Photorealistic Milky Way. Ground, fog, and landscape. Ultra fast realistic atmosphere rendering. Automatic eye adaptation to luminance. Star twinkling. Smooth real time intuitive navigation. Equatorial and altazimutal mode. Fisheye projection mode (e.g for planetarium dome). Grids in Equatorial and Azimuthal coordinates. Time control (real time and accelered time modes). Graphical menu for simple utilisation. Clikable stars, planets and nebulas with information. Ecliptic and celestrial equator lines. Windowed and fullscreen modes. << DescUsage: << stellarium-mac installs as %p/Applications/stellarium.app stellarium-x11 installs as %p/bin/stellarium << DescPackaging: << dmacks: * tweak .pod (not all perls can handle non-ASCII chars) See: https://github.com/Stellarium/stellarium/issues/1579 * fix StelFileMgr.hpp header-guard warning See: https://github.com/Stellarium/stellarium/issues/1580 * untangle CMAKE_*_FLAGS in CMakeLists.txt << DocFiles: AUTHORS ChangeLog COPYING README License: GPL2+ Homepage: http://stellarium.sourceforge.net/ <<