diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 00:13:23 +0100 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2021-03-26 00:31:02 +0100 |
commit | 028ec10153b78d2241addca68f18edfab528171c (patch) | |
tree | 59e210cb4c170a7b9202b2d737c761ff7013b2dc /games-sports/xmoto | |
parent | app-text/podofo: drop old version (diff) | |
download | gentoo-028ec10153b78d2241addca68f18edfab528171c.tar.gz gentoo-028ec10153b78d2241addca68f18edfab528171c.tar.bz2 gentoo-028ec10153b78d2241addca68f18edfab528171c.zip |
games-sports/xmoto: drop old version
Drop old version, which does not support slotted lua
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'games-sports/xmoto')
-rw-r--r-- | games-sports/xmoto/xmoto-0.6.1-r1.ebuild | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/games-sports/xmoto/xmoto-0.6.1-r1.ebuild b/games-sports/xmoto/xmoto-0.6.1-r1.ebuild deleted file mode 100644 index c8bbb19258ae..000000000000 --- a/games-sports/xmoto/xmoto-0.6.1-r1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="A challenging 2D motocross platform game, where physics play an important role" -HOMEPAGE="https://xmoto.tuxfamily.org" -SRC_URI="https://github.com/xmoto/xmoto/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="double-precision +nls" - -RDEPEND="app-arch/bzip2 - dev-db/sqlite:3 - dev-games/ode[double-precision=] - dev-lang/lua:0 - dev-libs/libxdg-basedir - dev-libs/libxml2 - media-fonts/dejavu - media-libs/libpng:0= - media-libs/libsdl[joystick,opengl] - media-libs/sdl-mixer[vorbis] - media-libs/sdl-net - media-libs/sdl-ttf - net-misc/curl - sys-libs/zlib:= - virtual/jpeg:0 - virtual/glu - virtual/opengl - nls? ( virtual/libintl )" -DEPEND="${RDEPEND}" -BDEPEND="app-arch/xz-utils - nls? ( sys-devel/gettext )" - -PATCHES=( - "${FILESDIR}/${P}_lua_deprecated.patch" -) - -src_prepare() { - sed -e "/^Icon/s/.xpm//" -i extra/xmoto.desktop || die - sed -e "/add_subdirectory.*\(bzip2\|libccd\|lua\|ode\|xdgbasedir\)/d" -i src/CMakeLists.txt || die - rm -rf vendor/{bzip2,lua,ode,xdgbasedir} || die - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DUSE_GETTEXT=$(usex nls) - -DOpenGL_GL_PREFERENCE=GLVND - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - rm -f "${ED}/usr/share/xmoto"/Textures/Fonts/DejaVuSans{Mono,}.ttf || die - dosym ../../../fonts/dejavu/DejaVuSans.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSans.ttf - dosym ../../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/xmoto/Textures/Fonts/DejaVuSansMono.ttf -} |