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." -}
