summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-rpg/arx-libertatis
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-rpg/arx-libertatis')
-rw-r--r--games-rpg/arx-libertatis/Manifest3
-rw-r--r--games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild91
-rw-r--r--games-rpg/arx-libertatis/arx-libertatis-1.1.1.ebuild98
-rw-r--r--games-rpg/arx-libertatis/arx-libertatis-1.1.2.ebuild98
-rw-r--r--games-rpg/arx-libertatis/files/arx-data-copy108
-rw-r--r--games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch36
-rw-r--r--games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch74
-rw-r--r--games-rpg/arx-libertatis/metadata.xml61
8 files changed, 569 insertions, 0 deletions
diff --git a/games-rpg/arx-libertatis/Manifest b/games-rpg/arx-libertatis/Manifest
new file mode 100644
index 000000000000..0e606a1c540c
--- /dev/null
+++ b/games-rpg/arx-libertatis/Manifest
@@ -0,0 +1,3 @@
+DIST arx-libertatis-1.0.3.tar.xz 912288 SHA256 5719e1602051f6a6dc13ac0366ff03804f914ffbd855e7e06fdeb0d065fb6d32 SHA512 e1e8d581b6a7928911abad124a6f9670c28f2a56bc7f7f3bae965f717977a0e9a3953514a663c3f7eb4a802cca8e5607feec829a3b7ffeccc83a835fd77a74b6 WHIRLPOOL 321ec489a474b9a63a762756d929371bd8c05ea5d2fa7994c597a86dc20009f385c5f8d23c1da5f978e9f358949a96bf23bf218245633fd5f4393294fbecee75
+DIST arx-libertatis-1.1.1.tar.xz 970544 SHA256 d405047a78c520015f724b0b907ede55aadc787b5da91cf9967c08e70414d6c4 SHA512 9d6f2cdf029e0bfe19a6794ddbfe57f1cb88c4085d55f8b43cad740ef219d37dba3d47bd4a6bfd0cf0d5a58eabcb3304038430fe743e87d585e6d9620b1ce42c WHIRLPOOL 728f42a4a503dbe16e19cdc19551d224fd0a23aabeb56554947baa5fd40653d9779854a30cceff9094cf59d90d77c136bb15e4bb3d236da21897889168a3735a
+DIST arx-libertatis-1.1.2.tar.xz 970608 SHA256 82adb440a9c86673e74b84abd480cae968e1296d625b6d40c69ca35b35ed4e42 SHA512 d4cb8187e7f63934408e38a51a44b7da03c8628820d43139507ff97ebd463b9cd7baf6cc4e85a3d4191d6e5f56850d77d07cfffc33d8f5a51378dfb41f719fb8 WHIRLPOOL 8408189dd184ce692962fb157e89048e96f9a29f47cd16163f0194e5ccb5c8a3c8bbac33fabd253d11eb07fd74b5598ccf98a94383c656c0686aff5485f4bb0e
diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild
new file mode 100644
index 000000000000..2107716dce43
--- /dev/null
+++ b/games-rpg/arx-libertatis/arx-libertatis-1.0.3.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils cmake-utils gnome2-utils games
+
+DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
+HOMEPAGE="http://arx-libertatis.org/"
+SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug unity-build crash-reporter tools"
+
+COMMON_DEPEND=">=dev-libs/boost-1.39
+ media-libs/devil[jpeg]
+ media-libs/freetype
+ media-libs/glew
+ media-libs/libsdl[opengl]
+ media-libs/openal
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/libX11
+ crash-reporter? (
+ dev-qt/qtcore:4[ssl]
+ dev-qt/qtgui:4
+ )"
+RDEPEND="${COMMON_DEPEND}
+ crash-reporter? ( sys-devel/gdb )"
+DEPEND="${COMMON_DEPEND}"
+
+DOCS=( README.md AUTHORS CHANGELOG )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-{gentoo,cmake2.8}.patch
+}
+
+src_configure() {
+ use debug && CMAKE_BUILD_TYPE=Debug
+
+ # editor does not build
+ local mycmakeargs=(
+ $(cmake-utils_use unity-build UNITY_BUILD)
+ $(cmake-utils_use_build tools TOOLS)
+ $(cmake-utils_use_build crash-reporter CRASHREPORTER)
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ -DGAMESBINDIR="${GAMES_BINDIR}"
+ -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}"
+ -DICONDIR=/usr/share/icons/hicolor/128x128/apps
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ dogamesbin "${FILESDIR}"/arx-data-copy
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "optional dependencies:"
+ elog " games-rpg/arx-fatalis-data (from CD or GOG)"
+ elog " games-rpg/arx-fatalis-demo (free demo)"
+ elog
+ elog "This package only installs the game binary."
+ elog "You need the demo or full game data. Also see:"
+ elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
+ elog
+ elog "If you have already installed the game or use the STEAM version,"
+ elog "run \"${GAMES_BINDIR}/arx-data-copy /path/to/installed-arx /usr/local/share/games/arx\"."
+
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.1.1.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.1.1.ebuild
new file mode 100644
index 000000000000..d238e63a52fe
--- /dev/null
+++ b/games-rpg/arx-libertatis/arx-libertatis-1.1.1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_WARN_UNUSED_CLI=yes
+inherit eutils cmake-utils gnome2-utils games
+
+DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
+HOMEPAGE="http://arx-libertatis.org/"
+SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="c++0x debug +unity-build crash-reporter static tools"
+
+COMMON_DEPEND="
+ media-libs/freetype
+ media-libs/libsdl[X,video,opengl]
+ media-libs/openal
+ sys-libs/zlib
+ virtual/opengl
+ crash-reporter? (
+ dev-qt/qtcore:4[ssl]
+ dev-qt/qtgui:4
+ )
+ !static? ( media-libs/glew )"
+RDEPEND="${COMMON_DEPEND}
+ crash-reporter? ( sys-devel/gdb )"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ virtual/pkgconfig
+ static? ( media-libs/glew[static-libs] )"
+
+DOCS=( README.md AUTHORS CHANGELOG )
+
+src_configure() {
+ # editor does not build
+ local mycmakeargs=(
+ $(cmake-utils_use_build crash-reporter CRASHREPORTER)
+ -DBUILD_EDITOR=OFF
+ $(cmake-utils_use_build tools TOOLS)
+ -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}"
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ $(cmake-utils_use debug DEBUG)
+ -DGAMESBINDIR="${GAMES_BINDIR}"
+ -DICONDIR=/usr/share/icons/hicolor/128x128/apps
+ -DINSTALL_SCRIPTS=ON
+ -DSET_OPTIMIZATION_FLAGS=OFF
+ -DSTRICT_USE=ON
+ $(cmake-utils_use unity-build UNITY_BUILD)
+ $(cmake-utils_use_use c++0x CXX11)
+ -DUSE_NATIVE_FS=ON
+ -DUSE_OPENAL=ON
+ -DUSE_OPENGL=ON
+ -DUSE_SDL=ON
+ $(usex crash-reporter "-DUSE_QT5=OFF" "")
+ $(cmake-utils_use_use static STATIC_LIBS)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "optional dependencies:"
+ elog " games-rpg/arx-fatalis-data (from CD or GOG)"
+ elog " games-rpg/arx-fatalis-demo (free demo)"
+ elog
+ elog "This package only installs the game binary."
+ elog "You need the demo or full game data. Also see:"
+ elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
+ elog
+ elog "If you have already installed the game or use the STEAM version,"
+ elog "run \"${GAMES_BINDIR}/arx-install-data\""
+
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-rpg/arx-libertatis/arx-libertatis-1.1.2.ebuild b/games-rpg/arx-libertatis/arx-libertatis-1.1.2.ebuild
new file mode 100644
index 000000000000..d238e63a52fe
--- /dev/null
+++ b/games-rpg/arx-libertatis/arx-libertatis-1.1.2.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_WARN_UNUSED_CLI=yes
+inherit eutils cmake-utils gnome2-utils games
+
+DESCRIPTION="Cross-platform port of Arx Fatalis, a first-person role-playing game"
+HOMEPAGE="http://arx-libertatis.org/"
+SRC_URI="mirror://sourceforge/arx/${P}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="c++0x debug +unity-build crash-reporter static tools"
+
+COMMON_DEPEND="
+ media-libs/freetype
+ media-libs/libsdl[X,video,opengl]
+ media-libs/openal
+ sys-libs/zlib
+ virtual/opengl
+ crash-reporter? (
+ dev-qt/qtcore:4[ssl]
+ dev-qt/qtgui:4
+ )
+ !static? ( media-libs/glew )"
+RDEPEND="${COMMON_DEPEND}
+ crash-reporter? ( sys-devel/gdb )"
+DEPEND="${COMMON_DEPEND}
+ dev-libs/boost
+ virtual/pkgconfig
+ static? ( media-libs/glew[static-libs] )"
+
+DOCS=( README.md AUTHORS CHANGELOG )
+
+src_configure() {
+ # editor does not build
+ local mycmakeargs=(
+ $(cmake-utils_use_build crash-reporter CRASHREPORTER)
+ -DBUILD_EDITOR=OFF
+ $(cmake-utils_use_build tools TOOLS)
+ -DCMAKE_INSTALL_DATAROOTDIR="${GAMES_DATADIR_BASE}"
+ -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}"
+ $(cmake-utils_use debug DEBUG)
+ -DGAMESBINDIR="${GAMES_BINDIR}"
+ -DICONDIR=/usr/share/icons/hicolor/128x128/apps
+ -DINSTALL_SCRIPTS=ON
+ -DSET_OPTIMIZATION_FLAGS=OFF
+ -DSTRICT_USE=ON
+ $(cmake-utils_use unity-build UNITY_BUILD)
+ $(cmake-utils_use_use c++0x CXX11)
+ -DUSE_NATIVE_FS=ON
+ -DUSE_OPENAL=ON
+ -DUSE_OPENGL=ON
+ -DUSE_SDL=ON
+ $(usex crash-reporter "-DUSE_QT5=OFF" "")
+ $(cmake-utils_use_use static STATIC_LIBS)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "optional dependencies:"
+ elog " games-rpg/arx-fatalis-data (from CD or GOG)"
+ elog " games-rpg/arx-fatalis-demo (free demo)"
+ elog
+ elog "This package only installs the game binary."
+ elog "You need the demo or full game data. Also see:"
+ elog "http://wiki.arx-libertatis.org/Getting_the_game_data"
+ elog
+ elog "If you have already installed the game or use the STEAM version,"
+ elog "run \"${GAMES_BINDIR}/arx-install-data\""
+
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-rpg/arx-libertatis/files/arx-data-copy b/games-rpg/arx-libertatis/files/arx-data-copy
new file mode 100644
index 000000000000..f11fc05eb2c1
--- /dev/null
+++ b/games-rpg/arx-libertatis/files/arx-data-copy
@@ -0,0 +1,108 @@
+#!/bin/sh
+
+die() {
+ echo "$@" >&2
+ exit 1
+}
+
+# Handle arguments
+if [ "$1" != "--help" ] && [ "$1" != "-h" ] ; then
+ SOURCE="$(readlink -f "$1")"
+else
+ die "\
+Usage: arx-data-copy path/to/ArxFatalis/ [output_dir]
+
+This script can be used to copy the game data from a fully patched
+Arx Fatalis 1.21 install (for example a Steam download).
+Files will be renamed as needed by Arx Libertatis.
+
+You can get the 1.21 patch from http://www.arkane-studios.com/uk/arx_downloads.php"
+fi
+
+if [ "$2" = "" ] ; then
+ DESTDIR="$(pwd)"
+else
+ DESTDIR="$(readlink -f "$2")"
+fi
+
+cd "$(dirname "$0")"
+
+echo "Installing Arx Fatalis data from \"$SOURCE\" to \"$DESTDIR\".
+"
+
+# Check for required files
+[ -d "$SOURCE" ] || die "$SOURCE does not exist"
+
+# files
+set -- \
+ "data2.pak" \
+ "graph/interface/misc/arkane.bmp" \
+ "graph/interface/misc/quit1.bmp" \
+ "graph/obj3d/textures/fixinter_barrel.jpg" \
+ "graph/obj3d/textures/fixinter_bell.bmp" \
+ "graph/obj3d/textures/fixinter_metal_door.jpg" \
+ "graph/obj3d/textures/fixinter_public_notice.bmp" \
+ "graph/obj3d/textures/item_bread.bmp" \
+ "graph/obj3d/textures/item_club.jpg" \
+ "graph/obj3d/textures/item_long_sword.jpg" \
+ "graph/obj3d/textures/item_mauld_sabre.jpg" \
+ "graph/obj3d/textures/item_mauldsword.jpg" \
+ "graph/obj3d/textures/item_mirror.jpg" \
+ "graph/obj3d/textures/item_ring_casting.bmp" \
+ "graph/obj3d/textures/item_rope.bmp" \
+ "graph/obj3d/textures/item_spell_sheet.jpg" \
+ "graph/obj3d/textures/item_torch2.jpg" \
+ "graph/obj3d/textures/item_torch.jpg" \
+ "graph/obj3d/textures/item_zohark.bmp" \
+ "graph/obj3d/textures/l7_dwarf_[wood]_board08.jpg" \
+ "graph/obj3d/textures/l7_dwarf_[wood]_board80.jpg" \
+ "graph/obj3d/textures/npc_dog.bmp" \
+ "graph/obj3d/textures/npc_pig.bmp" \
+ "graph/obj3d/textures/npc_pig_dirty.bmp" \
+ "graph/obj3d/textures/npc_rat_base.bmp" \
+ "graph/obj3d/textures/npc_rat_base_cm.bmp" \
+ "graph/obj3d/textures/npc_worm_body_part1.jpg" \
+ "graph/obj3d/textures/npc_worm_body_part2.bmp" \
+ "graph/obj3d/textures/[wood]_light_door.jpg" \
+ "manual.pdf" \
+ "map.pdf" \
+ "misc/arx_default.ttf" \
+ "misc/arx_russian.ttf" \
+ "misc/arx_taiwanese.ttf" \
+ "misc/logo.avi" \
+ "misc/logo.bmp" \
+ "sfx.pak" \
+ "data.pak" \
+ "loc.pak" \
+ "speech.pak"
+
+# Install required files
+ret=0
+for f in "$@" ; do
+ DEST="$DESTDIR/$f"
+ DIRNAME="$(dirname "$f")"
+ FILE="$(basename "$f" | sed 's/[^[:alnum:]_-]/\\&/g')"
+ FILE_DEFAULT="$(echo "$FILE" | sed 's/^\(.*\)\(\.[^.]*\)$/\1_default\2/g')"
+
+ # don't screw permissions on existent folders
+ [ -e "$DESTDIR/$DIRNAME" ] || { mkdir -pv "$DESTDIR/$DIRNAME"
+ chmod 755 "$DESTDIR/$DIRNAME" ; }
+
+ find "$SOURCE" -iname "$FILE" -exec cp -fv '{}' "$DEST" \;
+ find "$SOURCE" -iname "$FILE_DEFAULT" -exec cp -fv '{}' "$DEST" \;
+
+ chmod 644 "$DEST" || { missing_files="$missing_files
+ $f" ; return 1 ; }
+
+ ret="$(($ret + $?))"
+done
+
+[ "$ret" = "0" ] || die "
+$ret errors and following files not installed:$missing_files
+
+You either have incorrect permissions on \"${DESTDIR}\"
+or don't have patch 1.21 installed. Fix it and rerun this script."
+
+echo
+echo "Now run:
+ arx --data-dir \"$DESTDIR\""
diff --git a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch
new file mode 100644
index 000000000000..b44dce2570c5
--- /dev/null
+++ b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-cmake2.8.patch
@@ -0,0 +1,36 @@
+From 1cd224fe2933edf33fa1fe7003fc6580e38217fa Mon Sep 17 00:00:00 2001
+From: Daniel Scharrer <daniel@constexpr.org>
+Date: Sat, 3 Nov 2012 04:43:42 +0100
+Subject: [PATCH] Fix build with CMake 2.8.10
+
+Previously we checked for SDL by using
+ find_package(SDL 1.2 EXACT)
+
+This worked with earlier CMake versions as the find script for SDL
+didn't provide any version, so CMake just ignored the '1.2 EXACT' part.
+
+In CMake 2.8.10, FindSDL.cmake reports the SDL version number as
+major.minor.patch, which is never exactly equal to 1.2.
+
+This commit relaxes the check by removing the 'EXACT' requirement.
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 14ec2fe..5690176 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -145,7 +145,7 @@ if(USE_SDL)
+ # due to the need to have NSApplication correctly setup by SDLmain.
+ set(SDL_BUILDING_LIBRARY 1)
+ endif()
+- find_package(SDL 1.2 EXACT)
++ find_package(SDL 1.2)
+ endif()
+
+ if(MSVC)
+--
+1.7.10
+
+
diff --git a/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch
new file mode 100644
index 000000000000..c1da7f7136d1
--- /dev/null
+++ b/games-rpg/arx-libertatis/files/arx-libertatis-1.0.3-gentoo.patch
@@ -0,0 +1,74 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Jun 27 22:04:32 UTC 2012
+Subject: build system
+
+respect flags
+
+--- CMakeLists.txt
++++ CMakeLists.txt
+@@ -365,21 +365,6 @@
+
+ endif()
+
+- # Warning level
+- add_cxxflag("-Wall")
+- add_cxxflag("-Wextra")
+- add_cxxflag("-Wformat=2")
+- add_cxxflag("-Wundef")
+- add_cxxflag("-Wpointer-arith")
+- add_cxxflag("-Wcast-qual")
+- add_cxxflag("-Woverloaded-virtual")
+- add_cxxflag("-Wlogical-op")
+-
+- add_cxxflag("-Wliteral-conversion")
+- add_cxxflag("-Wshift-overflow")
+- add_cxxflag("-Woverflow")
+- add_cxxflag("-Wbool-conversions")
+-
+ # TODO enable:
+ # add_cxxflag("-Wconversion") # very noisy
+ # add_cxxflag("-Wsign-conversion") # very noisy
+@@ -391,27 +376,12 @@
+ endif()
+
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
+-
+- #Debug
+ add_definitions(-D_DEBUG)
+-
+- check_compiler_flag(RESULT "-g3")
+- if(NOT RESULT STREQUAL "")
+- string(REGEX REPLACE "-g(|[0-9]|gdb)" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
+- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}")
+- endif()
+-
+- check_compiler_flag(RESULT "-O0")
+- string(REGEX REPLACE "-O[0-9]" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
+- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} ${RESULT}")
+-
+ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
+-
+ if((NOT CMAKE_CXX_FLAGS MATCHES "-g(|[0-9]|gdb)")
+ AND (NOT CMAKE_CXX_FLAGS_RELEASE MATCHES "-g(|[0-9]|gdb)"))
+ add_cxxflag("-g2")
+ endif()
+-
+ endif()
+
+ if(DEBUG_EXTRA)
+@@ -419,15 +389,7 @@
+ add_cxxflag("-fbounds-checking")
+ add_cxxflag("-fcatch-undefined-behavior")
+ add_cxxflag("-Wstrict-aliasing=1")
+- else()
+- # -Wuninitialized causes too many false positives
+- add_cxxflag("-Wno-uninitialized")
+- # (clang only) Conflicts with using const variables for configuration.
+- add_cxxflag("-Wno-constant-logical-operand")
+ endif()
+-
+- # Because we are lazy
+- add_ldflag("-Wl,--as-needed")
+
+ # Xcode does not support -isystem yet
+ if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
diff --git a/games-rpg/arx-libertatis/metadata.xml b/games-rpg/arx-libertatis/metadata.xml
new file mode 100644
index 000000000000..13a0ce0c0740
--- /dev/null
+++ b/games-rpg/arx-libertatis/metadata.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+ <use>
+ <flag name='c++0x'>Build ROOT using the C++11 standard.</flag>
+ <flag name='crash-reporter'>Build a <pkg>dev-qt/qtgui</pkg>-based
+ tool that allows to submit crash information to the upstream
+ backtracker.</flag>
+ <flag name='debug'>Enable asserts and debug logging.</flag>
+ <flag name='static'>Link libraries statically, currently only
+ <pkg>media-libs/glew</pkg></flag>
+ <flag name='tools'>Build tools that can extract the game's data and
+ save files.</flag>
+ <flag name='unity-build'>Build everything in one big source file,
+ allowing for faster build times and better optimizations at
+ the cost of higher memory usage.</flag>
+ </use>
+ <longdescription lang='en'>
+ Arx Libertatis is a cross-platform, open source port of
+ Arx Fatalis, a 2002 first-person role-playing game/dungeon crawler
+ developed by Arkane Studios.
+ Arx Fatalis features crafting, melee and ranged combat, as well
+ as a unique casting system where the player draws runes in real
+ time to effect the desired spell.
+ Arx Libertatis updates and improves Arx Fatalis by supporting
+ modern systems, porting the game to new systems as well as
+ eliminating bugs and limitations.
+ </longdescription>
+ <longdescription lang='de'>
+ Arx Libertatis ist eine cross-platform, open source Portierung
+ von Arx Fatalis, ein Rollenspiel/Dungeon Crawler in Ego-Perspektive
+ aus dem Jahr 2002, entwickelt von Arkane Studios.
+ Arx Fatalist umfasst das Herstellen von Gegenständen,
+ Nah- und Fernkampf, sowie ein einzigartiges Magiesystem,
+ in dem der Spieler Runen in Echtzeit zeichnen muss, um einen
+ Zauberspruch auszusprechen.
+ Arx Libertatis aktualisiert und verbessert Arx Fatalis, indem
+ es moderne Systeme unterstützt, das Spiel auch zu neuen Systemen
+ portiert und bugs und Beschränkungen behebt.
+ </longdescription>
+ <upstream>
+ <maintainer status='active'>
+ <email>daniel@constexpr.org</email>
+ <name>Daniel Scharrer</name>
+ </maintainer>
+ <bugs-to>https://bugs.arx-libertatis.org/</bugs-to>
+ <changelog>
+ http://wiki.arx-libertatis.org/Changelog
+ </changelog>
+ <doc lang='en'>http://wiki.arx-libertatis.org/</doc>
+ <remote-id type='github'>arx/ArxLibertatis</remote-id>
+ <remote-id type='sourceforge'>arx</remote-id>
+ <remote-id type='freecode'>arx-libertatis</remote-id>
+ </upstream>
+</pkgmetadata>
+