diff options
author | 2021-09-17 23:51:55 -0400 | |
---|---|---|
committer | 2021-09-18 00:20:46 -0400 | |
commit | 3c503cc09585fe79216a773176d9fe25e87e6dd7 (patch) | |
tree | 384d04895a7dd8b9b6b20127424deed55308ab65 /games-arcade/apricots/apricots-0.2.7.ebuild | |
parent | games-arcade/apricots: add github remote-id (diff) | |
download | gentoo-3c503cc09585fe79216a773176d9fe25e87e6dd7.tar.gz gentoo-3c503cc09585fe79216a773176d9fe25e87e6dd7.tar.bz2 gentoo-3c503cc09585fe79216a773176d9fe25e87e6dd7.zip |
games-arcade/apricots: add 0.2.7 (new upstream)
Now using SDL2, and new ebuild.
Closes: https://bugs.gentoo.org/626524
Closes: https://bugs.gentoo.org/679038
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-arcade/apricots/apricots-0.2.7.ebuild')
-rw-r--r-- | games-arcade/apricots/apricots-0.2.7.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/games-arcade/apricots/apricots-0.2.7.ebuild b/games-arcade/apricots/apricots-0.2.7.ebuild new file mode 100644 index 000000000000..b7c7ed818813 --- /dev/null +++ b/games-arcade/apricots/apricots-0.2.7.ebuild @@ -0,0 +1,40 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop + +DESCRIPTION="Fly a plane around and bomb/shoot the enemy (port of Planegame from Amiga)" +HOMEPAGE="https://github.com/moggers87/apricots" +SRC_URI=" + https://github.com/moggers87/apricots/releases/download/v${PV}/${P}.tar.gz + https://dev.gentoo.org/~ionen/distfiles/${PN}.png" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="test" # this is only static analysis / linter tests + +RDEPEND=" + media-libs/freealut + media-libs/libsdl2[sound,video] + media-libs/openal" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-sign-undef.patch +) + +src_install() { + emake DESTDIR="${D}" datadir="${ED}/usr/share" install + einstalldocs + + insinto /etc + doins ${PN}/${PN}.cfg + rm "${ED}"/usr/share/${PN}/apricots.cfg + + doicon "${DISTDIR}"/${PN}.png + make_desktop_entry ${PN} ${PN^} +} |