From: "Vadim A. Misbakh-Soloviov" <mva@mva.name>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi/
Date: Wed, 10 Jun 2015 09:36:35 +0000 (UTC) [thread overview]
Message-ID: <1430760910.42df82ea28769ab387fe1769a43191e2dbbcc3d2.mva@gentoo> (raw)
commit: 42df82ea28769ab387fe1769a43191e2dbbcc3d2
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Mon May 4 17:35:10 2015 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Mon May 4 17:35:10 2015 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=42df82ea
[games-strategy/vcmi] added 9999
games-strategy/vcmi/vcmi-9999.ebuild | 81 ++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
diff --git a/games-strategy/vcmi/vcmi-9999.ebuild b/games-strategy/vcmi/vcmi-9999.ebuild
new file mode 100644
index 0000000..ce5f4b0
--- /dev/null
+++ b/games-strategy/vcmi/vcmi-9999.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils games cmake-utils git-r3
+
+DESCRIPTION="Heroes of Might and Magic III game engine rewrite"
+HOMEPAGE="http://forum.vcmi.eu/index.php"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/${PN}/${PN}"
+EGIT_BRANCH="develop"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug editor launcher +erm"
+
+CDEPEND="
+ media-libs/libsdl2[video]
+ media-libs/sdl2-image
+ media-libs/sdl2-mixer
+ media-libs/sdl2-ttf
+ virtual/ffmpeg
+ sys-libs/zlib[minizip]
+ editor? (
+ dev-qt/qtgui
+ dev-qt/qtcore
+ dev-qt/qtwidgets
+ )
+ launcher? (
+ dev-qt/qtgui
+ dev-qt/qtcore
+ dev-qt/qtnetwork
+ dev-qt/qtwidgets
+ )
+ dev-libs/fuzzylite
+"
+
+DEPEND="
+ >dev-libs/boost-1.48.0
+ virtual/pkgconfig
+ ${CDEPEND}
+"
+RDEPEND="
+ ${CDEPEND}
+"
+PDEPEND="
+ games-strategy/vcmi-data
+"
+
+src_configure() {
+ local MY_DATADIR="${GAMES_DATADIR#/usr/}/${PN}"
+ local MY_GAMESLIBDIR=$(games_get_libdir)
+ local MY_LIBDIR=${MY_GAMESLIBDIR#/usr/}
+ local MY_BINDIR=${GAMES_BINDIR#/usr/}
+
+ use editor && ewarn "Editor seems to be broken. At least, it fails to build for me"
+ use debug || ewarn "Somewhy, buildsystem don't want to use cotire (compile time reducer) generated pch (precompiled header) with disabled debug, so, you will see the warnings on each target."
+
+ local mycmakeargs=(
+ -DDATA_DIR="${MY_DATADIR}"
+ -DLIB_DIR="${MY_LIBDIR}"
+ -DBIN_DIR="${MY_BINDIR}"
+ $(cmake-utils_use_enable erm ERM)
+ $(cmake-utils_use_enable editor EDITOR)
+ $(cmake-utils_use_enable launcher LAUNCHER)
+ )
+ export CCACHE_SLOPPINESS="time_macros"
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+}
next reply other threads:[~2015-06-10 9:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-10 9:36 Vadim A. Misbakh-Soloviov [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-03-04 0:08 [gentoo-commits] proj/gamerlay:master commit in: games-strategy/vcmi/ Azamat H. Hackimov
2021-07-12 20:47 Azamat H. Hackimov
2023-04-15 22:48 Vadim Misbakh-Soloviov
2024-01-15 16:59 Vadim Misbakh-Soloviov
2024-09-19 1:04 Vadim Misbakh-Soloviov
2024-09-19 1:35 Vadim Misbakh-Soloviov
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=1430760910.42df82ea28769ab387fe1769a43191e2dbbcc3d2.mva@gentoo \
--to=mva@mva.name \
--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