Skip to content

Commit

Permalink
games-fps/doomsday: Set QMAKE directly w/ qmake-utils, drop QT_SELECT
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/755974
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Nov 22, 2020
1 parent 93884e6 commit d0031e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions games-fps/doomsday/doomsday-2.1.1-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ EAPI=7

PYTHON_COMPAT=( python3_{6,7} )

inherit cmake python-any-r1 readme.gentoo-r1
inherit cmake python-any-r1 qmake-utils readme.gentoo-r1

DESCRIPTION="A modern gaming engine for Doom, Heretic, and Hexen"
HOMEPAGE="https://www.dengine.net"
SRC_URI="https://downloads.sourceforge.net/project/deng/Doomsday%20Engine/${PV}/${P}.tar.gz"

LICENSE="GPL-3+ LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
Expand All @@ -31,8 +32,7 @@ RDEPEND="
tools? ( sys-libs/ncurses:0= )
"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
BDEPEND="${PYTHON_DEPS}
virtual/pkgconfig
"
PDEPEND="
Expand All @@ -52,11 +52,11 @@ src_prepare() {
}

src_configure() {
export QT_SELECT=qt5
local mycmakeargs=(
-DDENG_ASSIMP_EMBEDDED="OFF"
-DDENG_ENABLE_TOOLS="$(usex tools)"
-DPYTHON_EXECUTABLE="${PYTHON}"
-DQMAKE=$(qt5_get_bindir)/qmake
)
cmake_src_configure
}
Expand Down

0 comments on commit d0031e9

Please sign in to comment.