games-strategy/naev: Remove old 0.7.0-r100

Closes: https://github.com/gentoo/gentoo/pull/20192
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
Jakov Smolic
2021-03-30 12:47:19 +02:00
committed by David Seifert
parent e335a966a3
commit 1f8dc2a6cb
2 changed files with 0 additions and 80 deletions

View File

@@ -1,4 +1,2 @@
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

View File

@@ -1,78 +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 xdg-utils
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}.tar.bz2
https://github.com/naev/naev/releases/download/v${PV}/${P}-ndata.zip"
LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug +mixer +openal"
REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="${LUA_DEPS}
media-libs/libsdl2[X,sound,video]
dev-libs/libzip
dev-libs/libxml2
>=media-libs/freetype-2:2
>=media-libs/libvorbis-1.2.1
>=media-libs/libpng-1.2:0=
virtual/glu
virtual/opengl
mixer? ( media-libs/sdl2-mixer )
openal? ( media-libs/openal )
"
DEPEND="${RDEPEND}"
BDEPEND="
app-arch/unzip
virtual/pkgconfig
"
# This is so that only the source tarball is unpacked - the data file
# is supposed to be installed *zipped*. This is why we do not need unzip
# in BDEPEND in spite of what repoman/pkgcheck might say.
src_unpack() {
unpack ${P}.tar.bz2
}
src_configure() {
econf \
--enable-lua=$(usex lua_single_target_luajit luajit shared) \
$(use_enable debug) \
$(use_with openal) \
$(use_with mixer sdlmixer)
}
src_compile() {
emake V=1
}
src_install() {
emake \
DESTDIR="${D}" \
appicondir=/usr/share/pixmaps \
appdatadir=/usr/share/metainfo \
Graphicsdir=/usr/share/applications \
install
insinto /usr/share/${PN}
newins "${DISTDIR}/${P}-ndata.zip" ndata
rm -f "${D}/usr/share/doc/${PF}/LICENSE"
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}