sci-astronomy/stellarium: Fix sorting and patch name
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 5 Jan 2019 23:06:54 +0000 (00:06 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 5 Jan 2019 23:46:58 +0000 (00:46 +0100)
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-astronomy/stellarium/files/stellarium-0.18.2-as-needed.patch [moved from sci-astronomy/stellarium/files/stellarium-0.18.2.patch with 100% similarity]
sci-astronomy/stellarium/stellarium-0.18.2.ebuild

index 5b88d75bd45df626bd0ff12edb0312b367abe591..42b839f3719198c3121c02e798747f3415535352 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,10 +25,10 @@ IUSE="debug gps media nls stars test"
 RDEPEND="
        dev-qt/qtcore:5
        dev-qt/qtgui:5
-       dev-qt/qtopengl:5
-       dev-qt/qtscript:5
        dev-qt/qtnetwork:5
+       dev-qt/qtopengl:5
        dev-qt/qtprintsupport:5
+       dev-qt/qtscript:5
        dev-qt/qtserialport:5
        dev-qt/qtwidgets:5
        media-fonts/dejavu
@@ -43,7 +43,7 @@ DEPEND="${RDEPEND}
        test? ( dev-qt/qttest:5 )
 "
 
-PATCHES=( "${FILESDIR}"/${P}.patch )
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
 
 src_prepare() {
        cmake-utils_src_prepare
@@ -53,8 +53,8 @@ src_prepare() {
 src_configure() {
        local mycmakeargs=(
                -DENABLE_GPS="$(usex gps)"
-               -DENABLE_NLS="$(usex nls)"
                -DENABLE_MEDIA="$(usex media)"
+               -DENABLE_NLS="$(usex nls)"
                -DENABLE_TESTING="$(usex test)"
        )
        cmake-utils_src_configure