[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2021-12-28 Thread Ionen Wolkens
commit: 7d46730bd8e1110570f1cefe0140f302089fb578
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Dec 28 14:52:36 2021 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Dec 28 17:00:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d46730b

games-engines/frotz: drop 2.52-r1

Signed-off-by: Ionen Wolkens  gentoo.org>

 games-engines/frotz/Manifest |  1 -
 games-engines/frotz/frotz-2.52-r1.ebuild | 75 
 2 files changed, 76 deletions(-)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 6678f254461c..9c29a2c2b7c3 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1,2 +1 @@
-DIST frotz-2.52.tar.bz2 289109 BLAKE2B 
d1e97e05d1da187846c64dacdf69f34a800be97b75121dc8de63c619687ed5ccbd6b03b2391d2896a14aaad1e4f8eb51926affb92a36f1a5bad8acec91524774
 SHA512 
387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710
 DIST frotz-2.53.tar.bz2 375800 BLAKE2B 
a3d14d11540cb12ed6e5326207946e26b0b3b85e13c50e7431f3901cfb19337661b233bf29077c1efe3a9663aef6d2886bba1717c8132d68e77580692fed30d1
 SHA512 
e920529920a0b831b859323046aeae032b4b84ac0296d4ef35026fe8a62798cf5f9f4e255af38421aa21ad5507cd87287924daafc759c9b9d7a089ba7d77d808

diff --git a/games-engines/frotz/frotz-2.52-r1.ebuild 
b/games-engines/frotz/frotz-2.52-r1.ebuild
deleted file mode 100644
index 6be32d8e9c56..
--- a/games-engines/frotz/frotz-2.52-r1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Interpreter for Z-code based text games"
-HOMEPAGE="https://661.org/proj/if/frotz/;
-SRC_URI="https://gitlab.com/DavidGriffith/${PN}/-/archive/${PV}/${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:=[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/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"
-
-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 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
-}



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2021-09-25 Thread Marek Szuba
commit: 542690f525dc12f731f562ceb92ca77a1003f57a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Sep 25 16:52:19 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Sep 25 18:39:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=542690f5

games-engines/frotz: keyword 2.53-r1 for ~riscv

Signed-off-by: Marek Szuba  gentoo.org>

 games-engines/frotz/frotz-2.53-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/games-engines/frotz/frotz-2.53-r1.ebuild 
b/games-engines/frotz/frotz-2.53-r1.ebuild
index 6be32d8e9c5..1fdf97ae9e5 100644
--- a/games-engines/frotz/frotz-2.53-r1.ebuild
+++ b/games-engines/frotz/frotz-2.53-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://gitlab.com/DavidGriffith/${PN}/-/archive/${PV}/${P}.tar.bz2;
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~riscv ~x86"
 IUSE="ncurses sdl sound unicode"
 REQUIRED_USE="sound? ( || ( ncurses sdl ) )"
 



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2021-04-29 Thread Marek Szuba
commit: a1703822ee4d05229a2fa4b115401001ce050dca
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Apr 29 11:37:21 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Apr 29 11:37:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1703822

games-engines/frotz: bump to 2.53

Trivial bump. Does not come with an automated test suite but having
manually run all the interactive tests provided in src/test/ using the
ncurses interface, everything seems to be in order.

Permission to commit in maintainers' stead granted by sam on Bugzilla.

Closes: https://bugs.gentoo.org/86576
Signed-off-by: Marek Szuba  gentoo.org>

 games-engines/frotz/Manifest  |  1 +
 games-engines/frotz/frotz-2.53.ebuild | 75 +++
 2 files changed, 76 insertions(+)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 393de8b60e3..6678f254461 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1 +1,2 @@
 DIST frotz-2.52.tar.bz2 289109 BLAKE2B 
d1e97e05d1da187846c64dacdf69f34a800be97b75121dc8de63c619687ed5ccbd6b03b2391d2896a14aaad1e4f8eb51926affb92a36f1a5bad8acec91524774
 SHA512 
387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710
+DIST frotz-2.53.tar.bz2 375800 BLAKE2B 
a3d14d11540cb12ed6e5326207946e26b0b3b85e13c50e7431f3901cfb19337661b233bf29077c1efe3a9663aef6d2886bba1717c8132d68e77580692fed30d1
 SHA512 
e920529920a0b831b859323046aeae032b4b84ac0296d4ef35026fe8a62798cf5f9f4e255af38421aa21ad5507cd87287924daafc759c9b9d7a089ba7d77d808

diff --git a/games-engines/frotz/frotz-2.53.ebuild 
b/games-engines/frotz/frotz-2.53.ebuild
new file mode 100644
index 000..f03a3d07028
--- /dev/null
+++ b/games-engines/frotz/frotz-2.53.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Interpreter for Z-code based text games"
+HOMEPAGE="https://661.org/proj/if/frotz/;
+SRC_URI="https://gitlab.com/DavidGriffith/${PN}/-/archive/${PV}/${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
+   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"
+
+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 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
+}



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/

2020-06-01 Thread Stefan Strogin
commit: b5f8935a66cf42d0fd468dfab8b56d683a21ed85
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Jun  1 17:33:20 2020 +
Commit: Stefan Strogin  gentoo  org>
CommitDate: Tue Jun  2 00:15:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5f8935a

games-engines/frotz: remove old version

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16044
Signed-off-by: Stefan Strogin  gentoo.org>

 games-engines/frotz/Manifest |  1 -
 games-engines/frotz/files/dumb-ldflags.patch | 25 -
 games-engines/frotz/frotz-2.50_beta2.ebuild  | 84 
 3 files changed, 110 deletions(-)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 70924e87de1..393de8b60e3 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -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

diff --git a/games-engines/frotz/files/dumb-ldflags.patch 
b/games-engines/frotz/files/dumb-ldflags.patch
deleted file mode 100644
index 2ac968b4b1d..000
--- a/games-engines/frotz/files/dumb-ldflags.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 4b4597d49dc024adf99a336d836709b876846128 Mon Sep 17 00:00:00 2001
-From: James Le Cuirot 
-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
-

diff --git a/games-engines/frotz/frotz-2.50_beta2.ebuild 
b/games-engines/frotz/frotz-2.50_beta2.ebuild
deleted file mode 100644
index 544ab8e09d6..000
--- a/games-engines/frotz/frotz-2.50_beta2.ebuild
+++ /dev/null
@@ -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() {
-   

[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2020-06-01 Thread Stefan Strogin
commit: 79948e7dfc595460081be7ff64f9c769b2e31c12
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Jun  1 17:32:45 2020 +
Commit: Stefan Strogin  gentoo  org>
CommitDate: Tue Jun  2 00:15:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79948e7d

games-engines/frotz: update to 2.52

New version can be compiled with GCC 10 (#707608).

Closes: https://bugs.gentoo.org/707608
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: Stefan Strogin  gentoo.org>

 games-engines/frotz/Manifest  |  1 +
 games-engines/frotz/frotz-2.52.ebuild | 75 +++
 2 files changed, 76 insertions(+)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index af3e74b6b95..70924e87de1 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1 +1,2 @@
 DIST frotz-2.50b2.tar.bz2 281065 BLAKE2B 
bffe35e9f77e7ef89b76bbe29a3f97ad94ac529bd4930790a25c147f336036b1bfdae1ea52cf87e62121189f4e1bce890f5bc3ddbfb0e68e9ffa290fc1567cc9
 SHA512 
12398c5bf963aaa7e1ad51a1ca3afaddf4849c2aed8e2cabffc411294b501181de69f99bad2a1c8de9777df4b448af6d85b695c56de4b3112cd32fd7d6cb33c7
+DIST frotz-2.52.tar.bz2 289109 BLAKE2B 
d1e97e05d1da187846c64dacdf69f34a800be97b75121dc8de63c619687ed5ccbd6b03b2391d2896a14aaad1e4f8eb51926affb92a36f1a5bad8acec91524774
 SHA512 
387e7a7fe0cffd40b639a306eef89a22421a4ff4a8e5dbcf96a1ef3b901744b3f75a671953ecdc17bde0d699e4756d470b61c8213c47315baa2700da92d06710

diff --git a/games-engines/frotz/frotz-2.52.ebuild 
b/games-engines/frotz/frotz-2.52.ebuild
new file mode 100644
index 000..cab60c1ec29
--- /dev/null
+++ b/games-engines/frotz/frotz-2.52.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Interpreter for Z-code based text games"
+HOMEPAGE="https://661.org/proj/if/frotz/;
+SRC_URI="https://gitlab.com/DavidGriffith/${PN}/-/archive/${PV}/${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
+   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"
+
+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 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
+}



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2019-10-26 Thread James Le Cuirot
commit: 9fe6828d9182e8195b9a97f16c7f8377ccf96b7f
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Oct 26 13:28:41 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Oct 26 13:28:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe6828d

games-engines/frotz: Drop old 2.45_pre20190903

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/frotz/Manifest  |  1 -
 games-engines/frotz/frotz-2.45_pre20190903.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 39ea08a7fb1..af3e74b6b95 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1,2 +1 @@
 DIST frotz-2.50b2.tar.bz2 281065 BLAKE2B 
bffe35e9f77e7ef89b76bbe29a3f97ad94ac529bd4930790a25c147f336036b1bfdae1ea52cf87e62121189f4e1bce890f5bc3ddbfb0e68e9ffa290fc1567cc9
 SHA512 
12398c5bf963aaa7e1ad51a1ca3afaddf4849c2aed8e2cabffc411294b501181de69f99bad2a1c8de9777df4b448af6d85b695c56de4b3112cd32fd7d6cb33c7
-DIST frotz-57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9.tar.bz2 281258 BLAKE2B 
d85a53157e539bb1e79aade97726b5b6f752d7799faea0f35063c3321c97ddbadf7bb9318533badb212b49b397c52e3fd458d5d08868d90b564002de3ffe4324
 SHA512 
45fc40f4eebb338e4e4cba8ef446726a9126d45b6646ffcf3a2679dfde5630500e492667363c63f7806630d4b8d88a225080c0a2696c4170d86b1cf4d8b0a06c

diff --git a/games-engines/frotz/frotz-2.45_pre20190903.ebuild 
b/games-engines/frotz/frotz-2.45_pre20190903.ebuild
deleted file mode 100644
index f2a3485e522..000
--- a/games-engines/frotz/frotz-2.45_pre20190903.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-MY_PV="57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9"
-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 )
-   )
-   sdl? (
-   media-libs/freetype:2
-   media-libs/libpng:0=
-   media-libs/libsdl2[sound,threads,video]
-   media-libs/sdl2-mixer
-   sys-libs/zlib
-   virtual/jpeg:0=
-   )
-"
-
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2019-10-26 Thread James Le Cuirot
commit: 6b6198cf83601088066cac51751ba046820236c3
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Oct 26 13:26:28 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Oct 26 13:26:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b6198cf

games-engines/frotz: Add missing sound dependencies

libvorbis isn't actually used directly, apart from in the Makefile,
where it's included in the link, presumably for static
linking. Support in libsndfile or libsdl2 is expected to be present
though so I have included it anyway.

I haven't included minimum versions as stated in INSTALL because it
admits that older versions may work and we generally don't bother
unless older versions are still in the tree or were until recently.

Closes: https://bugs.gentoo.org/698434
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/frotz/frotz-2.50_beta2.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/games-engines/frotz/frotz-2.50_beta2.ebuild 
b/games-engines/frotz/frotz-2.50_beta2.ebuild
index dda1c12531b..732495e1c96 100644
--- a/games-engines/frotz/frotz-2.50_beta2.ebuild
+++ b/games-engines/frotz/frotz-2.50_beta2.ebuild
@@ -20,13 +20,19 @@ REQUIRED_USE="sound? ( || ( ncurses sdl ) )"
 DEPEND="
ncurses? (
sys-libs/ncurses:0=[unicode?]
-   sound? ( media-libs/libao )
+   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
+   media-libs/sdl2-mixer[mod,vorbis,wav]
sys-libs/zlib
virtual/jpeg:0=
)



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/

2019-10-26 Thread James Le Cuirot
commit: f97da5dcc59554a2322cc7328438928f5d20e00a
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Oct 26 13:21:30 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Oct 26 13:21:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97da5dc

games-engines/frotz: Version bump to 2.50_beta2

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/frotz/Manifest |  1 +
 games-engines/frotz/files/dumb-ldflags.patch | 25 +
 games-engines/frotz/frotz-2.50_beta2.ebuild  | 78 
 3 files changed, 104 insertions(+)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 8ffeb0250c3..39ea08a7fb1 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1 +1,2 @@
+DIST frotz-2.50b2.tar.bz2 281065 BLAKE2B 
bffe35e9f77e7ef89b76bbe29a3f97ad94ac529bd4930790a25c147f336036b1bfdae1ea52cf87e62121189f4e1bce890f5bc3ddbfb0e68e9ffa290fc1567cc9
 SHA512 
12398c5bf963aaa7e1ad51a1ca3afaddf4849c2aed8e2cabffc411294b501181de69f99bad2a1c8de9777df4b448af6d85b695c56de4b3112cd32fd7d6cb33c7
 DIST frotz-57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9.tar.bz2 281258 BLAKE2B 
d85a53157e539bb1e79aade97726b5b6f752d7799faea0f35063c3321c97ddbadf7bb9318533badb212b49b397c52e3fd458d5d08868d90b564002de3ffe4324
 SHA512 
45fc40f4eebb338e4e4cba8ef446726a9126d45b6646ffcf3a2679dfde5630500e492667363c63f7806630d4b8d88a225080c0a2696c4170d86b1cf4d8b0a06c

diff --git a/games-engines/frotz/files/dumb-ldflags.patch 
b/games-engines/frotz/files/dumb-ldflags.patch
new file mode 100644
index 000..2ac968b4b1d
--- /dev/null
+++ b/games-engines/frotz/files/dumb-ldflags.patch
@@ -0,0 +1,25 @@
+From 4b4597d49dc024adf99a336d836709b876846128 Mon Sep 17 00:00:00 2001
+From: James Le Cuirot 
+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
+

diff --git a/games-engines/frotz/frotz-2.50_beta2.ebuild 
b/games-engines/frotz/frotz-2.50_beta2.ebuild
new file mode 100644
index 000..dda1c12531b
--- /dev/null
+++ b/games-engines/frotz/frotz-2.50_beta2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2019 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 )
+   )
+   sdl? (
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libsdl2[sound,threads,video]
+   media-libs/sdl2-mixer
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/

2019-09-03 Thread James Le Cuirot
commit: 96cd29c93318afa743475a047d2a062952ea0afd
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep  3 22:10:33 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Sep  3 22:30:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96cd29c9

games-engines/frotz: Version bump to 2.45_pre20190903, many fixes

Not an actual release but much easier to build than the last one. Also
uses SDL2 rather than SDL1. Many thanks to upstream for merging all my
patches so quickly.

Fixes ncurses, prefix, cross-compiling, and probably more I forget.

Bug: https://bugs.gentoo.org/68
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/frotz/Manifest  |  1 +
 games-engines/frotz/frotz-2.45_pre20190903.ebuild | 74 +++
 games-engines/frotz/metadata.xml  |  2 +-
 3 files changed, 76 insertions(+), 1 deletion(-)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 479656678cb..2109b341c5b 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1 +1,2 @@
 DIST frotz-2.43.tar.gz 160771 BLAKE2B 
edee48050b247320df3d02ea4682579d4f933a5853cc9a31f56c4d12596d5e5657e79e176ed1725e72028497a843db1d0b13833ffe44e41ec7f532f0d40ccaf9
 SHA512 
654f2ca2d1a625df8f88b5629e09a873668cea42688acdf154636b066b94fc9d70b7f45acb33a71d234c19b59c394c63aee38d6224245b3b329210e6b4a58409
+DIST frotz-57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9.tar.bz2 281258 BLAKE2B 
d85a53157e539bb1e79aade97726b5b6f752d7799faea0f35063c3321c97ddbadf7bb9318533badb212b49b397c52e3fd458d5d08868d90b564002de3ffe4324
 SHA512 
45fc40f4eebb338e4e4cba8ef446726a9126d45b6646ffcf3a2679dfde5630500e492667363c63f7806630d4b8d88a225080c0a2696c4170d86b1cf4d8b0a06c

diff --git a/games-engines/frotz/frotz-2.45_pre20190903.ebuild 
b/games-engines/frotz/frotz-2.45_pre20190903.ebuild
new file mode 100644
index 000..f2a3485e522
--- /dev/null
+++ b/games-engines/frotz/frotz-2.45_pre20190903.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_PV="57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9"
+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 )
+   )
+   sdl? (
+   media-libs/freetype:2
+   media-libs/libpng:0=
+   media-libs/libsdl2[sound,threads,video]
+   media-libs/sdl2-mixer
+   sys-libs/zlib
+   virtual/jpeg:0=
+   )
+"
+
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+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
+}

diff --git a/games-engines/frotz/metadata.xml b/games-engines/frotz/metadata.xml
index 051541926fb..455473e4c7c 100644
--- a/games-engines/frotz/metadata.xml
+++ b/games-engines/frotz/metadata.xml
@@ -6,6 +6,6 @@
Gentoo Games Project


-   frotz
+   DavidGriffith/frotz

 



[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/

2019-09-03 Thread James Le Cuirot
commit: 99b274ce3fed3473103a1811909a4a521034590f
Author: James Le Cuirot  gentoo  org>
AuthorDate: Tue Sep  3 22:12:01 2019 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Tue Sep  3 22:30:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b274ce

games-engines/frotz: Drop old 2.43-r1

Closes: https://bugs.gentoo.org/68
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: James Le Cuirot  gentoo.org>

 games-engines/frotz/Manifest   |  1 -
 .../frotz/files/frotz-2.43-glibc2.10.patch | 29 
 games-engines/frotz/files/frotz-2.43-ldflags.patch | 20 -
 games-engines/frotz/frotz-2.43-r1.ebuild   | 52 --
 4 files changed, 102 deletions(-)

diff --git a/games-engines/frotz/Manifest b/games-engines/frotz/Manifest
index 2109b341c5b..8ffeb0250c3 100644
--- a/games-engines/frotz/Manifest
+++ b/games-engines/frotz/Manifest
@@ -1,2 +1 @@
-DIST frotz-2.43.tar.gz 160771 BLAKE2B 
edee48050b247320df3d02ea4682579d4f933a5853cc9a31f56c4d12596d5e5657e79e176ed1725e72028497a843db1d0b13833ffe44e41ec7f532f0d40ccaf9
 SHA512 
654f2ca2d1a625df8f88b5629e09a873668cea42688acdf154636b066b94fc9d70b7f45acb33a71d234c19b59c394c63aee38d6224245b3b329210e6b4a58409
 DIST frotz-57e915b5f5b8997d1e4a1e0dac4ace2e62b7f6e9.tar.bz2 281258 BLAKE2B 
d85a53157e539bb1e79aade97726b5b6f752d7799faea0f35063c3321c97ddbadf7bb9318533badb212b49b397c52e3fd458d5d08868d90b564002de3ffe4324
 SHA512 
45fc40f4eebb338e4e4cba8ef446726a9126d45b6646ffcf3a2679dfde5630500e492667363c63f7806630d4b8d88a225080c0a2696c4170d86b1cf4d8b0a06c

diff --git a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch 
b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
deleted file mode 100644
index 3f2639ec47d..000
--- a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
+++ /dev/null
@@ -1,29 +0,0 @@
 a/src/dumb/dumb_input.c
-+++ b/src/dumb/dumb_input.c
-@@ -79,7 +79,7 @@
- /* Read one line, including the newline, into s.  Safely avoids buffer
-  * overruns (but that's kind of pointless because there are several
-  * other places where I'm not so careful).  */
--static void getline(char *s)
-+static void get_line(char *s)
- {
-   int c;
-   char *p = s;
-@@ -203,7 +203,7 @@
-   fputs(prompt, stdout);
- else
-   dumb_show_prompt(show_cursor, (timeout ? "tTD" : ")>}")[type]);
--getline(s);
-+get_line(s);
- if ((s[0] != '\\') || ((s[1] != '\0') && !islower(s[1]))) {
-   /* Is not a command line.  */
-   translate_special_chars(s);
-@@ -265,7 +265,7 @@
- if (!*current_page)
-   break;
- printf("HELP: Type  for more, or q  to stop: ");
--getline(s);
-+get_line(s);
- if (!strcmp(s, "q\n"))
-   break;
-   }

diff --git a/games-engines/frotz/files/frotz-2.43-ldflags.patch 
b/games-engines/frotz/files/frotz-2.43-ldflags.patch
deleted file mode 100644
index c8b4e35eee2..000
--- a/games-engines/frotz/files/frotz-2.43-ldflags.patch
+++ /dev/null
@@ -1,20 +0,0 @@
 a/Makefile 2010-10-04 14:13:37.0 +0200
-+++ b/Makefile 2010-10-04 14:14:06.0 +0200
-@@ -162,7 +162,7 @@
- $(NAME): $(NAME)-curses
- 
- $(NAME)-curses:   soundcard.h  $(COMMON_TARGET) $(CURSES_TARGET)
--  $(CC) -o $(BINNAME)$(EXTENSION) $(TARGETS) $(LIB) $(CURSES) \
-+  $(CC) $(LDFLAGS) -o $(BINNAME)$(EXTENSION) $(TARGETS) $(LIB) $(CURSES) \
-   $(SOUND_LIB)
- 
- all:  $(NAME) d$(NAME)
-@@ -170,7 +170,7 @@
- dumb: $(NAME)-dumb
- d$(NAME): $(NAME)-dumb
- $(NAME)-dumb: $(COMMON_TARGET) $(DUMB_TARGET)
--  $(CC) -o d$(BINNAME)$(EXTENSION) $(COMMON_TARGET) \
-+  $(CC) $(LDFLAGS) -o d$(BINNAME)$(EXTENSION) $(COMMON_TARGET) \
-   $(DUMB_TARGET) $(LIB)
- 
- .SUFFIXES:

diff --git a/games-engines/frotz/frotz-2.43-r1.ebuild 
b/games-engines/frotz/frotz-2.43-r1.ebuild
deleted file mode 100644
index 08d19d78526..000
--- a/games-engines/frotz/frotz-2.43-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit eutils
-
-DESCRIPTION="Curses based interpreter for Z-code based text games"
-HOMEPAGE="http://frotz.sourceforge.net/;
-SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa oss"
-
-DEPEND="sys-libs/ncurses:0
-   alsa? ( oss? ( media-libs/alsa-oss ) )"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-glibc2.10.patch
-   "${FILESDIR}"/${P}-ldflags.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e '/^CC /d' \
-   Makefile \
-   || die
-}
-
-src_compile() {
-   local OPTS="CONFIG_DIR=/etc"
-   use oss && OPTS="${OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp"
-   emake ${OPTS} all
-}
-
-src_install () {
-   

[gentoo-commits] repo/gentoo:master commit in: games-engines/frotz/files/, games-engines/frotz/

2016-11-11 Thread Austin English
commit: d12b75fa62a5f5230c4624cf142b845ccedfa66d
Author: Austin English  gentoo  org>
AuthorDate: Wed Nov  2 22:04:46 2016 +
Commit: Austin English  gentoo  org>
CommitDate: Fri Nov 11 19:38:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d12b75fa

games-engines/frotz: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.2

 .../frotz/files/frotz-2.43-glibc2.10.patch |  4 +-
 games-engines/frotz/files/frotz-2.43-ldflags.patch |  4 +-
 games-engines/frotz/frotz-2.43-r1.ebuild   | 53 ++
 3 files changed, 57 insertions(+), 4 deletions(-)

diff --git a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch 
b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
index 71760cc..3f2639e 100644
--- a/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
+++ b/games-engines/frotz/files/frotz-2.43-glibc2.10.patch
@@ -1,5 +1,5 @@
 src/dumb/dumb_input.c
-+++ src/dumb/dumb_input.c
+--- a/src/dumb/dumb_input.c
 b/src/dumb/dumb_input.c
 @@ -79,7 +79,7 @@
  /* Read one line, including the newline, into s.  Safely avoids buffer
   * overruns (but that's kind of pointless because there are several

diff --git a/games-engines/frotz/files/frotz-2.43-ldflags.patch 
b/games-engines/frotz/files/frotz-2.43-ldflags.patch
index 16a0df3..c8b4e35 100644
--- a/games-engines/frotz/files/frotz-2.43-ldflags.patch
+++ b/games-engines/frotz/files/frotz-2.43-ldflags.patch
@@ -1,5 +1,5 @@
 Makefile.old   2010-10-04 14:13:37.0 +0200
-+++ Makefile   2010-10-04 14:14:06.0 +0200
+--- a/Makefile 2010-10-04 14:13:37.0 +0200
 b/Makefile 2010-10-04 14:14:06.0 +0200
 @@ -162,7 +162,7 @@
  $(NAME): $(NAME)-curses
  

diff --git a/games-engines/frotz/frotz-2.43-r1.ebuild 
b/games-engines/frotz/frotz-2.43-r1.ebuild
new file mode 100644
index ..c805a54
--- /dev/null
+++ b/games-engines/frotz/frotz-2.43-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Curses based interpreter for Z-code based text games"
+HOMEPAGE="http://frotz.sourceforge.net/;
+SRC_URI="http://www.ifarchive.org/if-archive/infocom/interpreters/frotz/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="alsa oss"
+
+DEPEND="sys-libs/ncurses:0
+   alsa? ( oss? ( media-libs/alsa-oss ) )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-glibc2.10.patch
+   "${FILESDIR}"/${P}-ldflags.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e '/^CC /d' \
+   Makefile \
+   || die
+}
+
+src_compile() {
+   local OPTS="CONFIG_DIR=/etc"
+   use oss && OPTS="${OPTS} SOUND_DEFS=-DOSS_SOUND SOUND_DEV=/dev/dsp"
+   emake ${OPTS} all
+}
+
+src_install () {
+   dobin {d,}frotz
+   doman doc/*.6
+   dodoc AUTHORS BUGS ChangeLog HOW_TO_PLAY README TODO \
+   doc/{frotz.conf-big,frotz.conf-small}
+}
+
+pkg_postinst() {
+   echo
+   elog "Global config file can be installed in /etc/frotz.conf"
+   elog "Sample config files are in /usr/share/doc/${PF}"
+   echo
+}