summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-09-15 19:43:04 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-09-15 19:43:04 +0000
commit8bbd2d56432e753cd97debd94727ebeb4716b42f (patch)
treec02b193837fb8ab0d65c79c131bafa29f63f183c /games-action
parentdev-vcs/git-cola: Version BUmp (diff)
downloadhistorical-8bbd2d56432e753cd97debd94727ebeb4716b42f.tar.gz
historical-8bbd2d56432e753cd97debd94727ebeb4716b42f.tar.bz2
historical-8bbd2d56432e753cd97debd94727ebeb4716b42f.zip
fix irrlicht dependency for dedicated USE flag
Package-Manager: portage-2.2.12-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'games-action')
-rw-r--r--games-action/minetest/ChangeLog7
-rw-r--r--games-action/minetest/Manifest31
-rw-r--r--games-action/minetest/minetest-0.4.10-r1.ebuild150
3 files changed, 172 insertions, 16 deletions
diff --git a/games-action/minetest/ChangeLog b/games-action/minetest/ChangeLog
index 76fda25c74f1..799d61980bfa 100644
--- a/games-action/minetest/ChangeLog
+++ b/games-action/minetest/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-action/minetest
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/ChangeLog,v 1.13 2014/09/15 19:02:47 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/ChangeLog,v 1.14 2014/09/15 19:43:00 hasufell Exp $
+
+*minetest-0.4.10-r1 (15 Sep 2014)
+
+ 15 Sep 2014; Julian Ospald <hasufell@gentoo.org> +minetest-0.4.10-r1.ebuild:
+ fix irrlicht dependency for dedicated USE flag
15 Sep 2014; Julian Ospald <hasufell@gentoo.org> minetest-0.4.9.ebuild:
update elog
diff --git a/games-action/minetest/Manifest b/games-action/minetest/Manifest
index 4bea1026a53b..a79e14ce7fcc 100644
--- a/games-action/minetest/Manifest
+++ b/games-action/minetest/Manifest
@@ -13,26 +13,27 @@ AUX minetestserver.confd 313 SHA256 b360d2f80fb9793994a33778ef907a5b9220ba0a6a8a
AUX minetestserver.initd 682 SHA256 5c808e03db1d234922b960a1691326bdcd8195593edd6c9d5edec878d60f6e8d SHA512 08c652e7f32194b957220ebba6bd8aceb02f9da69cb5e513aedbc6942671df1d4371282a2798f7b83c9d38fbd2c16e46147b963219b8b456881517920cb446f2 WHIRLPOOL 30fc5942a292a6aaed846e9fa44038cc5e8bc3d4466d5ff17f7bf6c0fd753e13a8c484a6fa3de5705e2ec4633ba45895ff6ab25f41b07228eebd7c9e96b3f19a
DIST minetest-0.4.10.tar.gz 5291236 SHA256 05d15c8e2c8e53ee9d3006e79c2b59200311a7b879220d8b6f6a6fd2acf806b6 SHA512 0d2f2590df530df9bed11a08a3e67dfa39dae1987b8c1f6a4f4f2ace2c40dea3b5afce445e3b2e17b2bd8a426bdd53d717989018f5da531b1eb10965d953c3bf WHIRLPOOL 016c2bc6f9aed44943f238491c445f48013f76a74f9c09e56c1e70e03fa3ded72b042b9dffa0bed81a9dcdc84358a9be88bbf32119dd45a1e2a9873031be1009
DIST minetest-0.4.9.tar.gz 5195312 SHA256 b394eeb054aa6cd0f022535e486a0c61504039f48671791da2a84da4bc5b2a26 SHA512 8d4185c99425ffd9de18abbe6de14189e0a7818aa5e554bcef05d66ab3ff16a63b0ce8105eca55609738867d518c95c7fcee08fb62ee424ecbef057a71424bcf WHIRLPOOL 84de3bf1b9287173e7e046e7f293b282aab8fdd23e9b899ea2bb1adcbf80fe9ae8cc76709142c46f6519574fe915037e13154dc4488ebe0b3db9596e6f9c93f8
+EBUILD minetest-0.4.10-r1.ebuild 3582 SHA256 095a822dd458ebc8b66648c5c7fdf8af65fc7779ad6a716a1185604e286b90a5 SHA512 f1a479d973dd572c79bfb8fe18975928f003ae47bae099ece13bca0576336d39bb9bebb3eac7612cbef11237b028e1ae917cb62a9c67ff83edbfbc04c23a205c WHIRLPOOL 07a7c50fc3a77f39a7f32df3234ccb8c7b98fc9a60889b509e05115cf2aceccdb0f48fcc61d2f6a2d924a290c327bf1bfc5ce3e22088edf7374c40af1b1102b5
EBUILD minetest-0.4.10.ebuild 3414 SHA256 0c937d481d740ff43b364ea3599770f8a5b33035cf768878e785253cc2b61ce5 SHA512 1dfd70df92d0850cadca9208d1bd8773b425ed483907dba6c131f30c3c2d75a0ec719cbf5b4feea6f29b3e9106f8c2770b090f135aaf166a3e7be4e9d993a92e WHIRLPOOL 4c4bcb4bf7cce5d99acd8c62d8817804dad6fa188e68d0eee9bb491f5ab5c9bfff9bb3a0231d4966d599346f4a89496edd7bcf23d1b0bc0d0eeeca6382b56fae
EBUILD minetest-0.4.9.ebuild 3392 SHA256 599d0805b5d4052c2767db31158a499bfc5b54e985aac8c76caa83c2fa149da3 SHA512 b1dfcde2c051e48dfa06a6f2b61624f339cb8df08bc81da71cc81e33429f06ca979f6dce24444006ab671d8986356e0a5adc4a5e9e5285e424fca2cf691a7f33 WHIRLPOOL 2243d0db2092a866e87733bfc9d4ae28581c66ee3536e485f05b9dd46e344da730587e2638913cdbe234486fa90d03f93034496db8a6d4707d76d44b8170f8d2
-MISC ChangeLog 2859 SHA256 e50f712c7fa202ca01ea798700c546da1c9464b93402d09cbe5c936d2cbf5be4 SHA512 9c0bf265ab678c83c6cdf248f01ca94c7a15500a7f44947e2ea554f95c86833c2721a4e28a65a33a4445bd2e91f4dba811f3f54ce881de6dc6c56695eeda6883 WHIRLPOOL e6b971c4ddec7920ebe7f502eb3d6b143a3040d0fa17282e666f67731d1092b9b660dedaf2854f686584c3b98f13603ca5f09b91df0875a03456e397917e04a4
+MISC ChangeLog 3023 SHA256 a8e5ab5093beca0566d6c559aa5c09b05b3029b590cd2cb0f95a646d3dfaf8e6 SHA512 b653445395388ec4ade160366c377cdb5d6d198791149b3d2bf68f2d7d16f06bb726d585cd96673da1fae39cd6fc2de1848c1f2c95f07097f93594b85170bdf1 WHIRLPOOL 5723fa34f54ae766c7b01261fe333d00d7552e75f604d56ab96191e6a4913c1068a3c5d658ad31893befb10ae11dc5bfe6c5f25ecde0519e07f00b1687ebb364
MISC metadata.xml 2249 SHA256 f22b39e4d62597c7a10c0f60c259d6ba551f238cd07cf74f6fc5dc6389e27f25 SHA512 370e465d369e762a595d6bf26d6dab8745e54618b101045dde951265126d1b59c778f84dae2365eb9d78865d658f66bcd021b5e344d26940650aac35b3b54e46 WHIRLPOOL f9327e6548f803715b5faf02c0d57863e00d1a84414c38f11fe2886785915c50ef33fefbac82f05f74801b08f9f2a3277666ed5fcdcb4b2b89edf16c7ab30c29
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCABmBQJUFzfaXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCABmBQJUF0FHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy
-MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgmwsQAOVPZS+4/tdEk6/18GLRqvq2
-xdT/ueBZgPpLe1Y77yzQFZagJh0ewxBCkm3ZIYjTrrKKKNPwbEawgcZbSt0HQHBw
-ASAoKmBi+OU9ASTi1hfbdyrb7RN74RTNt4S8jtIFCb/KISIFme2D/PBf8y1oUrH7
-m2A2tGBpmOQPF7/bwkxUzBetZ8zXYMQqnHsKYZDoMIc6qgyVhEZSS5lIyUe8peOe
-oKhc8pGr21IHUfppYHFXHjUbZcjMNvDCnhM7qJZMJQASvkKbpuMmi4swke4fSo+5
-yZVXKAhWi0nbEUPE74X/SKSrqsWkJkqSxLnqGIho+OyhTFBFT+21OvnOh0Kd4F2C
-U1VLcaaOe6yx6PPi3OKYg/pDYWNLXv7+f9JOM3paUhjHVS2LzxYNerNi9hkYfQov
-Ftwc5s1GUywUy3kYzm7lbMx6HYy8GqzFIgbgvWczT8bIhFc0CKMgzzPtC1NEVSsy
-sxuti2wwgpbIYnVRZqT0teImoGB/cu4ZsiQIKCSuHeLDhZYPgNkMQfO+1L6PWcWO
-OsxEwaKJKOVqWsmstOGPhnQFCdF7KrMRhXohjA307+tCHagzllBjQj3G0hADLv0P
-tSQJS7r9uCmBsRLlQ9So+FV3aGjLCvSYr+ztlVHBpoirrDALOkRFRj3+R0X5RDd7
-i56Bzmse2yxHeyAaAgt4
-=tWtA
+MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgDFEQAO5fCuUZEs6ISYNMmSCgIPZD
+Ori00dHPcBFXH6Of54JkFyqXz87Bmw0uodRXiAjg8viGV/uMTms3mK8PVix5iIUP
+bbcDZZAw0YREkSJda5pTy0OYBjUdhCsswraz3BtPMQ2hzLcRs/QaOnONMP7wW7Ta
+IfeHKL9pyXlZA13oNdDQIuTISQnI0KsQc1lNTybcYVvtHj6oDCKs6yJnY48vkSkO
++x5DfQEQlMefzfWConrVBbfjTKRafaWhEhNqPESHHcuoXjA2Z2OmZbKQfjWy/JLX
+vKAAailRCCRY6tbkZSoewnh3sda5fwTkLZevfw92VjgemphpOJZ1Ru7+HXL5gJaI
+Q7+SWsM+gO5Ym2NROVmOcS+LE7RofAs+EK9qPUYrqlqJFPqxEK+BODfWYA1Njqo2
+7Az4ABvf+wvay7/8fiFKi1JFdu3j2VqdnN6XhbmNUp9j2TF5uHH+5R8fNXqmMVDh
+APpAajiuxh8brTXupgqOR+g4hOyK+K1iHrTWisqALw/p2VQQ2pLb5AU3SBMT7USo
+l/NYS3ZgQFGlgZ+26iMAAJfcmP1jLSa3KH//r9jaKBlaneR8C71AtH/y5KK2c+6w
+YB0PqIjzopqc13h0Mqmj0pT5G3NXr4/H4CmVEI2EmyzsrhTZP3nI4clgPnr17mKO
+cEyQFYhEZEnHF0r9i05b
+=edqF
-----END PGP SIGNATURE-----
diff --git a/games-action/minetest/minetest-0.4.10-r1.ebuild b/games-action/minetest/minetest-0.4.10-r1.ebuild
new file mode 100644
index 000000000000..5ce2aba36fa9
--- /dev/null
+++ b/games-action/minetest/minetest-0.4.10-r1.ebuild
@@ -0,0 +1,150 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-action/minetest/minetest-0.4.10-r1.ebuild,v 1.1 2014/09/15 19:43:00 hasufell Exp $
+
+EAPI=5
+inherit eutils cmake-utils gnome2-utils vcs-snapshot user games
+
+DESCRIPTION="An InfiniMiner/Minecraft inspired game"
+HOMEPAGE="http://minetest.net/"
+SRC_URI="http://github.com/minetest/minetest/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+curl dedicated leveldb luajit nls redis +server +sound +truetype"
+
+RDEPEND="dev-db/sqlite:3
+ sys-libs/zlib
+ curl? ( net-misc/curl )
+ !dedicated? (
+ app-arch/bzip2
+ >=dev-games/irrlicht-1.8-r2
+ media-libs/libpng:0
+ virtual/jpeg
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXxf86vm
+ sound? (
+ media-libs/libogg
+ media-libs/libvorbis
+ media-libs/openal
+ )
+ truetype? ( media-libs/freetype:2 )
+ )
+ leveldb? ( dev-libs/leveldb )
+ luajit? ( dev-lang/luajit:2 )
+ !luajit? ( >=dev-lang/lua-5.1.4[deprecated] )
+ nls? ( virtual/libintl )
+ redis? ( dev-libs/hiredis )"
+DEPEND="${RDEPEND}
+ >=dev-games/irrlicht-1.8-r2
+ nls? ( sys-devel/gettext )"
+
+pkg_setup() {
+ games_pkg_setup
+
+ if use server || use dedicated ; then
+ enewuser ${PN} -1 -1 /var/lib/${PN} ${GAMES_GROUP}
+ fi
+}
+
+src_unpack() {
+ vcs-snapshot_src_unpack
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-shared-irrlicht.patch \
+ "${FILESDIR}"/${P}-as-needed.patch \
+ "${FILESDIR}"/${P}-system-lua.patch
+
+ # correct gettext behavior
+ if [[ -n "${LINGUAS+x}" ]] ; then
+ for i in $(cd po ; echo *) ; do
+ if ! has ${i} ${LINGUAS} ; then
+ rm -r po/${i} || die
+ fi
+ done
+ fi
+
+ # jthread is modified
+ # json is modified
+ rm -r src/{lua,sqlite} || die
+
+ # set paths
+ sed \
+ -e "s#@BINDIR@#${GAMES_BINDIR}#g" \
+ -e "s#@GROUP@#${GAMES_GROUP}#g" \
+ "${FILESDIR}"/minetestserver.confd > "${T}"/minetestserver.confd || die
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(usex dedicated "-DBUILD_SERVER=ON -DBUILD_CLIENT=OFF" "$(cmake-utils_use_build server SERVER) -DBUILD_CLIENT=ON")
+ -DCUSTOM_BINDIR="${GAMES_BINDIR}"
+ -DCUSTOM_DOCDIR="/usr/share/doc/${PF}"
+ -DCUSTOM_LOCALEDIR="/usr/share/locale"
+ -DCUSTOM_SHAREDIR="${GAMES_DATADIR}/${PN}"
+ $(cmake-utils_use_enable curl CURL)
+ $(cmake-utils_use_enable truetype FREETYPE)
+ $(cmake-utils_use_enable nls GETTEXT)
+ -DENABLE_GLES=0
+ $(cmake-utils_use_enable leveldb LEVELDB)
+ $(cmake-utils_use_enable redis REDIS)
+ $(cmake-utils_use_enable sound SOUND)
+ $(cmake-utils_use !luajit DISABLE_LUAJIT)
+ -DRUN_IN_PLACE=0
+ -DWITH_BUNDLED_LUA=0
+ $(use dedicated && {
+ echo "-DIRRLICHT_SOURCE_DIR=/the/irrlicht/source"
+ echo "-DIRRLICHT_INCLUDE_DIR=/usr/include/irrlicht"
+ })
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use server || use dedicated ; then
+ newinitd "${FILESDIR}"/minetestserver.initd minetest-server
+ newconfd "${T}"/minetestserver.confd minetest-server
+ fi
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+
+ if ! use dedicated ; then
+ elog
+ elog "optional dependencies:"
+ elog " games-action/minetest_game (official mod)"
+ elog
+ fi
+
+ if use server || use dedicated ; then
+ elog
+ elog "Configure your server via /etc/conf.d/minetest-server"
+ elog "The user \"minetest\" is created with /var/lib/${PN} homedir."
+ elog "Default logfile is ~/minetest-server.log"
+ elog
+ fi
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}