* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/
@ 2024-08-12 23:17 Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
0 siblings, 1 reply; 6+ messages in thread
From: Lucio Sauer @ 2024-08-12 23:17 UTC (permalink / raw
To: gentoo-commits
commit: 31445fe8ce5d4568d3614039fd4652b48eb5829f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Aug 12 22:44:58 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Aug 12 23:05:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31445fe8
app-emulation/x48ng: add 0.37.99_pre20240812
Previous iteration used wrong version, see Makefile and x48ng -v.
Fixes: ffc7513c2b97c2368e90243da229048bea0d15cc
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/Manifest | 1 +
.../x48ng/x48ng-0.37.99_pre20240812.ebuild | 74 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/app-emulation/x48ng/Manifest b/app-emulation/x48ng/Manifest
index c38864581..68c02ed52 100644
--- a/app-emulation/x48ng/Manifest
+++ b/app-emulation/x48ng/Manifest
@@ -1 +1,2 @@
DIST x48ng-0_pre20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
+DIST x48ng-0.37.99_pre20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
diff --git a/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild b/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild
new file mode 100644
index 000000000..fa971ef17
--- /dev/null
+++ b/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic prefix toolchain-funcs
+
+DESCRIPTION="HP48 emulator"
+
+HOMEPAGE="https://github.com/gwenhael-le-moine/x48ng"
+
+GIT_COMMIT="249d50c44c7b5344841abbfcc6d16409546e514a"
+SRC_URI="https://github.com/gwenhael-le-moine/x48ng/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="sdl X"
+
+RDEPEND="sys-libs/ncurses:=
+dev-lang/luajit:2=
+sys-libs/readline:=
+X? (
+ x11-libs/libX11
+ x11-libs/libXext
+)
+sdl? (
+ =media-libs/libsdl-1.2*
+ media-libs/sdl-gfx:=
+)
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ # Use luajit to avoid lua version specific pkg-config
+ sed -e 's/$(LIBS)/$(LDFLAGS) &/' \
+ -e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
+ -e 's/lua)/luajit)/' \
+ -e '/gzip/d' \
+ -e 's/LICENSE//' \
+ -i Makefile || die
+ default
+}
+
+src_configure() {
+ # https://github.com/gwenhael-le-moine/x48ng/issues/24
+ use X && filter-lto
+ conf=(
+ $(usex X WITH_X11={yes,no})
+ $(usex sdl WITH_SDL={yes,no})
+ )
+}
+
+src_compile() {
+ tc-export CC
+ export {C,LD}FLAGS
+ emake ${conf[@]}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ ${conf[@]}
+ hprefixify "${ED}"/usr/share/x48ng/setup-x48ng-home.sh
+}
+
+pkg_postinst() {
+ elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your config directory. It sets up a HP 48GX with a 128KB card in port 1 and a 4MB card in port 2"
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-emulation/x48ng/
2024-08-12 23:17 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/ Lucio Sauer
@ 2024-08-13 15:39 ` Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-13 15:39 UTC (permalink / raw
To: gentoo-commits
commit: 31445fe8ce5d4568d3614039fd4652b48eb5829f
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Aug 12 22:44:58 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Aug 12 23:05:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31445fe8
app-emulation/x48ng: add 0.37.99_pre20240812
Previous iteration used wrong version, see Makefile and x48ng -v.
Fixes: ffc7513c2b97c2368e90243da229048bea0d15cc
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/Manifest | 1 +
.../x48ng/x48ng-0.37.99_pre20240812.ebuild | 74 ++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/app-emulation/x48ng/Manifest b/app-emulation/x48ng/Manifest
index c38864581..68c02ed52 100644
--- a/app-emulation/x48ng/Manifest
+++ b/app-emulation/x48ng/Manifest
@@ -1 +1,2 @@
DIST x48ng-0_pre20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
+DIST x48ng-0.37.99_pre20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
diff --git a/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild b/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild
new file mode 100644
index 000000000..fa971ef17
--- /dev/null
+++ b/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic prefix toolchain-funcs
+
+DESCRIPTION="HP48 emulator"
+
+HOMEPAGE="https://github.com/gwenhael-le-moine/x48ng"
+
+GIT_COMMIT="249d50c44c7b5344841abbfcc6d16409546e514a"
+SRC_URI="https://github.com/gwenhael-le-moine/x48ng/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${GIT_COMMIT}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="sdl X"
+
+RDEPEND="sys-libs/ncurses:=
+dev-lang/luajit:2=
+sys-libs/readline:=
+X? (
+ x11-libs/libX11
+ x11-libs/libXext
+)
+sdl? (
+ =media-libs/libsdl-1.2*
+ media-libs/sdl-gfx:=
+)
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ # Use luajit to avoid lua version specific pkg-config
+ sed -e 's/$(LIBS)/$(LDFLAGS) &/' \
+ -e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
+ -e 's/lua)/luajit)/' \
+ -e '/gzip/d' \
+ -e 's/LICENSE//' \
+ -i Makefile || die
+ default
+}
+
+src_configure() {
+ # https://github.com/gwenhael-le-moine/x48ng/issues/24
+ use X && filter-lto
+ conf=(
+ $(usex X WITH_X11={yes,no})
+ $(usex sdl WITH_SDL={yes,no})
+ )
+}
+
+src_compile() {
+ tc-export CC
+ export {C,LD}FLAGS
+ emake ${conf[@]}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ ${conf[@]}
+ hprefixify "${ED}"/usr/share/x48ng/setup-x48ng-home.sh
+}
+
+pkg_postinst() {
+ elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your config directory. It sets up a HP 48GX with a 128KB card in port 1 and a 4MB card in port 2"
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/
@ 2024-08-16 1:50 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-16 1:50 UTC (permalink / raw
To: gentoo-commits
commit: ab890b61629cf3db244deaafa0950b92092582f8
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Aug 16 00:27:16 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Aug 16 00:41:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab890b61
app-emulation/x48ng: add 0.37.99_p20240812, drop 0.37.99_pre20240812
I mistakingly named the previous version _pre... while it is a snapshot
ebuild *after* tag 0.37.99. Luckily this version change doesn't break
strict monotony.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/Manifest | 2 +-
...{x48ng-0.37.99_pre20240812.ebuild => x48ng-0.37.99_p20240812.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-emulation/x48ng/Manifest b/app-emulation/x48ng/Manifest
index 1c27be6d1..7cf43c088 100644
--- a/app-emulation/x48ng/Manifest
+++ b/app-emulation/x48ng/Manifest
@@ -1 +1 @@
-DIST x48ng-0.37.99_pre20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
+DIST x48ng-0.37.99_p20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
diff --git a/app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild b/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
similarity index 100%
rename from app-emulation/x48ng/x48ng-0.37.99_pre20240812.ebuild
rename to app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/
@ 2024-08-16 1:50 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-16 1:50 UTC (permalink / raw
To: gentoo-commits
commit: e13aab6d391cb2ef03c5eab4160d8332cd96e314
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Aug 16 00:15:20 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Aug 16 00:42:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e13aab6d
app-emulation/x48ng: add 0.38.0
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/Manifest | 1 +
app-emulation/x48ng/x48ng-0.38.0.ebuild | 87 +++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/app-emulation/x48ng/Manifest b/app-emulation/x48ng/Manifest
index 7cf43c088..ed641a490 100644
--- a/app-emulation/x48ng/Manifest
+++ b/app-emulation/x48ng/Manifest
@@ -1 +1,2 @@
DIST x48ng-0.37.99_p20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
+DIST x48ng-0.38.0.gh.tar.gz 189888 BLAKE2B a14072ec2f36d24b58eac49bf416943eb66df60898ab3936295a1f4db23daf2d48a0c411f902c4310f2156bb25f6392912377731f202a9e1e74423f8e6d8741f SHA512 c67e21e176c048fcbe8afb72e69a40c686a9f8d5187adf3797943d400fff7069a0c160f8952561a25b0286cdfbe303cf7c3744ce31fe1ccc281b63dd553b3d3b
diff --git a/app-emulation/x48ng/x48ng-0.38.0.ebuild b/app-emulation/x48ng/x48ng-0.38.0.ebuild
new file mode 100644
index 000000000..8fec24997
--- /dev/null
+++ b/app-emulation/x48ng/x48ng-0.38.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit lua-single prefix toolchain-funcs
+
+DESCRIPTION="HP48 emulator"
+
+HOMEPAGE="https://github.com/gwenhael-le-moine/x48ng"
+
+SRC_URI="https://github.com/gwenhael-le-moine/x48ng/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="sdl X"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="${LUA_DEPS}
+sys-libs/ncurses:=
+sys-libs/readline:=
+X? (
+ x11-libs/libX11
+ x11-libs/libXext
+)
+sdl? (
+ =media-libs/libsdl-1.2*
+ media-libs/sdl-gfx:=
+)
+"
+DEPEND="${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ sed -e "s/lua)/${ELUA})/" -e 's/LICENSE//' -i Makefile || die
+ default
+}
+
+src_configure() {
+ conf=(
+ $(usex X WITH_X11={yes,no})
+ $(usex sdl WITH_SDL={yes,no})
+ )
+}
+
+src_compile() {
+ tc-export CC PKG_CONFIG
+ export {C,CPP,LD}FLAGS
+ emake ${conf[@]}
+}
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+ MANDIR="${EPREFIX}/usr/share/man" \
+ DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
+ ${conf[@]}
+ hprefixify "${ED}"/usr/share/x48ng/setup-x48ng-home.sh
+}
+
+pkg_postinst() {
+ elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your"
+ elog "config directory."
+ elog
+ elog "The X48 emulator requires an HP48 ROM image to run."
+ elog
+ elog "If you own an HP-48 calculator, you can use the ROMDump utility"
+ elog "included with this package to obtain it from your calculator."
+ elog "The instructions of how to do this are included in the package."
+ elog
+ elog "Alternatively, HP has provided the ROM images for non-commercial"
+ elog "use only."
+ elog
+ elog "Due to confusion over the legal status of these ROMs you must"
+ elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/"
+ elog "If you consent to it, this can be done with the aforementioned"
+ elog "script. In that case, it sets up a HP 48GX with a 128KB card in"
+ elog "port 1 and a 4MB card in port 2."
+ elog
+ elog "You will only have to do this the first time you run x48ng. The"
+ elog "ROM will be stored in your config directory for future runs."
+}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/
@ 2024-08-16 1:50 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-16 1:50 UTC (permalink / raw
To: gentoo-commits
commit: 5c7da1ab1be6db46cc3b0a048e8ab2adc6048eaa
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Aug 16 00:38:11 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Aug 16 00:41:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5c7da1ab
app-emulation/x48ng: handle lua deps with the lua-single eclass
Add adapted pkg_postinst note about uncertain legality of X48 ROMs from
app-emulation/x48::gentoo.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild | 33 ++++++++++++++++++----
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild b/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
index fa971ef17..0fd170ab4 100644
--- a/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
+++ b/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
@@ -3,7 +3,9 @@
EAPI=8
-inherit flag-o-matic prefix toolchain-funcs
+LUA_COMPAT=( luajit )
+
+inherit flag-o-matic lua-single prefix toolchain-funcs
DESCRIPTION="HP48 emulator"
@@ -17,9 +19,10 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="sdl X"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
-RDEPEND="sys-libs/ncurses:=
-dev-lang/luajit:2=
+RDEPEND="${LUA_DEPS}
+sys-libs/ncurses:=
sys-libs/readline:=
X? (
x11-libs/libX11
@@ -36,10 +39,9 @@ DEPEND="${RDEPEND}
BDEPEND="virtual/pkgconfig"
src_prepare() {
- # Use luajit to avoid lua version specific pkg-config
sed -e 's/$(LIBS)/$(LDFLAGS) &/' \
-e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
- -e 's/lua)/luajit)/' \
+ -e "s/lua)/${ELUA})/" \
-e '/gzip/d' \
-e 's/LICENSE//' \
-i Makefile || die
@@ -70,5 +72,24 @@ src_install() {
}
pkg_postinst() {
- elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your config directory. It sets up a HP 48GX with a 128KB card in port 1 and a 4MB card in port 2"
+ elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your"
+ elog "config directory."
+ elog
+ elog "The X48 emulator requires an HP48 ROM image to run."
+ elog
+ elog "If you own an HP-48 calculator, you can use the ROMDump utility"
+ elog "included with this package to obtain it from your calculator."
+ elog "The instructions of how to do this are included in the package."
+ elog
+ elog "Alternatively, HP has provided the ROM images for non-commercial"
+ elog "use only."
+ elog
+ elog "Due to confusion over the legal status of these ROMs you must"
+ elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/"
+ elog "If you consent to it, this can be done with the aforementioned"
+ elog "script. In that case, it sets up a HP 48GX with a 128KB card in"
+ elog "port 1 and a 4MB card in port 2."
+ elog
+ elog "You will only have to do this the first time you run x48ng. The"
+ elog "ROM will be stored in your config directory for future runs."
}
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/
@ 2024-08-17 13:06 Lucio Sauer
0 siblings, 0 replies; 6+ messages in thread
From: Lucio Sauer @ 2024-08-17 13:06 UTC (permalink / raw
To: gentoo-commits
commit: 7654409a36b49d159c9817a62d7be9c8c3e05d63
Author: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Sat Aug 17 12:48:29 2024 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Aug 17 12:48:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7654409a
app-emulation/x48ng: drop 0.37.99_p20240812
Closes: https://bugs.gentoo.org/937899 (obsolete)
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
app-emulation/x48ng/Manifest | 1 -
app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild | 95 ----------------------
2 files changed, 96 deletions(-)
diff --git a/app-emulation/x48ng/Manifest b/app-emulation/x48ng/Manifest
index ed641a490..34c8de981 100644
--- a/app-emulation/x48ng/Manifest
+++ b/app-emulation/x48ng/Manifest
@@ -1,2 +1 @@
-DIST x48ng-0.37.99_p20240812.tar.gz 189817 BLAKE2B e3a69a4cacbaf78254391023f3b5ace6d090ac5ea9b68560dfc3d164c85f27ac9f75308a3ff3b6eec8ae16af70ce9d6dc81d2eeb1d0bd1b31ea3ba5d0af4c859 SHA512 f6a2f77b208d125692e9bb40229b5fea81dbea7d27bc65e24f7082e4278af0d21ab69adea40bbd44081eca40d522facbc31c16b956a6c9b3a815d2d2ac2742cd
DIST x48ng-0.38.0.gh.tar.gz 189888 BLAKE2B a14072ec2f36d24b58eac49bf416943eb66df60898ab3936295a1f4db23daf2d48a0c411f902c4310f2156bb25f6392912377731f202a9e1e74423f8e6d8741f SHA512 c67e21e176c048fcbe8afb72e69a40c686a9f8d5187adf3797943d400fff7069a0c160f8952561a25b0286cdfbe303cf7c3744ce31fe1ccc281b63dd553b3d3b
diff --git a/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild b/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
deleted file mode 100644
index 0fd170ab4..000000000
--- a/app-emulation/x48ng/x48ng-0.37.99_p20240812.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( luajit )
-
-inherit flag-o-matic lua-single prefix toolchain-funcs
-
-DESCRIPTION="HP48 emulator"
-
-HOMEPAGE="https://github.com/gwenhael-le-moine/x48ng"
-
-GIT_COMMIT="249d50c44c7b5344841abbfcc6d16409546e514a"
-SRC_URI="https://github.com/gwenhael-le-moine/x48ng/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${GIT_COMMIT}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="sdl X"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-
-RDEPEND="${LUA_DEPS}
-sys-libs/ncurses:=
-sys-libs/readline:=
-X? (
- x11-libs/libX11
- x11-libs/libXext
-)
-sdl? (
- =media-libs/libsdl-1.2*
- media-libs/sdl-gfx:=
-)
-"
-DEPEND="${RDEPEND}
- X? ( x11-base/xorg-proto )
-"
-BDEPEND="virtual/pkgconfig"
-
-src_prepare() {
- sed -e 's/$(LIBS)/$(LDFLAGS) &/' \
- -e "s/pkg-config/$(tc-getPKG_CONFIG)/" \
- -e "s/lua)/${ELUA})/" \
- -e '/gzip/d' \
- -e 's/LICENSE//' \
- -i Makefile || die
- default
-}
-
-src_configure() {
- # https://github.com/gwenhael-le-moine/x48ng/issues/24
- use X && filter-lto
- conf=(
- $(usex X WITH_X11={yes,no})
- $(usex sdl WITH_SDL={yes,no})
- )
-}
-
-src_compile() {
- tc-export CC
- export {C,LD}FLAGS
- emake ${conf[@]}
-}
-
-src_install() {
- emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
- MANDIR="${EPREFIX}/usr/share/man" \
- DOCDIR="${EPREFIX}/usr/share/doc/${PF}" \
- ${conf[@]}
- hprefixify "${ED}"/usr/share/x48ng/setup-x48ng-home.sh
-}
-
-pkg_postinst() {
- elog "Run ${EROOT}/usr/share/x48ng/setup-x48ng-home.sh to setup your"
- elog "config directory."
- elog
- elog "The X48 emulator requires an HP48 ROM image to run."
- elog
- elog "If you own an HP-48 calculator, you can use the ROMDump utility"
- elog "included with this package to obtain it from your calculator."
- elog "The instructions of how to do this are included in the package."
- elog
- elog "Alternatively, HP has provided the ROM images for non-commercial"
- elog "use only."
- elog
- elog "Due to confusion over the legal status of these ROMs you must"
- elog "manually download one from http://www.hpcalc.org/hp48/pc/emulators/"
- elog "If you consent to it, this can be done with the aforementioned"
- elog "script. In that case, it sets up a HP 48GX with a 128KB card in"
- elog "port 1 and a 4MB card in port 2."
- elog
- elog "You will only have to do this the first time you run x48ng. The"
- elog "ROM will be stored in your config directory for future runs."
-}
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-08-17 13:06 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12 23:17 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/x48ng/ Lucio Sauer
2024-08-13 15:39 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
-- strict thread matches above, loose matches on Subject: below --
2024-08-16 1:50 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-16 1:50 Lucio Sauer
2024-08-16 1:50 Lucio Sauer
2024-08-17 13:06 Lucio Sauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox