diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /games-puzzle/quadra | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'games-puzzle/quadra')
| -rw-r--r-- | games-puzzle/quadra/Manifest | 1 | ||||
| -rw-r--r-- | games-puzzle/quadra/files/quadra-1.2.0-format.patch | 11 | ||||
| -rw-r--r-- | games-puzzle/quadra/metadata.xml | 12 | ||||
| -rw-r--r-- | games-puzzle/quadra/quadra-1.2.0-r1.ebuild | 46 |
4 files changed, 70 insertions, 0 deletions
diff --git a/games-puzzle/quadra/Manifest b/games-puzzle/quadra/Manifest new file mode 100644 index 000000000000..8d134caa9c64 --- /dev/null +++ b/games-puzzle/quadra/Manifest @@ -0,0 +1 @@ +DIST quadra-1.2.0.tar.gz 5103875 BLAKE2B 7b0bce4e8be77de2e357cd14f60ebdbf3ef72f2262013954bca9a8d1a9a2833e00a0fe59f818b78603628999e7e1204c6974a5d9f74f4ea9bb288325d518744c SHA512 1c3e1020a584fa83595b7b183d5346f8e357ddef6b29c0b4a3797e2ace50c6e9ff14f132b8299ca582db739f4d699fa8ab94be93ef86e5a01389f958ce91e837 diff --git a/games-puzzle/quadra/files/quadra-1.2.0-format.patch b/games-puzzle/quadra/files/quadra-1.2.0-format.patch new file mode 100644 index 000000000000..ca56f5b4cc00 --- /dev/null +++ b/games-puzzle/quadra/files/quadra-1.2.0-format.patch @@ -0,0 +1,11 @@ +--- 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 + // (still suspense! :)) +- sprintf(st, ST_GAMETIED); ++ sprintf(st, "%s", ST_GAMETIED); + message(-1, st); + { Sfx stmp(sons.levelup, 0, 0, -1, 18050); } + { Sfx stmp(sons.levelup, 0, 0, -1, 18100); } diff --git a/games-puzzle/quadra/metadata.xml b/games-puzzle/quadra/metadata.xml new file mode 100644 index 000000000000..d993c9610e21 --- /dev/null +++ b/games-puzzle/quadra/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <upstream> + <remote-id type="google-code">quadra</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> 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..c811bb17564e --- /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-base/xorg-proto +" + +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 +} |
