diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-05 00:00:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-05 00:00:45 +0100 |
commit | b594445f39d99066071d80fc8efeba5c8f72cc35 (patch) | |
tree | 9bf469821b12ac103807e30a6f7751d955648125 /games-emulation | |
parent | 7f3fecbb5b871825fe9632f46659869cab6a3769 (diff) |
gentoo auto-resync : 05:05:2024 - 00:00:45
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/Manifest.gz | bin | 12036 -> 12037 bytes | |||
-rw-r--r-- | games-emulation/hatari/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/hatari/hatari-2.5.0.ebuild | 103 | ||||
-rw-r--r-- | games-emulation/hatari/metadata.xml | 1 |
4 files changed, 107 insertions, 1 deletions
diff --git a/games-emulation/Manifest.gz b/games-emulation/Manifest.gz Binary files differindex 0ed8a910ec6e..f27a477d5d6b 100644 --- a/games-emulation/Manifest.gz +++ b/games-emulation/Manifest.gz diff --git a/games-emulation/hatari/Manifest b/games-emulation/hatari/Manifest index b33d0cbcd844..4d0687cbc3c5 100644 --- a/games-emulation/hatari/Manifest +++ b/games-emulation/hatari/Manifest @@ -2,5 +2,7 @@ AUX adccd68b16eff815590c1ec993354ef8e752ecfd.patch 1247 BLAKE2B cf4f29010a08c7bf AUX hatari-2.3.1-caps5-include-path.patch 500 BLAKE2B 9462c680cf22368e06f37d313d0d0917b5904977ab0001fc3427bb8532d611481e0414c7a9c76a83f8c3a00691dd702c22a4c27eb3d1ef0a8bfbd5d48d636895 SHA512 53230cfbfc1904fba1af3d9a7554425d76e75f4a4fa51906ebfe12c9f178633bc63334036f3192643dfa2a3d51e5729c7932a58ca009902585a1653b44c28457 AUX hatari-2.3.1-cmake-include-checksym.patch 388 BLAKE2B 45bc03fc6be8feae6d16083ea6fd5c2fbe1f63103c8a274e9e2104d39cb4050dd5cb0ac51e679fbb65c17d0e2df080245e0e5800f14578e956cbff2dd6c3e9f5 SHA512 b9afa6022e7be9dfe9ab47b791d5e7a64e835ae2098f5b04737b2ffc952598bc0e90a181609629d03f9568c8dcd4e5772cb96bd1416531ccba6c66a1d33c439e DIST hatari-2.4.1.tar.bz2 4446656 BLAKE2B 0844f14f2161de931ba098d290655152ecde354a80cc9c18b460fda77149759386cf7ed46d0ce1dd36dc303f1f3cfe421f37f169e06d46a06589cef1d601dbc6 SHA512 90c555150b0fa86b88e4ba3360384edf6afa05d45b82b3260853178b77fd542da6f31bd2e80c8307380fff9c61f0230545ec987e6e74b8c3d708bc5ef5ca8f42 +DIST hatari-2.5.0.tar.bz2 2820580 BLAKE2B 42d955db9a219632d39697041667c2f9ddbd2cc06472c7ca508a097a3dcd5681a73a1069a3a6e788eca79a9aae2ff1ce00288a09556c8bedd697bcd77256f653 SHA512 53c5d5164ccaba8abea2babfbca971995fe6bd4f796d418f01243d3d40ac43371ba04c20600c5117b3e7b7b9a36d092e15cd209cc08324d17a05a7ca8e93cd84 EBUILD hatari-2.4.1-r1.ebuild 2569 BLAKE2B efa7564e98fc1dc6ab781568486797078608e27f676c6fa9605887d8ae63ba6bccff7f0c32897b1704991dbe8b1d0363e5e242782509b69173760d2f1b14fc44 SHA512 875e7d64e4fd81bced35e37fd9305e931aa9eedd483985e08a79493fee45ab2da4e8a055472f9f7841fc3f10e77dda0cb14295f153df00095c121cf7eee6fba7 -MISC metadata.xml 551 BLAKE2B 345a7f3e8e1b73d6b6b95e951ee6eab25c2f681ce68020261b3d4ccad07215905b4c726707bcc16db0624d8d04ebe58c31de7ae502999661ce007fd8041ccd63 SHA512 e516f8d601cb654527b4590b865a621df0a661dce8bb40c31a43233995f28188efd1a9babe9b616ee394b7f7eef1fd667d3bb425382017e2f79c870979e1d7d7 +EBUILD hatari-2.5.0.ebuild 2475 BLAKE2B fb5109ee85f92738f5693b55e132c3b6aac3c4aa302ad969b799fba35dd299a3192ce28c0d8f87d5465b58d626073fe8bbd9e8fb4287b0ed246ad6641df516a6 SHA512 69e3458b5132f1893085e6c2d2dcd940a13cb9d0337447a3a50f43cb74b00734205f3e05abd159e208dbd9ea0f0011c1c0f318e1d8b36c283b9209125262f3ec +MISC metadata.xml 654 BLAKE2B 72517d404da9efed9281d4078ab99158626321e7404be8cb05e30c96f2a479aee6a1fb082e83113ac841604eec5fbc93fd191e47bc95772381fb4b74097f8b0f SHA512 d232a0bc529fb5b46dd44322b3913a5a6dd7da2b77b4177284484c07bdb3956b04a930185214aee07efc9ccebec74f034dc43597c5eafa87f2087a06e1bc84af diff --git a/games-emulation/hatari/hatari-2.5.0.ebuild b/games-emulation/hatari/hatari-2.5.0.ebuild new file mode 100644 index 000000000000..7b8c40d50801 --- /dev/null +++ b/games-emulation/hatari/hatari-2.5.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake python-single-r1 xdg + +DESCRIPTION="Atari ST emulator" +HOMEPAGE="https://hatari.tuxfamily.org/" +SRC_URI="https://download.tuxfamily.org/hatari/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X capsimage capstone gui png portmidi readline udev zlib" +REQUIRED_USE=" + ${PYTHON_REQUIRED_USE} + png? ( zlib ) +" + +COMMON_DEPEND=" + media-libs/libsdl2[X?,joystick,sound,video] + X? ( x11-libs/libX11 ) + capsimage? ( dev-libs/spsdeclib ) + capstone? ( dev-libs/capstone:= ) + png? ( media-libs/libpng:= ) + portmidi? ( media-libs/portmidi ) + readline? ( sys-libs/readline:= ) + udev? ( virtual/udev ) + zlib? ( sys-libs/zlib:= ) +" +RDEPEND=" + ${PYTHON_DEPS} + ${COMMON_DEPEND} + gui? ( + $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') + x11-libs/gtk+:3[introspection] + ) + games-emulation/emutos +" +DEPEND=" + ${COMMON_DEPEND} + X? ( x11-base/xorg-proto ) +" +BDEPEND="${PYTHON_DEPS}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.3.1-caps5-include-path.patch +) + +DOCS=( + readme.txt + doc/{bugs,changelog,scsi-driver,thanks,video-recording}.txt +) + +src_prepare() { + cmake_src_prepare + + sed -i "s/\.1\.gz\b/.1/;T;s/gzip[^\$]*/cat /" {*/,}*/CMakeLists.txt || die + sed -i "s:doc/${PN}:doc/${PF}/html:" python-ui/uihelpers.py || die + sed -e "s/python3/${EPYTHON}/" \ + -e 's/mkdosfs/mkfs.fat/' \ + -i tools/atari-hd-image.sh || die + + # use emutos package rather than bundled ROM + rm src/tos.img || die + cat <<-EOF > hatari.cfg || die + [ROM] + szTosImageFileName = ${EPREFIX}/usr/share/emutos/etos1024k.img + EOF +} + +src_configure() { + local mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/html + -DETCDIR="${EPREFIX}"/etc + $(cmake_use_find_package X X11) + $(cmake_use_find_package capsimage CapsImage) + $(cmake_use_find_package capstone Capstone) + $(cmake_use_find_package png PNG) + $(cmake_use_find_package portmidi PortMidi) + $(cmake_use_find_package readline Readline) + $(cmake_use_find_package udev Udev) + $(cmake_use_find_package zlib ZLIB) + $(usev !gui -DPYTHON_EXECUTABLE=false) # only disables python-ui/ + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + insinto /etc + doins hatari.cfg + + mv -- "${ED}"/usr/share/doc/${PF}/{html/*.txt,} || die + + python_fix_shebang "${ED}"/usr/bin + use gui && python_fix_shebang "${ED}"/usr/share/${PN}/${PN}ui +} diff --git a/games-emulation/hatari/metadata.xml b/games-emulation/hatari/metadata.xml index 8f24f9114b50..acb3e4b7e028 100644 --- a/games-emulation/hatari/metadata.xml +++ b/games-emulation/hatari/metadata.xml @@ -7,6 +7,7 @@ </maintainer> <use> <flag name="capsimage">Use <pkg>dev-libs/spsdeclib</pkg> to read .IPF, .RAW, and .CTR disk images</flag> + <flag name="capstone">Use <pkg>dev-libs/capstone</pkg> for disassembly output in the debugger</flag> <flag name="portmidi">Use <pkg>media-libs/portmidi</pkg> as an alternative MIDI backend</flag> </use> <upstream> |