diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2014-12-08 20:53:10 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2014-12-08 20:54:50 +0100 |
commit | 8abcf330e6483557a4eef42ff83c18c8a8553317 (patch) | |
tree | 54d4c66480f9deaa066165a92dde37b130007d70 /games-board | |
parent | dev-vcs/hub: Update to latest HEAD (diff) | |
download | betagarden-8abcf330e6483557a4eef42ff83c18c8a8553317.tar.gz betagarden-8abcf330e6483557a4eef42ff83c18c8a8553317.tar.bz2 betagarden-8abcf330e6483557a4eef42ff83c18c8a8553317.zip |
games-board/xboard-xiangqi: 0
Diffstat (limited to 'games-board')
-rwxr-xr-x | games-board/xboard-xiangqi/files/xboard-xiangqi-0 | 20 | ||||
-rw-r--r-- | games-board/xboard-xiangqi/metadata.xml | 8 | ||||
-rw-r--r-- | games-board/xboard-xiangqi/xboard-xiangqi-0.ebuild | 30 |
3 files changed, 58 insertions, 0 deletions
diff --git a/games-board/xboard-xiangqi/files/xboard-xiangqi-0 b/games-board/xboard-xiangqi/files/xboard-xiangqi-0 new file mode 100755 index 0000000..d15067d --- /dev/null +++ b/games-board/xboard-xiangqi/files/xboard-xiangqi-0 @@ -0,0 +1,20 @@ +#! /bin/bash +xboard \ + -variant xiangqi \ + \ + -useBoardTexture true \ + -liteBackTextureFile /usr/share/games/xboard/themes/textures/xqboard-9x10.png \ + -darkBackTextureFile /usr/share/games/xboard/themes/textures/xqboard-9x10.png \ + -overrideLineGap 0 \ + \ + -pieceImageDirectory /usr/share/games/xboard/themes/xiangqi \ + -trueColors true \ + \ + -saveSettingsOnExit true \ + -saveSettingsFile "~/.xboardrc-xiangqi" \ + -settingsFile "~/.xboardrc-xiangqi" \ + \ + -themeNames '{}' \ + \ + -firstChessProgram /usr/games/bin/hoixiangqi \ + -secondChessProgram /usr/games/bin/maxqi diff --git a/games-board/xboard-xiangqi/metadata.xml b/games-board/xboard-xiangqi/metadata.xml new file mode 100644 index 0000000..16bcc9f --- /dev/null +++ b/games-board/xboard-xiangqi/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>sping@gentoo.org</email> + <name>Sebastian Pipping</name> + </maintainer> +</pkgmetadata> diff --git a/games-board/xboard-xiangqi/xboard-xiangqi-0.ebuild b/games-board/xboard-xiangqi/xboard-xiangqi-0.ebuild new file mode 100644 index 0000000..100c22f --- /dev/null +++ b/games-board/xboard-xiangqi/xboard-xiangqi-0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit games + +DESCRIPTION="Direct access to Xiangqi mode of xboard" +HOMEPAGE="" +SRC_URI="" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + >=games-board/xboard-4.8 + games-board/hoichess + games-board/fairymax + " + +S="${WORKDIR}" + +src_install() { + dosym xqboard.png "${GAMES_DATADIR}"/xboard/themes/textures/xqboard-9x10.png + newgamesbin "${FILESDIR}"/xboard-xiangqi-0 xboard-xiangqi +} |