summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-03-30 12:47:16 +0200
committerDavid Seifert <soap@gentoo.org>2021-03-30 12:47:16 +0200
commite335a966a31511b13d76afc86d61d09defdd9d20 (patch)
tree76db511c60731caa3a02886637b642782ef48b3d /games-strategy
parentsci-libs/btf: Disable static libraries (diff)
downloadgentoo-e335a966a31511b13d76afc86d61d09defdd9d20.tar.gz
gentoo-e335a966a31511b13d76afc86d61d09defdd9d20.tar.bz2
gentoo-e335a966a31511b13d76afc86d61d09defdd9d20.zip
games-strategy/naev: Bump to 0.8.2
Closes: https://bugs.gentoo.org/771108 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/naev/Manifest1
-rw-r--r--games-strategy/naev/naev-0.8.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest
index 0d6e0c958d41..150cf0883682 100644
--- a/games-strategy/naev/Manifest
+++ b/games-strategy/naev/Manifest
@@ -1,3 +1,4 @@
DIST naev-0.7.0-ndata.zip 319608404 BLAKE2B e6edd79282171d4b327d220b33af37720e09f7137a26697de472e3494587525de5d9509865bfccc1093f5d4befa11faa10e0d4f4c59ea8621ecd8d564eb546fe SHA512 5fa8faad36e410f0d2af1c80e6fedbffdd020da72dc96b329ce623e9836490cfb515c1bb88719045491366ca96a32888374029eec6cd14ed86ac8597750995ca
DIST naev-0.7.0.tar.bz2 1076658 BLAKE2B 582bbfbc16e33d16600c19928ed6810dfe5fd3165930e6a51ec9b65d25305cd0bbfaf6f4cced12c5b7f76163ed4dc36b7108e81f4a4e82dc626c6045d3fe769f SHA512 9f8a2912e9f4f29ed6e276b008d4010da3ccdd309de5bb4360c393f2704aa7aff6e18db9e5d3657b4229e911ddec9b2a3312cf182c3c48a91a007a91138d84ae
DIST naev-0.8.1-source.tar.gz 359781119 BLAKE2B 021824b0af031af8ff2aa565989c3d7811fcbcdc082649f208e8318b0d69b1c3c27492936a6afdc38de9448aa0dcca2f8ef73879155217e34968f81246017aa6 SHA512 8f9aede300d06b0beae12d4809cc58ac740bc1934c2fa5fdb04452cd2eb63de697e0bbf2aacf5af4878b62eee30878ed50388ee8386fbb19f9d56cb7cad8d7f2
+DIST naev-0.8.2-source.tar.gz 394232958 BLAKE2B 2e109636cb1d282bc8236c84ee40b9b96224baf70bf315677b6a02bf9c4c0059d34c5225c31b925a8c66c5995fd9ab8fc022816b66a7e1c174e017e3ebf5e956 SHA512 2ad120639efc13635370bb498d0a4100b2306779cf593e6aecffd331e0f4dec1b8af4729b2c4d484af1be9069d2ac7e47e17ebdc8ce65af878fcff9484f810b0
diff --git a/games-strategy/naev/naev-0.8.2.ebuild b/games-strategy/naev/naev-0.8.2.ebuild
new file mode 100644
index 000000000000..ee450e92050f
--- /dev/null
+++ b/games-strategy/naev/naev-0.8.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 luajit )
+inherit lua-single meson virtualx xdg
+
+DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
+HOMEPAGE="https://naev.org/ https://github.com/naev/naev"
+SRC_URI="https://github.com/naev/naev/releases/download/v${PV}/${P}-source.tar.gz"
+
+LICENSE="GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +mixer nls +openal"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+ ${LUA_DEPS}
+ dev-libs/libzip
+ dev-libs/libxml2
+ media-libs/libsdl2[opengl,sound,video,X]
+ media-libs/libpng:0=
+ media-libs/freetype:2
+ sci-libs/suitesparse
+ virtual/glu
+ virtual/opengl
+ mixer? ( media-libs/sdl2-mixer )
+ nls? ( virtual/libintl )
+ openal? (
+ media-libs/libvorbis
+ media-libs/openal
+ )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-lua/ldoc
+ )
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ default
+ sed -i -e "s:lua51:lua5.1:g" meson.build || die
+ # meson can't into docdir!
+ sed -i -e "s:doc/naev:doc/${PF}:g" meson.build || die
+ sed -i -e "s:'doc/naev':get_option('datadir') / 'doc/${PF}':g" docs/meson.build || die
+ # remove license file from install
+ sed -i -e "/'LICENSE'/d" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature doc docs_c)
+ $(meson_feature doc docs_lua)
+ $(meson_feature lua_single_target_luajit luajit)
+ $(meson_feature nls)
+ $(meson_feature openal)
+ $(meson_feature mixer sdl_mixer)
+ )
+ meson_src_configure
+}
+
+src_test() {
+ virtx meson_src_test
+}