public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Stefan Strogin" <steils@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-arcade/mars-game/
Date: Thu, 12 Oct 2023 01:32:31 +0000 (UTC)	[thread overview]
Message-ID: <1697074170.40cca7ddad9e3d3a64677cbde44ad16765108c43.steils@gentoo> (raw)

commit:     40cca7ddad9e3d3a64677cbde44ad16765108c43
Author:     Stefan Strogin <stefan <AT> steils <DOT> org>
AuthorDate: Thu Oct 12 01:25:44 2023 +0000
Commit:     Stefan Strogin <steils <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 01:29:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=40cca7dd

games-arcade/mars-game: add 0.7.6_p20211017

Signed-off-by: Stefan Strogin <stefan <AT> steils.org>

 .../mars-game/mars-game-0.7.6_p20211017.ebuild     | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/games-arcade/mars-game/mars-game-0.7.6_p20211017.ebuild b/games-arcade/mars-game/mars-game-0.7.6_p20211017.ebuild
new file mode 100644
index 0000000..0887c57
--- /dev/null
+++ b/games-arcade/mars-game/mars-game-0.7.6_p20211017.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake prefix
+
+MY_PN="marsshooter"
+MY_P="${MY_PN}-${PV}"
+
+COMMIT="84664cda094efe6e49d9b1550e4f4f98c33eefa2"
+
+DESCRIPTION="M.A.R.S. a ridiculous shooter"
+HOMEPAGE="http://mars-game.sourceforge.net"
+SRC_URI="https://github.com/thelaui/M.A.R.S./archive/${COMMIT}.tar.gz -> ${MY_P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+DEPEND="
+	dev-libs/fribidi
+	media-libs/libsfml:=
+	media-libs/taglib
+	virtual/opengl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/M.A.R.S.-${COMMIT}"
+
+src_prepare() {
+	cmake_src_prepare
+	hprefixify src/System/settings.cpp
+
+	sed -i -e 's|${CMAKE_INSTALL_FULL_DATAROOTDIR}/appdata|${CMAKE_INSTALL_FULL_DATAROOTDIR}/metainfo|g' \
+		src/CMakeLists.txt || die
+
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-Dmars_DATA_DEST_DIR="${EPREFIX}/usr/share/${MY_PN}"
+		-Dmars_EXE_DEST_DIR="${EPREFIX}/usr/bin"
+		-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2023-10-12  1:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-12  1:32 Stefan Strogin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-12 20:47 [gentoo-commits] proj/gamerlay:master commit in: games-arcade/mars-game/ Azamat H. Hackimov
2018-08-27 21:13 James Le Cuirot
2018-08-27 21:04 James Le Cuirot
2012-08-01 17:49 Azamat H. Hackimov
2012-07-14  6:54 Marcel Unbehaun
2011-10-15  7:34 Marcel Unbehaun
2011-09-14 15:45 Marcel Unbehaun

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=1697074170.40cca7ddad9e3d3a64677cbde44ad16765108c43.steils@gentoo \
    --to=steils@gentoo.org \
    --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