mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
games-strategy/naev: Remove old 0.8.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,63 +0,0 @@
|
||||
# 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 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[X,sound,video]
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user