games-engines/frotz: remove old version

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16044
Signed-off-by: Stefan Strogin <steils@gentoo.org>
This commit is contained in:
Azamat H. Hackimov
2020-06-01 20:33:20 +03:00
committed by Stefan Strogin
parent 79948e7dfc
commit b5f8935a66
3 changed files with 0 additions and 110 deletions

View File

@@ -1,2 +1 @@
DIST frotz-2.50b2.tar.bz2 281065 BLAKE2B bffe35e9f77e7ef89b76bbe29a3f97ad94ac529bd4930790a25c147f336036b1bfdae1ea52cf87e62121189f4e1bce890f5bc3ddbfb0e68e9ffa290fc1567cc9 SHA512 12398c5bf963aaa7e1ad51a1ca3afaddf4849c2aed8e2cabffc411294b501181de69f99bad2a1c8de9777df4b448af6d85b695c56de4b3112cd32fd7d6cb33c7
DIST frotz-2.52.tar.bz2 289109 BLAKE2B d1e97e05d1da187846c64dacdf69f34a800be97b75121dc8de63c619687ed5ccbd6b03b2391d2896a14aaad1e4f8eb51926affb92a36f1a5bad8acec91524774 SHA512 387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710

View File

@@ -1,25 +0,0 @@
From 4b4597d49dc024adf99a336d836709b876846128 Mon Sep 17 00:00:00 2001
From: James Le Cuirot <chewi@gentoo.org>
Date: Sat, 26 Oct 2019 14:14:00 +0100
Subject: [PATCH] Add missing LDFLAGS when linking dfrotz
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 3c3c318..ed71a7d 100644
--- a/Makefile
+++ b/Makefile
@@ -261,7 +261,7 @@ nosound_helper:
dumb: $(DFROTZ_BIN)
$(DFROTZ_BIN): $(COMMON_LIB) $(DUMB_LIB) $(BLORB_LIB) $(COMMON_LIB)
- $(CC) $+ -o $@$(EXTENSION)
+ $(CC) $+ -o $@$(EXTENSION) $(LDFLAGS)
@echo "** Done building Frotz with dumb interface."
sdl: $(SFROTZ_BIN)
--
2.23.0

View File

@@ -1,84 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_PV="${PV/_beta/b}"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Interpreter for Z-code based text games"
HOMEPAGE="https://661.org/proj/if/frotz/"
SRC_URI="https://gitlab.com/DavidGriffith/${PN}/-/archive/${MY_PV}/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="ncurses sdl sound unicode"
REQUIRED_USE="sound? ( || ( ncurses sdl ) )"
DEPEND="
ncurses? (
sys-libs/ncurses:0=[unicode?]
sound? (
media-libs/libao
media-libs/libmodplug
media-libs/libsamplerate[sndfile]
media-libs/libsndfile[-minimal]
media-libs/libvorbis
)
)
sdl? (
media-libs/freetype:2
media-libs/libpng:0=
media-libs/libsdl2[sound,threads,video]
media-libs/sdl2-mixer[mod,vorbis,wav]
sys-libs/zlib
virtual/jpeg:0=
)
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/dumb-ldflags.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=$(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 TODO \
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
}