diff options
author | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 15:59:47 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2018-05-01 21:34:04 +0200 |
commit | bbe1f12e6544756b3867ed775e8c5f30b2e492bf (patch) | |
tree | c0522d27adecbfa65bcd87bd1a64d5f39d8edcf2 /games-puzzle/quadra | |
parent | games-puzzle/pipewalker: Drop old (diff) | |
download | gentoo-bbe1f12e6544756b3867ed775e8c5f30b2e492bf.tar.gz gentoo-bbe1f12e6544756b3867ed775e8c5f30b2e492bf.tar.bz2 gentoo-bbe1f12e6544756b3867ed775e8c5f30b2e492bf.zip |
games-puzzle/quadra: Stop using games.eclass
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/quadra')
-rw-r--r-- | games-puzzle/quadra/files/quadra-1.2.0-format.patch | 4 | ||||
-rw-r--r-- | games-puzzle/quadra/quadra-1.2.0-r1.ebuild | 46 |
2 files changed, 48 insertions, 2 deletions
diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch index d9db4978290f..ca56f5b4cc00 100644 --- a/games-puzzle/quadra/files/quadra-1.2.0-format.patch +++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch @@ -1,5 +1,5 @@ ---- source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100 -+++ source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100 +--- a/source/net_list.cpp.old 2015-12-08 21:41:16.782404098 +0100 ++++ b/source/net_list.cpp 2015-12-08 21:41:33.153114600 +0100 @@ -693,7 +693,7 @@ //Drawn at a total higher or equal to end_value: suspense! // or maybe timer just elapsed and the game is drawn diff --git a/games-puzzle/quadra/quadra-1.2.0-r1.ebuild b/games-puzzle/quadra/quadra-1.2.0-r1.ebuild new file mode 100644 index 000000000000..4f77d48dc9ca --- /dev/null +++ b/games-puzzle/quadra/quadra-1.2.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="A tetris clone with multiplayer support" +HOMEPAGE="https://github.com/quadra-game/quadra" +SRC_URI="https://github.com/${PN}-game/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXxf86vm + x11-libs/libXext + media-libs/libpng:0= + sys-libs/zlib +" +DEPEND="${RDEPEND} + sys-devel/bc + x11-proto/xextproto +" + +src_prepare() { + default + sed -i \ + -e "/^libgamesdir:=/s:/games:/${PN}:" \ + -e "/^datagamesdir:=/s:/games:/${PN}:" \ + config/config.mk.in || die + eapply "${FILESDIR}"/${P}-format.patch +} + +src_install() { + dobin ${PN} + insinto /usr/share/${PN} + doins ${PN}.res + doicon images/${PN}.xpm + make_desktop_entry ${PN} Quadra + + HTML_DOCS="help/*" einstalldocs +} |