summaryrefslogtreecommitdiff
path: root/games-util/xgamer/xgamer-0.6.2-r1.ebuild
blob: 5e9550c89395f2ad841bbf1b9527f138f0fb3eb9 (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
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit optfeature perl-module

DESCRIPTION="A launcher for starting games in a second X session"
HOMEPAGE="https://code.google.com/p/xgamer/"
SRC_URI="https://xgamer.googlecode.com/files/${P}.tar.gz"
S="${WORKDIR}"/${PN}

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND=">=dev-lang/perl-5.10
	>=x11-libs/gtk+-2.18:2
	>=dev-perl/Gtk2-1.120
	virtual/perl-File-Path
	virtual/perl-File-Spec
	virtual/perl-File-Temp
	dev-perl/File-BaseDir
	dev-perl/XML-Twig
	dev-perl/glib-perl
	x11-misc/numlockx
	media-gfx/feh"
DEPEND="${RDEPEND}"
BDEPEND="dev-perl/Module-Build"

PATCHES=(
	"${FILESDIR}"/${P}-desktopfile.patch
	"${FILESDIR}"/${P}-perl526.patch
)

pkg_postinst() {
	optfeature "Integrates well for window management" x11-wm/openbox
}