From 4b19be30aa626b327c885dae62c559ec0e9fb935 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 13 Oct 2019 22:19:36 +0100 Subject: gentoo resync : 13.10.2019 --- app-emulation/x48/Manifest | 2 +- app-emulation/x48/x48-0.6.4-r1.ebuild | 68 ---------------------------------- app-emulation/x48/x48-0.6.4-r2.ebuild | 69 +++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+), 69 deletions(-) delete mode 100644 app-emulation/x48/x48-0.6.4-r1.ebuild create mode 100644 app-emulation/x48/x48-0.6.4-r2.ebuild (limited to 'app-emulation/x48') diff --git a/app-emulation/x48/Manifest b/app-emulation/x48/Manifest index ded0be9e0c4d..c54d2e2ad36e 100644 --- a/app-emulation/x48/Manifest +++ b/app-emulation/x48/Manifest @@ -1,3 +1,3 @@ DIST x48-0.6.4.tar.bz2 227991 BLAKE2B 8db2962860eeb161a8efc9d46730c71d95d0331157e3e2481a978385ad54b04b7a4eb601c68e7df966194b23e0cd04bed4e80511d22695bb7ccdd3959d8fd8d7 SHA512 60fdba1171a02e4a5f9bcefb29fff9398fdbda50553c3d3b952fab0b4ebf87b219d4615139ca3673b1c61ff6d6559aab3e93218334aa6cdb442d4861347138ce -EBUILD x48-0.6.4-r1.ebuild 1728 BLAKE2B 556cf772f97059b55e666e7a83929da28cb53f0e1275775b8054775428c90c155455a273f0f8aeac8c50c39e3e563756f7a094f400769a71f6a21f9eee22cd15 SHA512 79572ae1bb8b28b46b1255fc0b25a5bf3e61778e89484857e0d131f6981584225a608664462ee0e9d940600d2a967df676a5718ff7df74bc6076ca854908c800 +EBUILD x48-0.6.4-r2.ebuild 1675 BLAKE2B 770f6e53f63ac2d04c433593a1e3ceae3a2692df4503138dc5bccc8e8267587cb627b46837f402ded40a09978ba300849fcafcbacbe4237d4fe2d95cf043ae97 SHA512 49893698148039187771e891ef9752ee9ddab31648d8f23b556126af531c7e3447e9458eedb0dbf14be2dfd32ffa4cf32e4157fd7769f6455895bc70a1e50def MISC metadata.xml 723 BLAKE2B 98911516312cc5d5617bbf9d6e33915608b30639c2354024cc74407888a699cf7464261fc7d40afad3fd6632ae39da74b5f90ede1bd51e491d0193c759d8ed07 SHA512 0de7f42012bc6624f1eca6d08c3807185f5fcd7b44a34fd701cd7af2ede5b0ab21f41b41fc7b784b3fe641b3b12b58ae412a2969679fbfcc1edbfd99b6e39685 diff --git a/app-emulation/x48/x48-0.6.4-r1.ebuild b/app-emulation/x48/x48-0.6.4-r1.ebuild deleted file mode 100644 index 25255dc0248c..000000000000 --- a/app-emulation/x48/x48-0.6.4-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools - -DESCRIPTION="HP48 Calculator Emulator" -HOMEPAGE="http://x48.berlios.de/" -SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2" -LICENSE="GPL-3" - -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" -IUSE="readline" - -RDEPEND="x11-libs/libX11 - x11-libs/libXext - readline? ( sys-libs/readline:5 )" -DEPEND="${RDEPEND} - virtual/pkgconfig - x11-libs/libXt" - -src_unpack() { - mkdir -p "${S}" - cd "${S}" - unpack ${A} -} - -src_prepare() { - eapply_user - sed -i '698s/inline/static inline/' src/emulate.c || die - eautoreconf -} - -src_configure() { - econf $(use_enable readline) -} - -src_install() { - emake DESTDIR="${D}" install - insinto /usr/share/"${PN}"/romdump - doins -r romdump/{README,ROMDump*} - dodoc AUTHORS README ChangeLog -} - -pkg_postinst() { - 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 - elog "If you do not know which one to use, try 'HP 48GX Revision R ROM.'" - elog - elog "Once you have a ROM, you will need to install it by running:" - elog - elog "x48 -rom gxrom-r" - elog - elog "You will only have to do this the first time you run X48. The" - elog "ROM will be stored in ~/.hp48/rom for future runs." -} diff --git a/app-emulation/x48/x48-0.6.4-r2.ebuild b/app-emulation/x48/x48-0.6.4-r2.ebuild new file mode 100644 index 000000000000..60123e66d5ad --- /dev/null +++ b/app-emulation/x48/x48-0.6.4-r2.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="HP48 Calculator Emulator" +HOMEPAGE="http://x48.berlios.de/" +SRC_URI="mirror://sourceforge/x48.berlios/${P}.tar.bz2" +LICENSE="GPL-3" + +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +IUSE="readline" + +RDEPEND=" + x11-libs/libX11 + x11-libs/libXext + readline? ( sys-libs/readline:0= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-libs/libXt" + +src_unpack() { + mkdir -p "${S}" + cd "${S}" + unpack ${A} +} + +src_prepare() { + default + sed -i '698s/inline/static inline/' src/emulate.c || die + eautoreconf +} + +src_configure() { + econf $(use_enable readline) +} + +src_install() { + default + + insinto /usr/share/"${PN}"/romdump + doins -r romdump/{README,ROMDump*} +} + +pkg_postinst() { + 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 + elog "If you do not know which one to use, try 'HP 48GX Revision R ROM.'" + elog + elog "Once you have a ROM, you will need to install it by running:" + elog + elog "x48 -rom gxrom-r" + elog + elog "You will only have to do this the first time you run X48. The" + elog "ROM will be stored in ~/.hp48/rom for future runs." +} -- cgit v1.2.3