DumbDoom-1.1illogician-overlay
download
# Copyright 2025-2026 illogician <[email protected]>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic go-module desktop
DESCRIPTION="A Doom and Doom II launcher that isn't smart"
HOMEPAGE="https://codeberg.org/illogician/DumbDoom"
SRC_URI="https://codeberg.org/illogician/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://codeberg.org/illogician/illogician-overlay/raw/branch/main/games-fps/DumbDoom/${PN}-1.1+-vendor.tar.xz"
S="${WORKDIR}/dumbdoom"
LICENSE="GPL-3+ MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+wayland"
BDEPEND="dev-lang/go
sys-devel/gcc
x11-libs/gtk+:3
wayland? ( x11-libs/gtk+:3[wayland] )
dev-util/pkgconf
"
src_unpack() {
default
}
src_prepare() {
use !wayland && cd ${WORKDIR} && eapply ${FILESDIR}/bind_cgo1.1+.patch && cd ${S}
default
ego build -x -tags ctrl
}
src_install() {
dobin DumbDoom
doicon ${S}/misc/dumbdoomicon.svg
domenu ${S}/misc/dumbdoom.desktop
}