stellarium: drop only_for_archs

Closes: #1076 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
newbluemoon 2018-07-18 09:40:16 +02:00 committed by Jürgen Buchmüller
parent 1bf037c0c8
commit 223d437234
No known key found for this signature in database
GPG Key ID: 6764EC32352D0647
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,27 @@
--- CMakeLists.txt.orig 2018-07-01 08:04:19.000000000 +0200
+++ CMakeLists.txt 2018-07-17 08:52:24.193931980 +0200
@@ -418,24 +418,6 @@
ADD_DEFINITIONS(-DUSE_OLD_QGLWIDGET)
ENDIF()
-# Since Qt 5.4, linking to OpenGL is basically not required anymore,
-# because the QtGui module re-implements the GL functions, and perhaps even
-# dispatches the calls to a dynamically selected GL library.
-#
-# The only exception where this does not work with CMake is for
-# ES2-only/ANGLE-only builds, which are seemingly not included in
-# official Qt downloads, but may be required as a custom build
-# for some embedded systems. Interestingly, this works with qmake,
-# but CMake needs an explicit link definition.
-# See also this bug: https://bugreports.qt.io/browse/QTBUG-29132
-
-# Check if we have a GLES-only build
-# On dynamic builds, this property is also "GL"
-IF(${Qt5Gui_OPENGL_IMPLEMENTATION} MATCHES "GLES")
- MESSAGE(STATUS "Building an OpenGL ES build (${Qt5Gui_OPENGL_IMPLEMENTATION})")
- SET(STEL_GLES_LIBS Qt5::Gui_EGL Qt5::Gui_GLESv2)
-ENDIF()
-
# Tell CMake to run moc when necessary:
SET(CMAKE_AUTOMOC ON)

View File

@ -13,4 +13,3 @@ license="GPL-2.0-or-later"
homepage="http://www.stellarium.org/"
distfiles="https://github.com/Stellarium/stellarium/releases/download/v${version}/stellarium-${version}.tar.gz"
checksum=38d34538f3dc87943bc2977aeb1c099339b0ea1da63a3565e36409e165e6536e
only_for_archs="i686 i686-musl x86_64 x86_64-musl"