public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Haelwenn Monnier" <contact@hacktivis.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-board/openriichi/
Date: Tue,  3 Nov 2020 14:39:47 +0000 (UTC)	[thread overview]
Message-ID: <1604353912.bdbd29a11e8353a9e4d7d87328d2311ff8ce00b0.lanodan@gentoo> (raw)

commit:     bdbd29a11e8353a9e4d7d87328d2311ff8ce00b0
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Mon Nov  2 21:51:52 2020 +0000
Commit:     Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Mon Nov  2 21:51:52 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdbd29a1

games-board/openriichi: new package

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 games-board/openriichi/Manifest                  |  2 +
 games-board/openriichi/metadata.xml              | 17 ++++++++
 games-board/openriichi/openriichi-0.2.1.1.ebuild | 54 ++++++++++++++++++++++++
 3 files changed, 73 insertions(+)

diff --git a/games-board/openriichi/Manifest b/games-board/openriichi/Manifest
new file mode 100644
index 00000000..dd09e2ca
--- /dev/null
+++ b/games-board/openriichi/Manifest
@@ -0,0 +1,2 @@
+DIST openriichi-0.2.1.1-Engine.tar.gz 218488 BLAKE2B ed7ee3b61451bef95511d629d693018db9505c2f7e377a5d02afbefc40e1412db13e472ea2e8a0f1c745655bc24bdff898b16f1c3c8d055dcdd9a1fcf0fad01f SHA512 d24a59932a8bec02d9a0ef065c27fa5f162334a67095a351808ed330fd5f5312cc598a328745d19b5a3016192677b1d85dbaa870a6990ac861df78d302eb4d21
+DIST openriichi-0.2.1.1.tar.gz 43434864 BLAKE2B 97b0409175572f3633ea322c1012cb3f5c1a38bfc47b91d120cc3fa570aaa215d59dad05fc4947165e6dc80428b6e34c1c74d0b1b1f910c3829a4b0c3941eec0 SHA512 226ef1a139db7afad1780309161b3e4868e1280493715606b54b89a09355e25deffa7a42b658a74f921be9265a23f326856243765fba64cbc3b710dd759d6553

diff --git a/games-board/openriichi/metadata.xml b/games-board/openriichi/metadata.xml
new file mode 100644
index 00000000..aa5911d5
--- /dev/null
+++ b/games-board/openriichi/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>torokhov-s-a@yandex.ru</email>
+		<name>Sergey Torokhov</name>
+	</maintainer>
+	<longdescription>
+		OpenRiichi is an open source Japanese Mahjong client written in the Vala programming language.
+		It supports singleplayer and multiplayer, with or without bots.
+		It features all the standard riichi rules, as well as some optional ones.
+		It also supports game logging, so games can be viewed again.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">FluffyStuff/OpenRiichi</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/games-board/openriichi/openriichi-0.2.1.1.ebuild b/games-board/openriichi/openriichi-0.2.1.1.ebuild
new file mode 100644
index 00000000..9e479d0d
--- /dev/null
+++ b/games-board/openriichi/openriichi-0.2.1.1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop meson vala xdg
+
+Engine_sha="e495846970a1b38d00c81a3f74568030f976ed31"
+MY_PN="OpenRiichi"
+
+DESCRIPTION="OpenRiichi is an open source Japanese Mahjong client"
+HOMEPAGE="https://github.com/FluffyStuff/${MY_PN}"
+SRC_URI="
+	https://github.com/FluffyStuff/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/FluffyStuff/Engine/archive/${Engine_sha}.tar.gz -> ${P}-Engine.tar.gz
+"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RESTRICT="mirror"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+RDEPEND="
+	dev-libs/glib
+	dev-libs/gobject-introspection
+	dev-libs/libgee:0.8
+	media-libs/glew:0
+	media-libs/libsdl2[haptic,joystick,opengl,sound,threads,video]
+	media-libs/sdl2-image[jpeg,png,tiff,webp]
+	media-libs/sdl2-mixer
+	sys-libs/glibc
+	sys-libs/zlib
+	x11-libs/gtk+:3
+	x11-libs/pango
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+	default
+	mv -T "${WORKDIR}/Engine-${Engine_sha}" "${S}/Engine" || die
+
+	vala_src_prepare
+}
+
+src_install() {
+	meson_src_install
+
+	newicon -s 64 "bin/Data/Icon.png" "${MY_PN}.png"
+	make_desktop_entry "${MY_PN}" "${MY_PN}" "${MY_PN}" "Game;BoardGame" || die "Failed making desktop entry!"
+}


             reply	other threads:[~2020-11-03 14:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 14:39 Haelwenn Monnier [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-11-03 14:39 [gentoo-commits] repo/proj/guru:master commit in: games-board/openriichi/ Haelwenn Monnier
2020-11-08 11:13 Andrew Ammerlaan
2021-03-16 10:49 Andrew Ammerlaan
2021-05-04  8:41 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-04  8:41 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2025-02-21 11:19 [gentoo-commits] repo/proj/guru:dev " David Roman
2025-02-21 12:04 ` [gentoo-commits] repo/proj/guru:master " David Roman
2025-09-12 10:49 David Roman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1604353912.bdbd29a11e8353a9e4d7d87328d2311ff8ce00b0.lanodan@gentoo \
    --to=contact@hacktivis.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox