mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
games-engines/frotz: drop 2.55_pre20240518
Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40766 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST frotz-2.55.tar.bz2 363261 BLAKE2B c249a48d397a1dfa58bf4b6af01e1e3ed978ed370da252d11eb952781b604fd9485235b5772a0c2a3de656b649598331ff46a378965fba2dd88414de4d07c521 SHA512 a5a39ff16781b39aabe4b27f6acfa1303c025f0b5af5e4aa843f86f8208a6dd44a5f73e49ac0d8eced8e48571320d6b9eb1693e0ec54a199a5356f3ef8df0ef4
|
||||
DIST frotz-2.55_pre20240518.tar.bz2 361873 BLAKE2B feffedec989adfda7e949ab4997dff6496e1d9fef4b55902cd8430556587e54996872107c70a1ecc6db4bc6e29357ec101df9f8f411043cddfbf03bc46d4fe4d SHA512 b18670d6360fff48c20e8d26cb5173784ea900128a8e08d39625297aeae6eb5ea5be7fe361785b3863f25667649d935f2b9edb9d92751388bfaaa00edf678ec2
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 7c14d1bd6c129670869db0dc6c025c68f28944a4 Mon Sep 17 00:00:00 2001
|
||||
From: James Le Cuirot <chewi@gentoo.org>
|
||||
Date: Tue, 21 May 2024 22:53:33 +0100
|
||||
Subject: [PATCH] Fix stray $ that breaks the frotz filename when specifying
|
||||
LDFLAGS
|
||||
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 8860297..35d8246 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -394,7 +394,7 @@ DOSVER = $(shell echo $(VERSION) | sed s/\\.//g)
|
||||
curses: $(FROTZ_BIN)
|
||||
ncurses: $(FROTZ_BIN)
|
||||
$(FROTZ_BIN): $(FROTZ_LIBS)
|
||||
- $(CC) $+ -o $@$ $(LDFLAGS) $(CURSES_LDFLAGS) $(CURSES_SOUND_LDFLAGS)
|
||||
+ $(CC) $+ -o $@ $(LDFLAGS) $(CURSES_LDFLAGS) $(CURSES_SOUND_LDFLAGS)
|
||||
@echo "** Done building Frotz with curses interface"
|
||||
@echo "** Audio support $(CURSES_SOUND) (type $(SOUND_TYPE))"
|
||||
@echo "** Blorb support $(BLORB_SUPPORT)"
|
||||
--
|
||||
2.45.1
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
COMMIT="f96e6b33d8b13f80258af49b4bb567428870291c"
|
||||
DESCRIPTION="Interpreter for Z-code based text games"
|
||||
HOMEPAGE="https://661.org/proj/if/frotz/"
|
||||
SRC_URI="https://gitlab.com/DavidGriffith/frotz/-/archive/${COMMIT}/frotz-master.tar.bz2 -> ${P}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86"
|
||||
IUSE="ncurses sdl sound unicode"
|
||||
REQUIRED_USE="sound? ( || ( ncurses sdl ) )"
|
||||
|
||||
DEPEND="
|
||||
ncurses? (
|
||||
sys-libs/ncurses:=[unicode(+)?]
|
||||
sound? (
|
||||
media-libs/libao
|
||||
media-libs/libmodplug
|
||||
media-libs/libsamplerate
|
||||
media-libs/libsndfile[-minimal]
|
||||
media-libs/libvorbis
|
||||
)
|
||||
)
|
||||
sdl? (
|
||||
media-libs/freetype:2
|
||||
media-libs/libjpeg-turbo:=
|
||||
media-libs/libpng:0=
|
||||
media-libs/libsdl2[sound,threads(+),video]
|
||||
media-libs/sdl2-mixer[mod,vorbis,wav]
|
||||
sys-libs/zlib
|
||||
)
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-stray-dollar.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
dumb \
|
||||
$(use ncurses && echo ncurses) \
|
||||
$(use sdl && echo sdl) \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)" \
|
||||
RANLIB="$(tc-getRANLIB)" \
|
||||
CURSES=$(usex unicode ncursesw ncurses) \
|
||||
USE_UTF8=$(usex unicode yes "") \
|
||||
SOUND_TYPE=$(usex sound ao none) \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
SYSCONFDIR="${EPREFIX}/etc"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
install_dumb \
|
||||
$(use ncurses && echo install) \
|
||||
$(use sdl && echo install_sdl) \
|
||||
PREFIX="${EPREFIX}/usr" \
|
||||
DESTDIR="${D}"
|
||||
|
||||
dodoc \
|
||||
AUTHORS ChangeLog CONTRIBUTORS DUMB HOW_TO_PLAY README README.md \
|
||||
doc/frotz.conf-{big,small}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "Global config file can be installed in ${EPREFIX}/etc/frotz.conf"
|
||||
elog "Sample config files are in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
echo
|
||||
}
|
||||
Reference in New Issue
Block a user