From: "Azamat H. Hackimov" <winterheart@gentoo.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gamerlay:master commit in: games-fps/zdoom/
Date: Mon, 23 Apr 2012 19:19:40 +0000 (UTC) [thread overview]
Message-ID: <1335208210.cc5d2547f82ff2ac5deef88aafe936fd2cbec28c.winterheart@gentoo> (raw)
commit: cc5d2547f82ff2ac5deef88aafe936fd2cbec28c
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Apr 23 19:10:10 2012 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Apr 23 19:10:10 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=cc5d2547
[games-fps/zdoom] Enchanced port of DOOM engine.
(Portage version: 2.1.10.49/git/Linux x86_64, unsigned Manifest commit)
---
games-fps/zdoom/metadata.xml | 15 +++++++
games-fps/zdoom/zdoom-9999.ebuild | 75 +++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)
diff --git a/games-fps/zdoom/metadata.xml b/games-fps/zdoom/metadata.xml
new file mode 100644
index 0000000..202e559
--- /dev/null
+++ b/games-fps/zdoom/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>azamat.hackimov@gmail.com</email>
+<name>Azamat H. Hackimov</name>
+</maintainer>
+<longdescription lang="en">
+ZDoom is an enhanced port of the official DOOM source code
+</longdescription>
+<longdescription lang="ru">
+ZDoom - улучшенный порт движка DOOM
+</longdescription>
+</pkgmetadata>
+
diff --git a/games-fps/zdoom/zdoom-9999.ebuild b/games-fps/zdoom/zdoom-9999.ebuild
new file mode 100644
index 0000000..fe53db0
--- /dev/null
+++ b/games-fps/zdoom/zdoom-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=3
+inherit cmake-utils eutils games subversion
+
+DESCRIPTION="ZDoom is an enhanced port of the official DOOM source code"
+HOMEPAGE="http://www.zdoom.org"
+ESVN_REPO_URI="http://mancubus.net/svn/hosted/zdoom/zdoom/trunk"
+#SRC_URI="http://www.zdoom.org/files/${PN}/2.5/${P}-src.7z"
+
+LICENSE="BSD BUILD DOOM"
+SLOT="0"
+KEYWORDS=""
+IUSE="gtk mmx"
+
+RDEPEND="app-arch/bzip2
+ media-libs/fmod
+ media-sound/fluidsynth
+ sys-libs/zlib
+ virtual/jpeg
+ x11-libs/libXcursor
+ gtk? ( x11-libs/gtk+:2 )"
+DEPEND="${RDEPEND}
+ mmx? ( || ( dev-lang/nasm dev-lang/yasm ) )"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ # Add new versions of FMOD
+ sed -i \
+ -e "s:\(set( MAJOR_VERSIONS\):\1 \"40\" \"38\":" \
+ src/CMakeLists.txt || die
+ # Use default game data path
+ sed -i \
+ -e "s:/usr/local/share/:${GAMES_DATADIR}/doom-data/:" \
+ src/sdl/i_system.h || die "sed i_system.h failed"
+}
+
+src_configure() {
+ mycmakeargs=(
+ "-DFMOD_LOCAL_LIB_DIRS=/opt/fmodex/api/lib"
+ "-DFMOD_INCLUDE_DIR=/opt/fmodex/api/inc"
+# "-DSHARE_DIR=\"${GAMES_DATADIR}/doom-data\""
+ $(cmake-utils_use_no gtk GTK)
+ $(cmake-utils_use_no mmx ASM)
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ dogamesbin "${CMAKE_BUILD_DIR}/${PN}" || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/doom-data"
+ doins "${CMAKE_BUILD_DIR}/${PN}.pk3" || die "doins failed"
+ dodoc docs/commands.txt
+ dohtml docs/console.{css,html}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ elog "Copy or link wad files into ${GAMES_DATADIR}/doom-data/"
+ elog "(the files must be readable by the 'games' group)."
+ elog
+ elog "To play, simply run:"
+ elog
+ elog " zdoom"
+ echo
+}
next reply other threads:[~2012-04-23 19:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-23 19:19 Azamat H. Hackimov [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-11-29 16:28 [gentoo-commits] proj/gamerlay:master commit in: games-fps/zdoom/ Azamat H. Hackimov
2013-06-12 9:56 Azamat H. Hackimov
2013-07-09 15:20 Azamat H. Hackimov
2015-06-20 21:39 Azamat H. Hackimov
2016-10-27 17:57 Azamat H. Hackimov
2020-03-05 21:18 Azamat H. Hackimov
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=1335208210.cc5d2547f82ff2ac5deef88aafe936fd2cbec28c.winterheart@gentoo \
--to=winterheart@gentoo.ru \
--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