From 3737c602ff7a723945d0eb800fb65e2b3ed329a1 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 19 Aug 2021 01:46:37 +0100 Subject: games-arcade/opentyrian: revbump for changed dependency Fixes: f2ec3cbe2eed9382c90e01e43c9563b419c38b34 Signed-off-by: Sam James --- .../opentyrian/opentyrian-2.1.20130907-r2.ebuild | 63 ---------------------- .../opentyrian/opentyrian-2.1.20130907-r3.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 63 insertions(+), 63 deletions(-) delete mode 100644 games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild create mode 100644 games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild deleted file mode 100644 index 1161edc3135f..000000000000 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop toolchain-funcs xdg-utils - -DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" -HOMEPAGE="https://github.com/opentyrian/opentyrian" -SRC_URI="http://darklomax.org/tyrian/tyrian21.zip - http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="media-libs/libsdl[joystick,video] - media-libs/sdl-net" -RDEPEND="${DEPEND}" -BDEPEND="app-arch/unzip" - -PATCHES=( - "${FILESDIR}/${P}-datapath.patch" - "${FILESDIR}/${P}-cflags.patch" - "${FILESDIR}/${P}-gcc10.patch" -) - -src_prepare() { - default - - rm "${WORKDIR}"/tyrian21/{*.exe,dpmi16bi.ovl,loudness.awe} || die "Failed to remove win32 binaries" -} - -src_compile() { - emake \ - CC="$(tc-getCC)" \ - DATA_PATH="${EPREFIX}/usr/share/${PN}" -} - -src_install() { - dobin opentyrian - dosym opentyrian /usr/bin/tyrian - dodoc CREDITS NEWS README - domenu linux/opentyrian.desktop - - local size - for i in linux/icons/*.png ; do - size=${i%.png} - size=${size##*-} - newicon -s "${size}" "${i}" opentyrian.png - done - - insinto /usr/share/"${PN}" - doins "${WORKDIR}"/tyrian21/* -} - -pkg_postinst() { - xdg_icon_cache_update -} - -pkg_postrm() { - xdg_icon_cache_update -} diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild new file mode 100644 index 000000000000..1161edc3135f --- /dev/null +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs xdg-utils + +DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter" +HOMEPAGE="https://github.com/opentyrian/opentyrian" +SRC_URI="http://darklomax.org/tyrian/tyrian21.zip + http://www.camanis.net/${PN}/releases/${P}-src.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="media-libs/libsdl[joystick,video] + media-libs/sdl-net" +RDEPEND="${DEPEND}" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}/${P}-datapath.patch" + "${FILESDIR}/${P}-cflags.patch" + "${FILESDIR}/${P}-gcc10.patch" +) + +src_prepare() { + default + + rm "${WORKDIR}"/tyrian21/{*.exe,dpmi16bi.ovl,loudness.awe} || die "Failed to remove win32 binaries" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + DATA_PATH="${EPREFIX}/usr/share/${PN}" +} + +src_install() { + dobin opentyrian + dosym opentyrian /usr/bin/tyrian + dodoc CREDITS NEWS README + domenu linux/opentyrian.desktop + + local size + for i in linux/icons/*.png ; do + size=${i%.png} + size=${size##*-} + newicon -s "${size}" "${i}" opentyrian.png + done + + insinto /usr/share/"${PN}" + doins "${WORKDIR}"/tyrian21/* +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} -- cgit v1.2.3-65-gdbad