Files
guru/games-util/qzdl/qzdl-99999999.ebuild
2025-09-08 19:05:20 +00:00

44 lines
717 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake desktop git-r3
DESCRIPTION="Qt version of the ZDL ZDoom launcher"
HOMEPAGE="https://zdl.vectec.net/wiki/Main_Page"
EGIT_REPO_URI="https://github.com/qbasicer/qzdl.git"
PROPERTIES="live"
LICENSE="GPL-3"
SLOT="0"
DEPEND="
dev-libs/inih
dev-qt/qtbase:6[widgets]
"
RDEPEND="${DEPEND}"
BDEPEND="
dev-qt/qtbase:6
"
PATCHES=(
"${FILESDIR}"/${PN}-cmake.patch
)
src_configure() {
local mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
)
cmake_src_configure
}
src_install() {
dobin "${BUILD_DIR}/zdl"
doicon -s scalable res/zdl3.svg
make_desktop_entry zdl "ZDL" zdl3 "Game;ActionGame"
}