summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2015-05-13 21:44:57 +0200
committerSebastian Pipping <sebastian@pipping.org>2015-05-13 21:44:57 +0200
commit1e7018b094d0e040bac7bc34f9dc68f6be781e8e (patch)
tree2eadd8d1e232199df2f7c43843fb8b4b1c190fcc /app-misc
parentgnome-extra/gnome-paint: Improve SRC_URI (diff)
downloadbetagarden-1e7018b094d0e040bac7bc34f9dc68f6be781e8e.tar.gz
betagarden-1e7018b094d0e040bac7bc34f9dc68f6be781e8e.tar.bz2
betagarden-1e7018b094d0e040bac7bc34f9dc68f6be781e8e.zip
app-misc/xiangqi-setup: 1.2
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/xiangqi-setup/Manifest1
-rw-r--r--app-misc/xiangqi-setup/metadata.xml11
-rw-r--r--app-misc/xiangqi-setup/xiangqi-setup-1.2.ebuild29
3 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/xiangqi-setup/Manifest b/app-misc/xiangqi-setup/Manifest
new file mode 100644
index 0000000..6125d9d
--- /dev/null
+++ b/app-misc/xiangqi-setup/Manifest
@@ -0,0 +1 @@
+DIST xiangqi-setup-1.2.tar.gz 406971 SHA256 e55691e057b3e40e86ea1938f96c80935c170220fa328bff254b561407ac4031 SHA512 f990cf643395d13575f312fb056ce50b54d7fa9bc196960606af4c40885cb1eeb1e069f21a49b964ca4941f69fb6561832c987431ebc390eba80e55d77f0fb0f WHIRLPOOL cf6180781c4ff9e60a9cd42c6de7e2fa63be19808b11623c2891feca2136f72b1d0b7ab06a21e535aefb03d0db049d5433d64358cff62875d800e49ceb1226ea
diff --git a/app-misc/xiangqi-setup/metadata.xml b/app-misc/xiangqi-setup/metadata.xml
new file mode 100644
index 0000000..14ffb31
--- /dev/null
+++ b/app-misc/xiangqi-setup/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <use>
+ <flag name="non-free">Install non-free themes as well</flag>
+ </use>
+</pkgmetadata>
diff --git a/app-misc/xiangqi-setup/xiangqi-setup-1.2.ebuild b/app-misc/xiangqi-setup/xiangqi-setup-1.2.ebuild
new file mode 100644
index 0000000..9e358ac
--- /dev/null
+++ b/app-misc/xiangqi-setup/xiangqi-setup-1.2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+inherit distutils-r1
+
+DESCRIPTION="Tool to generate Xiangqi (Chinese chess) setup graphics"
+HOMEPAGE="https://github.com/hartwork/xiangqi-setup"
+SRC_URI="https://github.com/hartwork/xiangqi-setup/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3+
+ CC0-1.0 public-domain
+ || ( FDL-1.2+ CC-BY-SA-4.0 )
+ non-free? ( xiangqi-font )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="non-free"
+
+RDEPEND="dev-python/svgutils"
+
+src_install() {
+ distutils-r1_src_install
+ if ! use non-free ; then
+ rm -R "${D}"/usr/share/${PN}/themes/pieces/latex_xqlarge_*/ || die
+ fi
+}