summaryrefslogtreecommitdiff
path: root/games-engines/gemrb
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/gemrb
reinit the tree, so we can have metadata
Diffstat (limited to 'games-engines/gemrb')
-rw-r--r--games-engines/gemrb/Manifest6
-rw-r--r--games-engines/gemrb/gemrb-0.8.3-r1.ebuild72
-rw-r--r--games-engines/gemrb/gemrb-0.8.3.ebuild79
-rw-r--r--games-engines/gemrb/metadata.xml11
4 files changed, 168 insertions, 0 deletions
diff --git a/games-engines/gemrb/Manifest b/games-engines/gemrb/Manifest
new file mode 100644
index 000000000000..6278b14f9733
--- /dev/null
+++ b/games-engines/gemrb/Manifest
@@ -0,0 +1,6 @@
+DIST gemrb-0.8.3.tar.gz 12370971 SHA256 4996d4d66e60d9ec0c63b94f687c4a6d54f4fbbfb80304245e8ff0fa886f5664 SHA512 6f091ba54d129c47b6ad7c3b1da898c7ef79b80629b373527963a0b35096ccbf91650087c4884081d306da4be7b4cfa1dc2f6d931d7140d7eccb380d9806db1c WHIRLPOOL 4f0da79423dbe9bc0c5438dc0df148005e1c2981e545f7a0649162af1b32384ff9a398eabbcfaea477cec31ee65cc5b3586d7cfa82155a234e21dd4ff8e8bc5e
+EBUILD gemrb-0.8.3-r1.ebuild 1384 SHA256 32987c2c596a90fe8ee4cdb5b8a17fcd1268c640b72a9fbd02589ca9fd0c0474 SHA512 6f8f449ac846302226f595f03399d288c3df045a78af92563273968678ec0dffc68aba582eae19b55d11a9d4b0a6bffb5a72f4352154413a80f2dafebb48be04 WHIRLPOOL 6edbbd0a3cb151265c1374dbca963113cc2360a9b136da64a80a4375791167e64818ebf1fee15ed5ef6fc34d37971e4959adb23f1503ddc9e25b03d3f89a3e6d
+EBUILD gemrb-0.8.3.ebuild 1507 SHA256 8f3cc841d8f2f31974ce3fe9ef964bc4721e8abeddae0e6c6f9b050e60a4e81e SHA512 5ac08e0a8c976994773a8e4f9c47bdc35accac73bc52e8036cc33bc2567e006c86e3c1085b4f3f2e4f2a03eb5822d869ea986d30327059d8c6bd2e129806d384 WHIRLPOOL 5df9d987aca2e3046e84e0ff1bb1c3b1c01943271a5a2416e2270564e4439c29e58d16f8911a837347ccd72ac85a814b173d2715e3a377664606885ab084e98a
+MISC ChangeLog 3380 SHA256 a572d21e0852a7a95abe021e6e83f86926473a9a7fd5d42af99b2f03431edc91 SHA512 7e647ff09f3b6f7edb4a461f3e7d32d667129f0fd48346ff22bd1a3ed1da4c40623bad9378b4362da30a2666dc8bd8d0f33a6d35649a2eae2d013b053ecec45b WHIRLPOOL 0d515a427663c05fefe83a040cd166bb802caa8ac2eb12bded6896134f5f0166225c38a912389391086ee4802d0b7560794016f56d189224c5c15166b201b4f8
+MISC ChangeLog-2015 5639 SHA256 cd70c09823cc9eb7872109c45517249a050ddc6ae0873ef2ed992cb266d935ff SHA512 b51127c8b2a2060ba026f5a3f0c258e19f44b2f6210cfb357f15773376c6dee71c4e02c4a50b054eb59a3b78b95c8888d0e58aac4fe783a5a0cad046bd566a47 WHIRLPOOL 9ac247ec5989b55469fd930689c2e3adf4568f2590a25b4151970f076f14c6fdcbf7838aee0cc64791c915491755409aeb76fb163c2621f0365609b419ba9313
+MISC metadata.xml 328 SHA256 0c14ab70e24c46a6da696cf8b2fedae551511fcfddf926867a7759db77bc126e SHA512 553586a61d8d824dbc4e9b4e19ad2eb3dc1ab10b42fcf1692853fc9b9c07ed4b0baa8d076a23a3b28250e198befe94e3050cb71b392d07e5b3535d5f6d50b676 WHIRLPOOL 5a330b1f9f7064c414bf3e8e90be182d2de2b5b545788cf87c9cf633b3bf641b405d3253109cb43f0f4b4824f3d21d95ae1e14216d4156de08b5ec11e49c69ed
diff --git a/games-engines/gemrb/gemrb-0.8.3-r1.ebuild b/games-engines/gemrb/gemrb-0.8.3-r1.ebuild
new file mode 100644
index 000000000000..f12df7fc9958
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.8.3-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils gnome2-utils python-single-r1 cmake-utils
+
+DESCRIPTION="Reimplementation of the Infinity engine"
+HOMEPAGE="http://gemrb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ media-libs/freetype
+ media-libs/libpng:0=
+ >=media-libs/libsdl-1.2[video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-mixer
+ sys-libs/zlib
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ sed -i \
+ -e '/COPYING/d' \
+ CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBIN_DIR=bin
+ -DDATA_DIR=share/gemrb
+ -DDOC_DIR=share/doc/${PF}
+ -DICON_DIR=share/pixmaps
+ -DLIB_DIR=$(get_libdir)
+ -DMAN_DIR=share/man/man6
+ -DMENU_DIR=share/applications
+ -DSVG_DIR=share/icons/hicolor/scalable/apps
+ -DSYSCONF_DIR=/etc/${PN}
+ # needed, causes massive QA warnings otherwise
+ -DCMAKE_SKIP_RPATH=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ python_fix_shebang "${ED%/}"/usr/bin/extend2da.py
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-engines/gemrb/gemrb-0.8.3.ebuild b/games-engines/gemrb/gemrb-0.8.3.ebuild
new file mode 100644
index 000000000000..b7ba53323a6f
--- /dev/null
+++ b/games-engines/gemrb/gemrb-0.8.3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-any-r1 cmake-utils gnome2-utils games
+
+DESCRIPTION="Reimplementation of the Infinity engine"
+HOMEPAGE="http://gemrb.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gemrb/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="media-libs/freetype
+ media-libs/libpng:0
+ >=media-libs/libsdl-1.2[video]
+ media-libs/libvorbis
+ media-libs/openal
+ media-libs/sdl-mixer
+ sys-libs/zlib
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+pkg_setup() {
+ python-any-r1_pkg_setup
+ games_pkg_setup
+}
+
+src_prepare() {
+ sed -i \
+ -e '/COPYING/d' \
+ CMakeLists.txt || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ -DBIN_DIR="${GAMES_BINDIR}"
+ -DDATA_DIR="${GAMES_DATADIR}/gemrb"
+ -DSYSCONF_DIR="${GAMES_SYSCONFDIR}/gemrb"
+ -DLIB_DIR="$(games_get_libdir)"
+ -DMAN_DIR=/usr/share/man/man6
+ -DICON_DIR=/usr/share/pixmaps
+ -DMENU_DIR=/usr/share/applications
+ -DDOC_DIR="/usr/share/doc/${PF}"
+ -DSVG_DIR=/usr/share/icons/hicolor/scalable/apps
+ )
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ DOCS="README NEWS AUTHORS" \
+ cmake-utils_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-engines/gemrb/metadata.xml b/games-engines/gemrb/metadata.xml
new file mode 100644
index 000000000000..48acc454984a
--- /dev/null
+++ b/games-engines/gemrb/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="sourceforge">gemrb</remote-id>
+ </upstream>
+</pkgmetadata>