commit:     1c88fc7c23b78547e8b13c2c449cb76fb0d55987
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Wed Mar 19 14:29:08 2014 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Wed Mar 19 14:29:08 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=1c88fc7c

[games-strategy/openxcom] New version from git

Package-Manager: portage-2.2.8-r1
Manifest-Sign-Key: A018DE8C

---
 .../openxcom/openxcom-0.9_p20140318.ebuild         | 62 ++++++++++++++++++++++
 1 file changed, 62 insertions(+)

diff --git a/games-strategy/openxcom/openxcom-0.9_p20140318.ebuild 
b/games-strategy/openxcom/openxcom-0.9_p20140318.ebuild
new file mode 100644
index 0000000..4798af5
--- /dev/null
+++ b/games-strategy/openxcom/openxcom-0.9_p20140318.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils games git-2
+
+DESCRIPTION="An open-source reimplementation of the popular UFO: Enemy Unknown"
+HOMEPAGE="http://openxcom.org/";
+# For translation files
+SRC_URI="http://openxcom.org/git_builds/openxcom_git_master_2014_03_18_2038.zip";
+EGIT_REPO_URI="https://github.com/SupSuper/OpenXcom.git";
+EGIT_COMMIT=e6ccd67125862f66c3534544a27b2691cb154a68
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="app-arch/unzip
+       >=dev-cpp/yaml-cpp-0.5.1
+       media-libs/libsdl
+       media-libs/sdl-gfx
+       media-libs/sdl-image
+       media-libs/sdl-mixer
+       media-sound/timidity++"
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )"
+
+S="${WORKDIR}/OpenXcom"
+
+DOCS=( README.txt )
+
+src_configure() {
+       mycmakeargs=(
+               "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}"
+               "-DDATADIR=${GAMES_DATADIR}/${PN}"
+       )
+       cmake-utils_src_configure
+}
+
+src_compile() {
+       use doc && cmake-utils_src_compile doxygen
+       cmake-utils_src_compile
+}
+
+src_install() {
+       cmake-utils_src_install
+       use doc && dohtml -r "${CMAKE_BUILD_DIR}"/docs/html/*
+       insinto "${GAMES_DATADIR}/${PN}/data/"
+       doins -r "../openxcom/data/Language/"
+
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       elog "In order to play you need copy GEODATA, GEOGRAPH, MAPS, ROUTES, 
SOUND,"
+       elog "TERRAIN, UFOGRAPH, UFOINTRO, UNITS folders from original X-COM 
game to"
+       elog "${GAMES_DATADIR}/${PN}/data"
+}

Reply via email to