Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

version bump, remove old, merge minetest and minetest_game

  • Loading branch information...
commit ccc0ce149dcf3574a0d40da13f9e26bc8399fe08 1 parent 842b0d2
hasufell authored
Showing with 165 additions and 555 deletions.
  1. +7 −11 games-action/minetest/Manifest
  2. +17 −0 games-action/minetest/files/minetest-0.4.3-irrlicht.patch
  3. +2 −1  games-action/minetest/files/{minetest-0.4_pre20120408-jthread.patch → minetest-0.4.3-jthread.patch}
  4. 0  games-action/minetest/files/{minetest-0.4.1_p20120723-lua.patch → minetest-0.4.3-lua.patch}
  5. +0 −31 games-action/minetest/files/minetest-0.4_pre20120408-cmake.patch
  6. +0 −33 games-action/minetest/files/minetest-0.4_pre20120408-lua.patch
  7. +0 −27 games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch
  8. +0 −69 games-action/minetest/minetest-0.4.1.ebuild
  9. +0 −71 games-action/minetest/minetest-0.4.2_rc1.ebuild
  10. +93 −0 games-action/minetest/minetest-0.4.3.ebuild
  11. +0 −69 games-action/minetest/minetest-0.4_pre20120408.ebuild
  12. +0 −69 games-action/minetest/minetest-0.4_pre20120603.ebuild
  13. +0 −69 games-action/minetest/minetest-0.4_pre20120606.ebuild
  14. +46 −31 games-action/minetest/minetest-9999.ebuild
  15. +0 −3  games-action/minetest_game/Manifest
  16. +0 −8 games-action/minetest_game/metadata.xml
  17. +0 −32 games-action/minetest_game/minetest_game-0.4.3.ebuild
  18. +0 −31 games-action/minetest_game/minetest_game-9999.ebuild
View
18 games-action/minetest/Manifest
@@ -1,12 +1,8 @@
-AUX minetest-0.4.1_p20120723-lua.patch 591 SHA256 bdd39451ca02bf16301b7ba139d41c40e49fe3f1a0827b4492dfb495a68c0e48 SHA512 d02d30b129f48835c1cb0a208cd0362af6a20aec248d1732621cf6a1bffc289c4f0946f43662c4b79a2948b6e87e42a02884b629073091d4f859c9608698de03 WHIRLPOOL 4b3877cc57e73f9b89367728c96b3897a33f9017524a00447b6984bc29815128be663bf94faa7094a57bbc6bd0dcbdf07f4ce48931cb7bec1ba7e1e12a43f3e1
-AUX minetest-0.4_pre20120408-cmake.patch 1018 SHA256 a6e4841a0e80d374e7de1b246a67c2f5a8e01c1c1314bc5cd6e159a868bdbe3e SHA512 0a81a78ebd00fd1dd5cf48ee795a8abb109712941ccfa0dea3cc6e5d2c136675aedf5d5cfd90ab451e26cb358b9633ecdd7849b693a8e1f49cfff10d25be04a3 WHIRLPOOL 0f4443a4ce2ed01c04ebde26232afa25cce3fd0f638952ba05c059866564422565381e6e351f07bbd46f0100ec6700a4d394b2210fd32c441eccc30aa7eea3d4
-AUX minetest-0.4_pre20120408-jthread.patch 542 SHA256 96edf9eeb389f7ecc2fb73e782b557ea7f7e3ccf24bad998080601cb92dafaf7 SHA512 dd5752cc2121ad6ecc7c26568965c35f3cd9dffa57b6349e3f474e6071df6fff5ca0b92a2ae107c2295dc7878377202d4bab7fb4f13fc9b63df5c74e7f390655 WHIRLPOOL bbf817df3f509aed6ee835c42df7447471b5a8d800f54984bae469966d03f7e0b037e8647b1220d5cb8ab755bfb6a8faebc772826a5a7aca46dc768bbc9c4ec1
-AUX minetest-0.4_pre20120408-lua.patch 742 SHA256 716dbf527ea767c24767dbd40beb78f0442baac76ae6f9b01e74685d8aa75f8a SHA512 a81414cd09880f70f9f4e3f1d4908e57644b561510caa7dcce5d1ca15d2b44fd3c55ebaa56e49398ca46628c58bfa337ec1262aaf7fe947dd6c4a6572200ca9f WHIRLPOOL 2129d12c62d6693ad63507a11c1e32b7470e6a5b08afcd2f306f548d097bbb84644c39d0736c94c5b1f3a3f266d231f30271318d268db6a02ae0d7efe05fbaff
-AUX minetest-0.4_pre20120408-sharepath.patch 845 SHA256 c11fee414de62269234a9284cb87b7f43d6b9b2d1b3d4e6a9264e6d0c70a0134 SHA512 f37fd92b4ee27095b09b89ad7194ae24e2947114a74113f5c4ec6fbd57360f3e48ba65a03e0f060b4e68595639e5c6fdd57f58c46689072c8d9cfdbcd5c9cb91 WHIRLPOOL 94e1f35c2c1287f1bc76daab3b00407f3fe5a50bcecbd424fc44e929a3ccf4df40c2c3788e5ea19a97250d680cbecd7e9cb181505406b81ac9c84b0f87607132
-EBUILD minetest-0.4.1.ebuild 1324 SHA256 c7931f06f61794a4dce10840d7dd39fe2b0bab42aa0a853714d8db0bb9879221 SHA512 88dfb3c30eca910c82dfdd623f9f022a9924eb107b3e26abe326c84075b3dc6022414ec05d73f35c7647b6e6dbffa7441625aa572c47180514479c5150f0d5eb WHIRLPOOL 3bdde3059cb9011b1a6502111c48409c629dfd9a52e30c4d3f0c8c21cc7941ae7dda81056d901b40c73e4f9d2d2356938863bed7776e2e20cf31f0229f881f1d
-EBUILD minetest-0.4.2_rc1.ebuild 1394 SHA256 91b9f955e7f13eebbf1af61b3817189ca98456882fcab115e7ec298cd97e9359 SHA512 a6658ef54edf0e5792ec143fe31ccd341af46fb4a468a2105960d695a04adf7fca8ace504d1e56b27bdc7b74b2500598e6507a133c6a9559a8dce2b23f7ffee0 WHIRLPOOL 791bbf12b33e32e1b4b9fec23a80b101282dcad8c01547a5c01f3519edeed3bb1fecfaa9d0c6de8cb39089446ec137b51432efecc4ae50e1e5a8e386df71aa92
-EBUILD minetest-0.4_pre20120408.ebuild 1329 SHA256 a189425a201d5df35cba6270f017b505ee866025be778e33c05c49f340036f05 SHA512 e4aa967d9a69a8897e8a47e0d254941818d6bee819a355c82170f8250419d913b05385024987a42f4759c19f472a86b7c631d937f26abc7c0633d13101c207b2 WHIRLPOOL c080b00745f14212ff13fce51580dbf1b88a605d439a526a17e8219531217e8453a51122bc382d8852baef60c7bff251d30f8e60e4d033292e4f6fb6ffdae71e
-EBUILD minetest-0.4_pre20120603.ebuild 1346 SHA256 4894bf8277b6d6203b9a3091c0a90c33d011b8395dd4eb2b5fc2e6b69cdb7e41 SHA512 1638912d10a5a855d5cc3590bcd099c16176fe4047c48c78bd1c4155d7dc46c797c13dec4ce720951b69f027d104038672dae2ced4f0aad81662711e2c71df07 WHIRLPOOL 4eb51071c155c4729625d1957c2923eac9de4973206098f18492072516b2570b8106205ee569600dc708eda6569479b8a6fb2d5a43e1046ac8e34faa7a8283d9
-EBUILD minetest-0.4_pre20120606.ebuild 1346 SHA256 4894bf8277b6d6203b9a3091c0a90c33d011b8395dd4eb2b5fc2e6b69cdb7e41 SHA512 1638912d10a5a855d5cc3590bcd099c16176fe4047c48c78bd1c4155d7dc46c797c13dec4ce720951b69f027d104038672dae2ced4f0aad81662711e2c71df07 WHIRLPOOL 4eb51071c155c4729625d1957c2923eac9de4973206098f18492072516b2570b8106205ee569600dc708eda6569479b8a6fb2d5a43e1046ac8e34faa7a8283d9
-EBUILD minetest-9999.ebuild 1338 SHA256 844d872211dbbe887d9039094efff5066aa6e14accdab6102b8a6d9fa863f457 SHA512 5004dc00c9b32a79fd84eecb70a20aee747a99b277de4fb2f8d30d6e054af737e720e0829ee71efe2551937520306fc8c7317b96a62f1a887b8ce9549d35851d WHIRLPOOL dd3fe87e62e9a385f5a4779dd0775dcc4592831fc805d452701667d55a69b66f3c45716b30c43889d80cee0e304aad496bcba7e1b846d83deaf327b45d6bc017
+AUX minetest-0.4.3-irrlicht.patch 392 SHA256 b24a6a729c31c940115284e4720efe1b9d5384c0868abac86be42ac2db329335 SHA512 6551bf9b43d0de765e33c2a2a44d500d8ac7360968c60b791f9708458bb82fc3a224b10ecc0e47ab2d7a23cb51f0515e275b8e7d9029b5eec2e5b51b88374b69 WHIRLPOOL c24f7604409ea59a3e2b4f28a34305931b8c3f03b6ecf08cd62c7aac6908c474d305a99bcf773e59bbe44501fb80b4bdff0dffa2a896ebb6cd9c7f2ef1b777f6
+AUX minetest-0.4.3-jthread.patch 558 SHA256 a223de98c1f75c89475a71a3c660358e5e34170f028574e309e1dcecdcdc81fb SHA512 278ce16f78596117b4485c5b45d0fadc74f11e464e94657296c0c2dd2222e162c1b38a88a63c4b181ae5871e9efb62405e0225301c9a689b0a9c2aab41e5d6b6 WHIRLPOOL dc89f93c3d2aff52b447378c8e11b9e30b4fee26e620d5f8f5c19c42e9d2c27e4ea41b1e4a0bc08ef7dcf1d5896a81d5e22457306e3273878891199aa44d2b98
+AUX minetest-0.4.3-lua.patch 591 SHA256 bdd39451ca02bf16301b7ba139d41c40e49fe3f1a0827b4492dfb495a68c0e48 SHA512 d02d30b129f48835c1cb0a208cd0362af6a20aec248d1732621cf6a1bffc289c4f0946f43662c4b79a2948b6e87e42a02884b629073091d4f859c9608698de03 WHIRLPOOL 4b3877cc57e73f9b89367728c96b3897a33f9017524a00447b6984bc29815128be663bf94faa7094a57bbc6bd0dcbdf07f4ce48931cb7bec1ba7e1e12a43f3e1
+DIST minetest-0.4.3.tar.gz 2080827 SHA256 899378ba3b692bf8da2698da3bf91b1de6bbdb8bf8d93b4ed4523d4281bb977b SHA512 95eae9318c8624035a8bd4a48a19c18839216548270a533f4771bd31b876130099e5ff0de372e23d2e0e6bb1ddc953c90452b78e6a14e9bf867ba16d2839ad3d WHIRLPOOL ec6d25334f753fac8245e03dd114b74b196244e0afac7f741216e79add88e998fea029b4b721fb6ffa2809f27818c152a1e33d8b7fdc81558b3078b9f6a2be11
+DIST minetest_game-0.4.3.tar.gz 285487 SHA256 8928dd5f4bfd0252a059f2cf41ae9ab9b99f983bce787824af3dcf28fa045d6c SHA512 db4a52e0ffa93c6cc3db1c6d68004c191880101c77ff6bc8779a220297ecea0254577986c40ce13de83531b5b4c77748afa9f225950d3f4f9d84aba578ccc50a WHIRLPOOL e09b39b7b393a69fdde383e4aa3ed27cd651035f783df43bda0a8a1c17457243e50e984f9cb09435c0bafc12b688dea9cf5715ce9dfa0464cb2b61849870ec1e
+EBUILD minetest-0.4.3.ebuild 1991 SHA256 9e3c7adfbcc86b0bec6bbf88bc870ccb89bb8a038cac908f2b2151e7494a925e SHA512 b3ca3707006fa7f6fcd91afdfae85496fffa3a18285e0e69698c8841ab920918c76fe5da56e36325c1a8c16737395e3f1ced07396a4029791d31bc1d83176077 WHIRLPOOL f3f8b2337e9585e86b95bb7bb6c74ec53f1fc14987dfd9ea7fac3462fe0683871db97cb3576a62bcc5cbdaff38c138a858dbd0be6f8233260373def2a4bf5f4f
+EBUILD minetest-9999.ebuild 1809 SHA256 7f2f15104cdb84ef1607396b55f248c5bd068bb743db1dbfd13cfda069a9a385 SHA512 a862da0147d48ddb4c1463405245159d8f0b0a0151f7f8365d90fdd36ca30138a512311d505df31432f50d8bcd237a64607ade856779af673ce1a04047a92774 WHIRLPOOL 50bce2579f4828800d5214c4d5ee4fd96d977b18f654eff1409dddc159456b57589b4a80bdd8d51c5ebc8f10b33eaa543f03de17890592c054cbda4a3d4fb3d8
MISC metadata.xml 384 SHA256 e6061ee2004b17a02706acc062fa522ae07ce615c0d74a47712b562ebb7b9f25 SHA512 3c48b8d48bedaada54e70690e6ae439bc88b7961752ab01c1ffd0b73c059ac8416de62132300555f2280d354aed4dddf9dabbb7686c3caaa15373a817ba48366 WHIRLPOOL 93b077890d4f47b9a35100d318e466df4389e0390925e4e4c17c8e7f1312bf3b11e854e986083cd082a6136b0d7190a27fff114747d1121a21a8633eccd24f10
View
17 games-action/minetest/files/minetest-0.4.3-irrlicht.patch
@@ -0,0 +1,17 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Wed Sep 5 19:42:52 UTC 2012
+Subject: cmake module
+
+use shared lib
+
+--- cmake/Modules/FindIrrlicht.cmake
++++ cmake/Modules/FindIrrlicht.cmake
+@@ -50,7 +50,7 @@
+ /usr/include/irrlicht
+ )
+
+- FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.a Irrlicht
++ FIND_LIBRARY(IRRLICHT_LIBRARY NAMES libIrrlicht.so
+ PATHS
+ /usr/local/lib
+ /usr/lib
View
3  ...test/files/minetest-0.4_pre20120408-jthread.patch → ...ction/minetest/files/minetest-0.4.3-jthread.patch
@@ -2,6 +2,7 @@ From: hasufell <julian.ospald@googlemail.com>
Date: Mon Apr 23 21:34:29 UTC 2012
fix FIND_PATH to correctly find jthread
+use shared lib
--- cmake/Modules/FindJthread.cmake
+++ cmake/Modules/FindJthread.cmake
@@ -12,7 +13,7 @@ fix FIND_PATH to correctly find jthread
+FIND_PATH(JTHREAD_INCLUDE_DIR jthread.h PATHS /usr/include/jthread)
-FIND_LIBRARY(JTHREAD_LIBRARY NAMES jthread)
-+FIND_LIBRARY(JTHREAD_LIBRARY NAMES libjthread.a)
++FIND_LIBRARY(JTHREAD_LIBRARY NAMES libjthread.so)
IF(JTHREAD_LIBRARY AND JTHREAD_INCLUDE_DIR)
SET( JTHREAD_FOUND TRUE )
View
0  ...minetest/files/minetest-0.4.1_p20120723-lua.patch → games-action/minetest/files/minetest-0.4.3-lua.patch
File renamed without changes
View
31 games-action/minetest/files/minetest-0.4_pre20120408-cmake.patch
@@ -1,31 +0,0 @@
-From: Julian Ospald <julian.ospald@googlemail.com>
-Date: Tue Apr 3 03:33:30 UTC 2012
-
-make install-paths modifiable
-prepend "CMAKE_INSTALL_PREFIX" to SHAREDIR for proper variable substitution
-
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -73,14 +73,14 @@
- set(ICONDIR "unix/icons")
- set(LOCALEDIR "locale")
- else()
-- set(SHAREDIR "share/${PROJECT_NAME}")
-- set(BINDIR "bin")
-- set(DOCDIR "share/doc/${PROJECT_NAME}")
-- set(MANDIR "share/man")
-- set(EXAMPLE_CONF_DIR ${DOCDIR})
-- set(XDG_APPS_DIR "share/applications")
-- set(ICONDIR "share/icons")
-- set(LOCALEDIR "share/locale")
-+ set(SHAREDIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}" CACHE PATH "")
-+ set(BINDIR "bin" CACHE PATH "")
-+ set(DOCDIR "share/doc/${PROJECT_NAME}" CACHE PATH "")
-+ set(MANDIR "share/man" CACHE PATH "")
-+ set(EXAMPLE_CONF_DIR ${DOCDIR} CACHE PATH "")
-+ set(XDG_APPS_DIR "share/applications" CACHE PATH "")
-+ set(ICONDIR "share/icons" CACHE PATH "")
-+ set(LOCALEDIR "share/locale" CACHE PATH "")
- endif()
- endif()
-
View
33 games-action/minetest/files/minetest-0.4_pre20120408-lua.patch
@@ -1,33 +0,0 @@
-From: hasufell <julian.ospald@googlemail.com>
-Date: Mon Apr 23 21:34:29 UTC 2012
-
-use pkgconfig for lua detection
-
---- src/CMakeLists.txt
-+++ src/CMakeLists.txt
-@@ -144,10 +144,8 @@
-
- find_package(Jthread REQUIRED)
- find_package(Sqlite3 REQUIRED)
--
--# TODO: Create proper find script for Lua
--set(LUA_INCLUDE_DIR "${PROJECT_SOURCE_DIR}/lua/src")
--set(LUA_LIBRARY "lua")
-+find_package(Lua51 REQUIRED)
-+
-
- configure_file(
- "${PROJECT_SOURCE_DIR}/cmake_config.h.in"
-@@ -476,9 +474,9 @@
- add_subdirectory(sqlite)
- endif (SQLITE3_FOUND)
-
--if (LUA_FOUND)
--else (LUA_FOUND)
-+if (LUA_LIBRARY AND LUA_INCLUDE_DIR)
-+else (LUA_LIBRARY AND LUA_INCLUDE_DIR)
- add_subdirectory(lua)
--endif (LUA_FOUND)
-+endif (LUA_LIBRARY AND LUA_INCLUDE_DIR)
-
- #end
View
27 games-action/minetest/files/minetest-0.4_pre20120408-sharepath.patch
@@ -1,27 +0,0 @@
-From: Julian Ospald <julian.ospald@googlemail.com>
-Date: Tue Apr 3 03:33:30 UTC 2012
-
-make path_share look explicitly in SHAREDIR instead of potentially-broken
-relative path
-
---- src/porting.cpp
-+++ src/porting.cpp
-@@ -244,7 +244,7 @@
-
- pathRemoveFile(buf, '/');
-
-- path_share = std::string(buf) + "/../share/" + PROJECT_NAME;
-+ path_share = std::string(SHAREDIR);
- //path_share = std::string(INSTALL_PREFIX) + "/share/" + PROJECT_NAME;
- if (!fs::PathExists(path_share)) {
- dstream<<"WARNING: system-wide share not found at \""<<path_share<<"\"";
---- src/cmake_config.h.in
-+++ src/cmake_config.h.in
-@@ -4,6 +4,7 @@
- #define CMAKE_CONFIG_H
-
- #define CMAKE_PROJECT_NAME "@PROJECT_NAME@"
-+#define SHAREDIR "@SHAREDIR@"
- #define CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@"
- #define CMAKE_VERSION_STRING "@VERSION_STRING@"
- #ifdef NDEBUG
View
69 games-action/minetest/minetest-0.4.1.ebuild
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils cmake-utils git-2 games
-
-DESCRIPTION="Building single/multiplayer game (engine)"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${PV}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
-DEPEND="${RDEPEND}
- >=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.4_pre20120408-{cmake,jthread,lua,sharepath}.patch
- rm -r src/{jthread,lua,sqlite} || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DRUN_IN_PLACE=0
- -DSHAREDIR="${GAMES_DATADIR}/${PN}"
- -DBINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_enable nls GETTEXT)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
View
71 games-action/minetest/minetest-0.4.2_rc1.ebuild
@@ -1,71 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils cmake-utils git-2 games
-
-MY_PV="${PV/_rc/-rc}"
-DESCRIPTION="Building single/multiplayer game (engine)"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${MY_PV}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
-DEPEND="${RDEPEND}
- >=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.4_pre20120408-jthread.patch \
- "${FILESDIR}"/minetest-0.4.1_p20120723-lua.patch
- rm -r src/{jthread,lua,sqlite} || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DRUN_IN_PLACE=0
- -DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}"
- -DCUSTOM_BINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_enable nls GETTEXT)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
View
93 games-action/minetest/minetest-0.4.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils cmake-utils gnome2-utils vcs-snapshot games
+
+MY_P=${PN}_game-${PV}
+DESCRIPTION="Building single/multiplayer game similar to Minecraft"
+HOMEPAGE="http://c55.me/minetest/"
+SRC_URI="http://github.com/celeron55/minetest/tarball/${PV} -> ${P}.tar.gz
+ http://github.com/celeron55/minetest_game/tarball/${PV} -> ${MY_P}.tar.gz"
+
+LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated nls +server"
+
+RDEPEND="dev-db/sqlite:3
+ dev-lang/lua
+ >=dev-libs/jthread-1.2
+ !games-action/minetest_game
+ sys-libs/zlib
+ !dedicated? (
+ app-arch/bzip2
+ media-libs/libogg
+ media-libs/libpng:0
+ media-libs/libvorbis
+ media-libs/openal
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXxf86vm
+ )
+ nls? ( virtual/libintl )"
+# XXX: support shared lib for irrlicht
+DEPEND="${RDEPEND}
+ >=dev-games/irrlicht-1.7
+ !games-action/minetest_game
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ vcs-snapshot_src_unpack
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-jthread.patch \
+ "${FILESDIR}"/${P}-lua.patch
+
+ rm -r src/{jthread,lua,sqlite} || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DRUN_IN_PLACE=0
+ -DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}"
+ -DCUSTOM_BINDIR="${GAMES_BINDIR}"
+ -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+ $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" "$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
+ $(cmake-utils_use_enable nls GETTEXT)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ insinto "${GAMES_DATADIR}"/${PN}/games/${PN}
+ doins -r "${WORKDIR}"/${MY_P}/mods
+ doins "${WORKDIR}"/${MY_P}/game.conf
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
View
69 games-action/minetest/minetest-0.4_pre20120408.ebuild
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils cmake-utils git-2 games
-
-DESCRIPTION="Building single/multiplayer game (engine)"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${PV%_pre*}.dev-${PV#*_pre}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
-DEPEND="${RDEPEND}
- >=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-{cmake,jthread,lua,sharepath}.patch
- rm -r src/{jthread,lua,sqlite} || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DRUN_IN_PLACE=0
- -DSHAREDIR="${GAMES_DATADIR}/${PN}"
- -DBINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_enable nls GETTEXT)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
View
69 games-action/minetest/minetest-0.4_pre20120603.ebuild
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils cmake-utils git-2 games
-
-DESCRIPTION="Building single/multiplayer game (engine)"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${PV%_pre*}.dev-${PV#*_pre}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
-DEPEND="${RDEPEND}
- >=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.4_pre20120408-{cmake,jthread,lua,sharepath}.patch
- rm -r src/{jthread,lua,sqlite} || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DRUN_IN_PLACE=0
- -DSHAREDIR="${GAMES_DATADIR}/${PN}"
- -DBINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_enable nls GETTEXT)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
View
69 games-action/minetest/minetest-0.4_pre20120606.ebuild
@@ -1,69 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=3
-
-inherit eutils cmake-utils git-2 games
-
-DESCRIPTION="Building single/multiplayer game (engine)"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${PV%_pre*}.dev-${PV#*_pre}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
- sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
-DEPEND="${RDEPEND}
- >=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.4_pre20120408-{cmake,jthread,lua,sharepath}.patch
- rm -r src/{jthread,lua,sqlite} || die
-}
-
-src_configure() {
- local mycmakeargs=(
- -DRUN_IN_PLACE=0
- -DSHAREDIR="${GAMES_DATADIR}/${PN}"
- -DBINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
- $(cmake-utils_use_enable nls GETTEXT)
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
- prepgamesdirs
-}
View
77 games-action/minetest/minetest-9999.ebuild
@@ -2,48 +2,44 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=3
+EAPI=4
+inherit eutils cmake-utils git-2 gnome2-utils vcs-snapshot games
-inherit eutils cmake-utils git-2 games
-
-DESCRIPTION="Building single/multiplayer game (engine)"
+DESCRIPTION="Building single/multiplayer game similar to Minecraft"
HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dedicated nls +server"
-KEYWORDS=""
-IUSE="+client nls +server"
-
-RDEPEND="app-arch/bzip2
- dev-db/sqlite:3
- dev-lang/lua
- >=dev-libs/jthread-1.2
- media-libs/libpng:0
- media-libs/libvorbis
+RDEPEND="dev-db/sqlite:3
+ !games-action/minetest_game
sys-libs/zlib
- x11-libs/libX11
- x11-libs/libXxf86vm
- virtual/jpeg
- virtual/opengl
- nls? ( virtual/libintl )
- "
+ !dedicated? (
+ app-arch/bzip2
+ media-libs/libogg
+ media-libs/libpng:0
+ media-libs/libvorbis
+ media-libs/openal
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXxf86vm
+ )
+ nls? ( virtual/libintl )"
+# XXX: support shared lib for irrlicht
DEPEND="${RDEPEND}
>=dev-games/irrlicht-1.7
- nls? ( sys-devel/gettext )
- "
+ nls? ( sys-devel/gettext )"
src_unpack() {
+ EGIT_REPO_URI="git://github.com/celeron55/${PN}.git" \
git-2_src_unpack
-}
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.4_pre20120408-jthread.patch \
- "${FILESDIR}"/minetest-0.4.1_p20120723-lua.patch
- rm -r src/{jthread,lua,sqlite} || die
+ EGIT_REPO_URI="git://github.com/celeron55/minetest_game.git" \
+ EGIT_SOURCEDIR="${WORKDIR}/minetest_game" \
+ git-2_src_unpack
}
src_configure() {
@@ -51,8 +47,8 @@ src_configure() {
-DRUN_IN_PLACE=0
-DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}"
-DCUSTOM_BINDIR="${GAMES_BINDIR}"
- $(cmake-utils_use_build client CLIENT)
- $(cmake-utils_use_build server SERVER)
+ -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+ $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" "$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
$(cmake-utils_use_enable nls GETTEXT)
)
@@ -65,5 +61,24 @@ src_compile() {
src_install() {
cmake-utils_src_install
+
+ insinto "${GAMES_DATADIR}"/${PN}/games/${PN}
+ doins -r "${WORKDIR}"/minetest_game/mods
+ doins "${WORKDIR}"/minetest_game/game.conf
+
prepgamesdirs
}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
View
3  games-action/minetest_game/Manifest
@@ -1,3 +0,0 @@
-EBUILD minetest_game-0.4.3.ebuild 634 SHA256 01cd5401c8dcbe9165dc62273901116ba385a3726b773bc0060129998d42e5f8 SHA512 eccffb61f423965ea2083a1957b23d282ee36bcd62ec903d7b188e1d10e6ea1053f520920aca00d9de13f4b3d41177aaa9900b8812680eaf07d87a38d10f9cbf WHIRLPOOL 90da8621aa9b7f121ab41af754bfa1e1fbf1bbdd6a59f92f5161e96e58a6284291532795fd2dc51aa9879822bba75cf56b2a5a473174381317186987cb9eb11c
-EBUILD minetest_game-9999.ebuild 603 SHA256 ee4229409ef1500ba478af7621c4b7f31670bf846438053a2f907602db0e5646 SHA512 87b8318bf752b67f2d39282e78c0da1065030959460e6343d6fd862cde5668af0ef7b5377fa28c282cd522f089dc80e4f2a2f1167f95cc5dc0f4d8a508ed66c0 WHIRLPOOL 42c746d9cbc83bcc0ad2a7f3197e7d107f2d0033c691ef432d37c92f21c3b932c6818ceeaf9777caea8c366dd0c421b52688262834940e81a4cefb7396707634
-MISC metadata.xml 229 SHA256 770b9a8d57d60f3ed3a960db8dc5b87dff2a488d5ce41dcc8aad0b3dbbe6241c SHA512 303b25f01490606fda51abfa8f8f5bbbc19303e71d0712b1f1e6531e33dab11308f5528f72dcb302efbeaea3e8f37476d8944d5a367dbc37b5d9460b53de4e4f WHIRLPOOL 9d2befa28759c015a4158199e3c105c698b1b06b602d209b9250f0cf114dfb6825d3d19cacb9525353f13a3a4aa4e8aa8796ab62fbf97cfc54575bf7a82e129c
View
8 games-action/minetest_game/metadata.xml
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer>
- <email>hasufell@gentoo.org</email>
- <name>hasufell</name>
- </maintainer>
-</pkgmetadata>
View
32 games-action/minetest_game/minetest_game-0.4.3.ebuild
@@ -1,32 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-inherit git-2 games
-
-DESCRIPTION="Building single/multiplayer game similar to Minecraft"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-EGIT_COMMIT="${PV}"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="~games-engines/minetest-${PV}[-dedicated]"
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_install() {
- insinto "${GAMES_DATADIR}"/${PN%_game}/games/${PN}
- doins -r mods
- doins game.conf
-
- prepgamesdirs
-}
View
31 games-action/minetest_game/minetest_game-9999.ebuild
@@ -1,31 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-inherit git-2 games
-
-DESCRIPTION="Building single/multiplayer game similar to Minecraft"
-HOMEPAGE="http://c55.me/minetest/"
-SRC_URI=""
-
-EGIT_REPO_URI="git://github.com/celeron55/${PN}.git"
-
-LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-RDEPEND="~games-engines/minetest-${PV}[-dedicated]"
-
-src_unpack() {
- git-2_src_unpack
-}
-
-src_install() {
- insinto "${GAMES_DATADIR}"/${PN%_game}/games/${PN}
- doins -r mods
- doins game.conf
-
- prepgamesdirs
-}
Please sign in to comment.
Something went wrong with that request. Please try again.