diff options
-rw-r--r-- | games-util/xgamer/xgamer-0.6.2-r1.ebuild (renamed from games-util/xgamer/xgamer-0.6.2.ebuild) | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/games-util/xgamer/xgamer-0.6.2.ebuild b/games-util/xgamer/xgamer-0.6.2-r1.ebuild index ab29f4ccbd52..5e9550c89395 100644 --- a/games-util/xgamer/xgamer-0.6.2.ebuild +++ b/games-util/xgamer/xgamer-0.6.2-r1.ebuild @@ -1,17 +1,18 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit perl-module +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" -IUSE="" RDEPEND=">=dev-lang/perl-5.10 >=x11-libs/gtk+-2.18:2 @@ -24,10 +25,8 @@ RDEPEND=">=dev-lang/perl-5.10 dev-perl/glib-perl x11-misc/numlockx media-gfx/feh" -DEPEND="${RDEPEND} - dev-perl/Module-Build" - -S=${WORKDIR}/${PN} +DEPEND="${RDEPEND}" +BDEPEND="dev-perl/Module-Build" PATCHES=( "${FILESDIR}"/${P}-desktopfile.patch @@ -35,6 +34,5 @@ PATCHES=( ) pkg_postinst() { - elog "optional dependencies:" - elog " x11-wm/openbox (integrates well)" + optfeature "Integrates well for window management" x11-wm/openbox } |