public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gamerlay:master commit in: games-rpg/solarus/, games-rpg/solarus/files/
@ 2020-02-10 18:11 Azamat H. Hackimov
  0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2020-02-10 18:11 UTC (permalink / raw
  To: gentoo-commits

commit:     eab8f58addffd4eb3d0f676db4f5f2cbcecbecc5
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Feb 10 17:31:53 2020 +0000
Commit:     Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Feb 10 18:11:05 2020 +0000
URL:        https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=eab8f58a

games-rpg/solarus: remove package

Source unavailable, deperecated eclasses, dependency issues.
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>

 games-rpg/solarus/files/FindLuaJIT.cmake | 63 -----------------------------
 games-rpg/solarus/metadata.xml           |  9 -----
 games-rpg/solarus/solarus-9999.ebuild    | 69 --------------------------------
 3 files changed, 141 deletions(-)

diff --git a/games-rpg/solarus/files/FindLuaJIT.cmake b/games-rpg/solarus/files/FindLuaJIT.cmake
deleted file mode 100644
index e626a5a..0000000
--- a/games-rpg/solarus/files/FindLuaJIT.cmake
+++ /dev/null
@@ -1,63 +0,0 @@
-# Locate LuaJIT library
-# This module defines
-#  LUAJIT_FOUND, if false, do not try to link to Lua
-#  LUA_LIBRARIES
-#  LUA_INCLUDE_DIR, where to find lua.h
-#  LUAJIT_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
-
-## Copied from default CMake FindLua51.cmake
-
-find_path(LUA_INCLUDE_DIR luajit.h
-  HINTS
-    ENV LUA_DIR
-  PATH_SUFFIXES include/luajit-2.0 include
-  PATHS
-  ~/Library/Frameworks
-  /Library/Frameworks
-  /sw # Fink
-  /opt/local # DarwinPorts
-  /opt/csw # Blastwave
-  /opt
-)
-
-find_library(LUA_LIBRARY
-  NAMES luajit-5.1
-  HINTS
-    ENV LUA_DIR
-  PATH_SUFFIXES lib
-  PATHS
-  ~/Library/Frameworks
-  /Library/Frameworks
-  /sw
-  /opt/local
-  /opt/csw
-  /opt
-)
-
-if(LUA_LIBRARY)
-  # include the math library for Unix
-  if(UNIX AND NOT APPLE)
-    find_library(LUA_MATH_LIBRARY m)
-    set( LUA_LIBRARIES "${LUA_LIBRARY};${LUA_MATH_LIBRARY}" CACHE STRING "Lua Libraries")
-  # For Windows and Mac, don't need to explicitly include the math library
-  else()
-    set( LUA_LIBRARIES "${LUA_LIBRARY}" CACHE STRING "Lua Libraries")
-  endif()
-endif()
-
-if(LUA_INCLUDE_DIR AND EXISTS "${LUA_INCLUDE_DIR}/luajit.h")
-  file(STRINGS "${LUA_INCLUDE_DIR}/luajit.h" luajit_version_str REGEX "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT .+\"")
-
-  string(REGEX REPLACE "^#define[ \t]+LUAJIT_VERSION[ \t]+\"LuaJIT ([^\"]+)\".*" "\\1" LUAJIT_VERSION_STRING "${luajit_version_str}")
-  unset(luajit_version_str)
-endif()
-
-include(FindPackageHandleStandardArgs)
-# handle the QUIETLY and REQUIRED arguments and set LUA_FOUND to TRUE if
-# all listed variables are TRUE
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(LuaJIT
-                                  REQUIRED_VARS LUA_LIBRARIES LUA_INCLUDE_DIR
-                                  VERSION_VAR LUAJIT_VERSION_STRING)
-
-mark_as_advanced(LUA_INCLUDE_DIR LUA_LIBRARIES LUA_LIBRARY LUA_MATH_LIBRARY)
-

diff --git a/games-rpg/solarus/metadata.xml b/games-rpg/solarus/metadata.xml
deleted file mode 100644
index a46199f..0000000
--- a/games-rpg/solarus/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer>
-	<email>krytzz@soylent.eu</email>
-	<name>steffen stramm</name>
-</maintainer>
-<herd>playboys</herd>
-</pkgmetadata>

diff --git a/games-rpg/solarus/solarus-9999.ebuild b/games-rpg/solarus/solarus-9999.ebuild
deleted file mode 100644
index 83b66f0..0000000
--- a/games-rpg/solarus/solarus-9999.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="5"
-
-inherit cmake-utils games subversion
-
-DESCRIPTION="Zelda Mystery of Solarus DX"
-HOMEPAGE="http://www.zelda-solarus.com"
-ESVN_REPO_URI="svn://svn.solarus-engine.org/solarus/trunk"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-IUSE="debug luajit"
-
-DEPEND="media-libs/sdl-image[png]
-	media-libs/sdl-ttf
-	media-libs/openal
-	|| ( =dev-lang/lua-5.1* dev-lang/luajit:2 )
-	luajit? ( dev-lang/luajit )
-	media-libs/libsndfile
-	dev-games/physfs[zip]"
-RDEPEND="${DEPEND}
-	app-arch/zip"
-
-src_prepare() {
-	use luajit && {
-		cp "${FILESDIR}/FindLuaJIT.cmake" "${S}/cmake/modules/" || die "copying failed"
-		sed \
-			-e "s#Lua51#LuaJIT#" \
-			-i "${S}/src/CMakeLists.txt" || die "luajit sed failed"
-		sed -r \
-			-e 's#(COMMAND) (luac -o) (\$\{CMAKE_CURRENT_BINARY_DIR\}/\$\{lua_source_file\}c) (\$\{lua_source_file\})#\1 luajit -b \4 \3#' \
-			-i "${S}/quests/zsdx/data/CMakeLists.txt"
-	}
-	sed \
-		-e "s#-pedantic -Wall -Werror#-Wno-error -fpermissive#" \
-		-i "${S}/src/CMakeLists.txt" || die "compilation fix sed failed"
-	sed \
-		-e "s%#%%g" \
-		-i "${S}/quests/zsdx/data/languages/languages.dat"
-}
-
-src_configure() {
-	mycmakeargs="${mycmakeargs} -DDATAPATH=${GAMES_DATADIR}/${PN}"
-
-	cmake-utils_src_configure
-}
-
-src_compile() {
-	cmake-utils_src_compile
-}
-
-src_install() {
-	dogamesbin "${WORKDIR}/${P}_build/src/${PN}" || die "dobin failed"
-
-	local datadir="${GAMES_DATADIR}"/"${PN}"
-	dodir ${datadir}
-	insinto "${GAMES_DATADIR}"/"${PN}"
-	doins "${WORKDIR}/${P}_build/quests/zsdx/data/data.${PN}" || die "doins failed"
-
-	prepgamesdirs
-}
-
-pkg_postinst() {
-	games_pkg_postinst
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-10 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 18:11 [gentoo-commits] proj/gamerlay:master commit in: games-rpg/solarus/, games-rpg/solarus/files/ Azamat H. Hackimov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox