summaryrefslogtreecommitdiff
path: root/games-engines/openxcom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-engines/openxcom
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/openxcom')
-rw-r--r--games-engines/openxcom/Manifest7
-rw-r--r--games-engines/openxcom/metadata.xml11
-rw-r--r--games-engines/openxcom/openxcom-1.0.0-r1.ebuild65
-rw-r--r--games-engines/openxcom/openxcom-1.0.0.ebuild72
-rw-r--r--games-engines/openxcom/openxcom-9999.ebuild75
5 files changed, 230 insertions, 0 deletions
diff --git a/games-engines/openxcom/Manifest b/games-engines/openxcom/Manifest
new file mode 100644
index 000000000000..2db2a6664b7f
--- /dev/null
+++ b/games-engines/openxcom/Manifest
@@ -0,0 +1,7 @@
+DIST openxcom-1.0.0.tar.gz 2068640 SHA256 45acb280010a01d60506b1c5f2951ae501c012cc6161aac470bd15c1e6981246 SHA512 597abd2e7160551a3d6020d7c6fec863f86b708910ee582d446f2a5f97be94dc7e2522ede2e7ab4f62a2d21acf07ce441a435f74b530950e2f0b5791c00e06ab WHIRLPOOL fe63cb513b5413e16656f711564ce21eac3d3dc7a7674dcb62bc01f022b49c23dead30e80bbc0545f58e5a8a35cd635fd721c6243900a0bdba86de14c8ab8de9
+EBUILD openxcom-1.0.0-r1.ebuild 1664 SHA256 78bbaeb2ad3dbff213b69678d972a2db5a76f2dbe501401f0c3662da0939af7e SHA512 d108cf355c660b9257a7f0171179dbffbfd19f95b4a87f14bb75c210128178336c91f44d0461c7f9027ad5eaa8342b0ceb2f007b20d26e9b5ac0f088c773781d WHIRLPOOL dd02da7429c67a3d78ff15c29048e32faa4887dca52bab38420f2e1b6b9b19ce583ef15a9676cc37fa11079b3ec39318865c5de2dd1a79630280d5c67c9d5cb5
+EBUILD openxcom-1.0.0.ebuild 1815 SHA256 03f8aa380b4a8d5e31f6f0d557df054369479eca3f10f655c0046496e08bca74 SHA512 63f603cb04eaa197dde83950045732514b3981b2110463977a125803c20c9d1059d5506dd9f3eca3e38c9d3179d7e04b346b69fe14ed71eef7370cf868d27eb6 WHIRLPOOL 0a5946db4698b9f25b7e1f3f0dd9d6e0830e4aaa7f60c933f720ad1a146e2dacd2d983c835f26425c9ebd8c8427179973245323b3d6d94c465b63ab79a488aab
+EBUILD openxcom-9999.ebuild 1966 SHA256 578299906b46c5c31f65e0eae86e012956692605f3eae05ba33a74237f5345fe SHA512 9184487964697db4056dc46fe861227d908607a891c6f961479c390f5e36944cd95f454ba10a4ffd7ecf349e46199d32064a574e2b63ea1911bf4151b6e55cb8 WHIRLPOOL 39f6d7bfb62f9378c2559684424103163da7925c276f42c50686cbcab6420a23272688748e396a0508217ea1d75843f57eb2b9c95b71a8e4349dc91e52ef9dfd
+MISC ChangeLog 2934 SHA256 eace412ee0d77f4b39ac2f5b6e1cbe53a60d3e2596e17018754b5740c76b27ad SHA512 da553ad5df0e367fd699e0ca8d3f3e12dfd4c1bae40e16f8bd015d1971e066fa3acf245e30ecc6456c50191313d7934ff2fcd5d0511edd1b8eecea610cb5daf2 WHIRLPOOL 8838679f69f95370f9464743ff5c62207c7a9127242c7d82c029c32eb10fa66540005629fec55af19094d989d5c0ca2159d8b8e2adb019778f5afea0e849818d
+MISC ChangeLog-2015 954 SHA256 77e00b73de9b1657f20f066d64d8899b8bf396b4872169b4b4313dc8fdfaff90 SHA512 d21547da4a6ffc6ea50d66249614bdc0a4207abf32ccb03b34673a65149184c7fe03e8f85fc5294d4e752903e8964af8d22bb5ca0c3f0354447d9823f15d27d1 WHIRLPOOL 37f57d7b2fa5154773714d34b37d5225adb62af5a0ba108f81a67b4a21d3c78f8e0ea11a7fa3032aaa27fc1b94a3f8c3ef25b4bd5e60a09125d1e0fbd3c49236
+MISC metadata.xml 335 SHA256 dd238caa80408ff69c3650cde791bae4bc00978af69e505a9267905798ba317d SHA512 6d1deba17f18970b9425af0038c24be6f0e0fea46a095d34055884d8899442bc1f0a4f72343f2cf1f66f63c5287dc0373086e111b45ee64a47b8715e2237d6cd WHIRLPOOL 6a9af7e7a11145d3587b3f44985b806ab67b20e20a917b82c6af9ed8c75b34d3d9b8aff4bfc66afed58ce837a346b85d8294be7a85d70cd1e813eedfe173347f
diff --git a/games-engines/openxcom/metadata.xml b/games-engines/openxcom/metadata.xml
new file mode 100644
index 000000000000..86822013a1c2
--- /dev/null
+++ b/games-engines/openxcom/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">SupSuper/OpenXcom</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-engines/openxcom/openxcom-1.0.0-r1.ebuild b/games-engines/openxcom/openxcom-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..fcbf6ebf2629
--- /dev/null
+++ b/games-engines/openxcom/openxcom-1.0.0-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils cmake-utils gnome2-utils
+
+DESCRIPTION="An open-source reimplementation of the popular UFO: Enemy Unknown"
+HOMEPAGE="http://openxcom.org/"
+SRC_URI="https://github.com/SupSuper/OpenXcom/archive/v1.0.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-cpp/yaml-cpp-0.5.1
+ media-libs/libsdl[opengl,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[flac,mikmod,vorbis]"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS=( README.txt )
+
+S=${WORKDIR}/OpenXcom-1.0
+
+src_configure() {
+ 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 && dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
+ doicon -s scalable res/linux/icons/openxcom.svg
+ newicon -s 48 res/linux/icons/openxcom_48x48.png openxcom.png
+ newicon -s 128 res/linux/icons/openxcom_128x128.png openxcom.png
+ domenu res/linux/openxcom.desktop
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ echo
+ 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 "/usr/share/${PN}/data"
+ echo
+ elog "If you need or want text in some language other than english, download:"
+ elog "http://openxcom.org/translations/latest.zip and uncompress it in"
+ elog "/usr/share/${PN}/data/Language"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-engines/openxcom/openxcom-1.0.0.ebuild b/games-engines/openxcom/openxcom-1.0.0.ebuild
new file mode 100644
index 000000000000..d4edc5bb5a12
--- /dev/null
+++ b/games-engines/openxcom/openxcom-1.0.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils cmake-utils gnome2-utils games
+
+DESCRIPTION="An open-source reimplementation of the popular UFO: Enemy Unknown"
+HOMEPAGE="http://openxcom.org/"
+SRC_URI="https://github.com/SupSuper/OpenXcom/archive/v1.0.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3 CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc"
+
+RDEPEND=">=dev-cpp/yaml-cpp-0.5.1
+ media-libs/libsdl[opengl,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[flac,mikmod,vorbis]"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+DOCS=( README.txt )
+
+S=${WORKDIR}/OpenXcom-1.0
+
+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/*
+ doicon -s scalable res/linux/icons/openxcom.svg
+ newicon -s 48 res/linux/icons/openxcom_48x48.png openxcom.png
+ newicon -s 128 res/linux/icons/openxcom_128x128.png openxcom.png
+ domenu res/linux/openxcom.desktop
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+ echo
+ 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"
+ echo
+ elog "If you need or want text in some language other than english, download:"
+ elog "http://openxcom.org/translations/latest.zip and uncompress it in"
+ elog "${GAMES_DATADIR}/${PN}/data/Language"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-engines/openxcom/openxcom-9999.ebuild b/games-engines/openxcom/openxcom-9999.ebuild
new file mode 100644
index 000000000000..6732dfdefa91
--- /dev/null
+++ b/games-engines/openxcom/openxcom-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils cmake-utils gnome2-utils git-r3
+
+DESCRIPTION="An open-source reimplementation of the popular UFO: Enemy Unknown"
+HOMEPAGE="http://openxcom.org/"
+EGIT_REPO_URI="https://github.com/SupSuper/OpenXcom.git"
+
+LICENSE="GPL-3+ CC-BY-SA-4.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+RDEPEND=">=dev-cpp/yaml-cpp-0.5.1
+ media-libs/libsdl[opengl,video]
+ media-libs/sdl-gfx
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[flac,mikmod,vorbis]"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+src_unpack() {
+ git-r3_src_unpack
+}
+
+src_prepare() {
+ cmake-utils_src_prepare
+ sed -i -e '/\/res\//d' CMakeLists.txt || die
+}
+
+src_configure() {
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ use doc && cmake-utils_src_compile doxygen
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS="README.md" \
+ cmake-utils_src_install
+ use doc && dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
+ doicon -s scalable res/linux/icons/openxcom.svg
+ newicon -s 48 res/linux/icons/openxcom_48x48.png openxcom.png
+ newicon -s 128 res/linux/icons/openxcom_128x128.png openxcom.png
+ domenu res/linux/openxcom.desktop
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ echo
+ 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 "/usr/share/${PN}/UFO"
+ echo
+ elog "If you want to play the TFTD mod, you need to copy ANIMS, FLOP_INT,"
+ elog "GEODATA, GEOGRAPH, MAPS, ROUTES, SOUND, TERRAIN, UFOGRAPH, UNITS folders"
+ elog "from the original Terror from the Deep game to"
+ elog "/usr/share/${PN}/TFTD"
+ echo
+ elog "If you need or want text in some language other than english, download:"
+ elog "http://openxcom.org/translations/latest.zip and uncompress it in"
+ elog "/usr/share/${PN}/common/Language"
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}