games-action/barrage - 1.0.7 (gentoo)

Search

Install

Install this version:

emerge -a =games-action/barrage-1.0.7

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =games-action/barrage-1.0.7

Or alternatively:

emerge --autounmask-write -a =games-action/barrage-1.0.7

Package Information

Description:
Violent point-and-click shooting game
Homepage:
https://lgames.sourceforge.io/Barrage/
License:
GPL-2+

Ebuild Details

Version EAPI Keywords Slot
1.0.7 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop

DESCRIPTION="Violent point-and-click shooting game"
HOMEPAGE="https://lgames.sourceforge.io/Barrage/"
SRC_URI="https://downloads.sourceforge.net/lgames/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer"
DEPEND="${RDEPEND}"

PATCHES=(
	"${FILESDIR}"/1.0.7-refresh_screen.patch
)

src_configure() {
	econf --localstatedir="${EPREFIX}"/var/games
}

src_compile() {
	default

	# generated .desktop hardcodes icon path (and in wrong location)
	sed -i "/^Icon=/s|=.*|=${PN}|" ${PN}.desktop || die
}

src_install() {
	default

	fowners :gamestat /{usr/bin/${PN},var/games/${PN}.hscr}
	fperms g+s /usr/bin/${PN}
	fperms 660 /var/games/${PN}.hscr

	rm "${ED}"/usr/share/icons/${PN}48.png || die
	newicon ${PN}48.png ${PN}.png
}

Inherited Eclasses

Dependencies

DEPEND

	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer

RDEPEND

	acct-group/gamestat
	media-libs/libsdl[sound,video]
	media-libs/sdl-mixer

Manifest for 1.0.7

Type File Size Source URLs
DIST barrage-1.0.7.tar.gz 510855 bytes https://downloads.sourceforge.net/lgames/barrage-1.0.7.tar.gz