From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- games-emulation/hatari/Manifest | 2 +- games-emulation/hatari/hatari-2.2.1-r1.ebuild | 82 +++++++++++++++++++++++++++ games-emulation/hatari/hatari-2.2.1.ebuild | 80 -------------------------- 3 files changed, 83 insertions(+), 81 deletions(-) create mode 100644 games-emulation/hatari/hatari-2.2.1-r1.ebuild delete mode 100644 games-emulation/hatari/hatari-2.2.1.ebuild (limited to 'games-emulation/hatari') diff --git a/games-emulation/hatari/Manifest b/games-emulation/hatari/Manifest index 97bb64e49168..e3658a9e5f16 100644 --- a/games-emulation/hatari/Manifest +++ b/games-emulation/hatari/Manifest @@ -1,5 +1,5 @@ AUX hatari-2.2.1-default-rom.patch 698 BLAKE2B 5830bf75aa9039f0fda3f354bef50fa5dc6c7bea658c2f540a39f21f9b52fbb51447d1f1819ca3eebd248a93f7d255e9ef98a912aa908fbb15277a9ed106b853 SHA512 24659ea52cccb641010b08778608d87b4849b605b2825804f63f1285483605fdc2559f6ce6e17a5a71f801981c7bcf5d429dfc84f6dc6e5ed4cad9f1d957482f AUX hatari-2.2.1-joystick.patch 2172 BLAKE2B 67be6915d79612d851bcd617637e05d076f8a498194957a21ee6213c77fc0c7b718220afb0749bb2ccfa9322af34b020391fd8be9540dd1f7ed694f510215c2d SHA512 54b73d294dcc061abc4e037515f18bd0aa2e311c97010b687fce5cd90e427aac431bf820a1dd9ce2b2632e1662496e423582d80b1d55f23eef0734f03adfb2b8 DIST hatari-2.2.1.tar.bz2 4162798 BLAKE2B 51938a649957779652b0debf7f867b2abe2d54fd3bb31086542f9f5970d01a120455e4381a9cb173724fbc7c45359d4009377bfe99038b338142fa5b82723533 SHA512 0e4c148a355a53c9cf79bdd28e5d7bb5f3389c780576017c6ebe2b69465d67522f373945f0e51681120ece24f5f08442265515486d2d7df7a02d9cd94cc44f1e -EBUILD hatari-2.2.1.ebuild 2129 BLAKE2B da9ea44a77cf53173b97d807d4e06a20892c7f862ccd7ef47568557771da1a7820ed31246b9f0e718ecc32008ee233d0694c5c4623f1b11ba0cc302e74989ea9 SHA512 0a6001eff71d119cd9ec28e2c62c72278b3a7007836a00f7be8cfdde32a69758a19d168aad2fc0f45ebda8a3191bc805fdc4ce19589d852ea2c6ab335e6fac92 +EBUILD hatari-2.2.1-r1.ebuild 2165 BLAKE2B 991d569df2a1c47552c733bed8597b7dabfac60490c11d75e3dc23295d6f6a1e5a530344f36d49b0453f7714517cad4ff824c632bf0966dd2d64e55983714564 SHA512 df0bbd7bc4479a61fc5f336636c003abe8908e78ce82b5d2a9326e4b2b8f2ecf29a35d376a73a3618666ad2c6f718d1badb124c2d4d234c44624e83531a65993 MISC metadata.xml 619 BLAKE2B 452a04b03222a27e8790a2ce0b38d81899baaf65c9fcdeb22dcec9950cc0fddf027525b23bdb7739fee45ed1daec47071b3d1262006fc3f10c6ff07a8b1bd148 SHA512 6d87d6ab08072cc43e1f42160d0df993dfba7b2f5480261024bdb637f3169062e530029a248c7bee514c604629f6c04c80dd5c609d23bca639a5ef720c266e42 diff --git a/games-emulation/hatari/hatari-2.2.1-r1.ebuild b/games-emulation/hatari/hatari-2.2.1-r1.ebuild new file mode 100644 index 000000000000..f6d9298755d1 --- /dev/null +++ b/games-emulation/hatari/hatari-2.2.1-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{6,7}} ) +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="capsimage microphone png portmidi readline +sdl2 udev zlib" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + ${PYTHON_DEPS} + capsimage? ( >=dev-libs/spsdeclib-5.1-r1 ) + microphone? ( media-libs/portaudio ) + png? ( media-libs/libpng:0= ) + portmidi? ( media-libs/portmidi ) + readline? ( sys-libs/readline:0= ) + sdl2? ( media-libs/libsdl2[sound,video,X] ) + !sdl2? ( media-libs/libsdl[sound,video,X] ) + udev? ( virtual/udev ) + zlib? ( sys-libs/zlib ) +" + +RDEPEND=" + ${DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + >=games-emulation/emutos-0.9.9.1 +" + +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2.1-default-rom.patch + "${FILESDIR}"/${PN}-2.2.1-joystick.patch +) + +DOCS=( + readme.txt + doc/{changelog,coding,scsi-driver,thanks,video-recording}.txt +) + +src_prepare() { + xdg_environment_reset + cmake_src_prepare + + sed -i "s/\.1\.gz\b/.1/g;T;s/gzip[^\$]*/cat /g" {*/,}*/CMakeLists.txt || die + sed -i "s:\"doc\" + sep + \"hatari\":\"doc/${PF}\":" python-ui/uihelpers.py || die + sed -i "s/python/${EPYTHON}/" tools/atari-hd-image.sh || die + + # Use emutos package rather than bundled ROM. + rm src/tos.img || die +} + +src_configure() { + mycmakeargs=( + -DBUILD_SHARED_LIBS=OFF + -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF} + -DENABLE_SDL2=$(usex sdl2) + -DCMAKE_DISABLE_FIND_PACKAGE_CapsImage=$(usex !capsimage) + -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio=$(usex !microphone) + -DCMAKE_DISABLE_FIND_PACKAGE_PortMidi=$(usex !portmidi) + -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) + -DCMAKE_DISABLE_FIND_PACKAGE_Readline=$(usex !readline) + -DCMAKE_DISABLE_FIND_PACKAGE_Udev=$(usex !udev) + -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=$(usex !zlib) + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + python_fix_shebang "${ED}"/usr/share/${PN}/ +} diff --git a/games-emulation/hatari/hatari-2.2.1.ebuild b/games-emulation/hatari/hatari-2.2.1.ebuild deleted file mode 100644 index 7c7a695b755a..000000000000 --- a/games-emulation/hatari/hatari-2.2.1.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{2_7,3_{6,7}} ) -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="capsimage microphone png portmidi readline +sdl2 udev zlib" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND=" - ${PYTHON_DEPS} - capsimage? ( >=dev-libs/spsdeclib-5.1-r1 ) - microphone? ( media-libs/portaudio ) - png? ( media-libs/libpng:0= ) - portmidi? ( media-libs/portmidi ) - readline? ( sys-libs/readline:0= ) - sdl2? ( media-libs/libsdl2[sound,video,X] ) - !sdl2? ( media-libs/libsdl[sound,video,X] ) - udev? ( virtual/udev ) - zlib? ( sys-libs/zlib ) -" - -RDEPEND=" - ${DEPEND} - dev-python/pygobject:3[${PYTHON_USEDEP}] - >=games-emulation/emutos-0.9.9.1 -" - -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-2.2.1-default-rom.patch - "${FILESDIR}"/${PN}-2.2.1-joystick.patch -) - -DOCS=( - readme.txt - doc/{changelog,coding,scsi-driver,thanks,video-recording}.txt -) - -src_prepare() { - xdg_environment_reset - cmake_src_prepare - - sed -i "s/\.1\.gz\b/.1/g;T;s/gzip[^\$]*/cat /g" {*/,}*/CMakeLists.txt || die - sed -i "s:\"doc\" + sep + \"hatari\":\"doc/${PF}\":" python-ui/uihelpers.py || die - sed -i "s/python/${EPYTHON}/" tools/atari-hd-image.sh || die - - # Use emutos package rather than bundled ROM. - rm src/tos.img || die -} - -src_configure() { - mycmakeargs=( - -DBUILD_SHARED_LIBS=OFF - -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF} - -DENABLE_SDL2=$(usex sdl2) - -DCMAKE_DISABLE_FIND_PACKAGE_CapsImage=$(usex !capsimage) - -DCMAKE_DISABLE_FIND_PACKAGE_PortAudio=$(usex !microphone) - -DCMAKE_DISABLE_FIND_PACKAGE_PortMidi=$(usex !portmidi) - -DCMAKE_DISABLE_FIND_PACKAGE_PNG=$(usex !png) - -DCMAKE_DISABLE_FIND_PACKAGE_Readline=$(usex !readline) - -DCMAKE_DISABLE_FIND_PACKAGE_Udev=$(usex !udev) - -DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=$(usex !zlib) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - python_fix_shebang "${ED}"/usr/share/${PN}/ -} -- cgit v1.2.3