summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg')
-rw-r--r--games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild102
-rw-r--r--games-rpg/freedroidrpg/metadata.xml1
2 files changed, 0 insertions, 103 deletions
diff --git a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild b/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild
deleted file mode 100644
index c93b1fa9ce04..000000000000
--- a/games-rpg/freedroidrpg/freedroidrpg-1.0_rc2.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit autotools flag-o-matic desktop python-any-r1 xdg
-
-MY_PV=$(ver_rs 2 '')
-DESCRIPTION="A modification of the classical Freedroid engine into an RPG"
-HOMEPAGE="http://www.freedroid.org"
-SRC_URI="ftp://ftp.osuosl.org/pub/freedroid/freedroidRPG-$(ver_cut 1-2)/freedroidRPG-${MY_PV}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug devtools nls opengl profile sanitize sound"
-
-RDEPEND="
- sys-libs/zlib
- virtual/jpeg:0
- media-libs/libpng:0
- media-libs/libsdl[opengl?,sound?,video]
- media-libs/sdl-image[jpeg,png]
- >=media-libs/sdl-gfx-2.0.21
- nls? ( virtual/libintl )
- opengl? ( virtual/opengl )
- sound? (
- media-libs/libogg
- media-libs/libvorbis
- media-libs/sdl-mixer[vorbis] )
- devtools? ( media-libs/sdl-ttf )"
-DEPEND="${RDEPEND}"
-BDEPEND="
- ${PYTHON_DEPS}
- nls? ( sys-devel/gettext )
- sanitize? ( || ( sys-devel/gcc[sanitize] sys-devel/clang-runtime[sanitize] ) )"
-
-S="${WORKDIR}/${PN}-${MY_PV^^}"
-
-PATCHES=(
- "${FILESDIR}/${P}-fnocommon.patch"
-)
-
-src_prepare() {
- default
-
- sed -i \
- -e '/^dist_doc_DATA/d' \
- -e '/-pipe/d' \
- -e '/^SUBDIRS/s/pkgs//' \
- Makefile.am || die
- python_fix_shebang src data/sound
- eautoreconf
-}
-
-src_configure() {
- # this can produce strange results due to 'imprecise' math computations
- filter-flags -ffast-math
-
- local myconf=(
- --disable-fastmath
- --with-embedded-lua
- --localedir="${EPREFIX}/usr/share/locale"
- $(use_enable nls)
- $(use_enable opengl)
- $(use_enable sound)
- $(use_enable debug)
- $(use_with debug extra-warnings)
- $(use_enable debug backtrace)
- $(use_enable sanitize sanitize-address)
- $(use_enable profile rtprof)
- $(use_enable devtools dev-tools)
- )
- econf "${myconf[@]}"
-}
-
-src_install() {
- local i
-
- default
- for i in 48 64 96 128
- do
- doicon -s ${i} pkgs/freedesktop/icons/hicolor/${i}x${i}/apps/"${PN}".png
- done
- doicon -s scalable pkgs/freedesktop/icons/hicolor/scalable/apps/freedroidRPG.svg
- make_desktop_entry "${PN}" "Freedroid RPG" "${PN}"
-}
-
-pkg_postinst() {
- xdg_pkg_postinst
-
- local v min="1.0_rc1"
- for v in ${REPLACING_VERSIONS}; do
- if ver_test "${v}" -lt "${min}"; then
- echo
- ewarn "${P} is not compatible with save games before ${min}."
- ewarn "Please start a new character."
- echo
- fi
- done
-}
diff --git a/games-rpg/freedroidrpg/metadata.xml b/games-rpg/freedroidrpg/metadata.xml
index b95ace8f43de..82ad0dfd147d 100644
--- a/games-rpg/freedroidrpg/metadata.xml
+++ b/games-rpg/freedroidrpg/metadata.xml
@@ -29,7 +29,6 @@ fully express their creativity.
<use>
<flag name="devtools">Compile the additional dev tools</flag>
<flag name="profile">Enable the integration of the ingame real-time profiler</flag>
- <flag name="sanitize">Compile with address sanitizer</flag>
</use>
<upstream>
<remote-id type="gitlab">freedroid/freedroid-src</remote-id>