summaryrefslogtreecommitdiff
path: root/games-util/qzdl/qzdl-99999999.ebuild
blob: 1d1566ac1baeb8adf9843644419d621530335838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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"
}