diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emulation/e-uae |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emulation/e-uae')
-rw-r--r-- | app-emulation/e-uae/Manifest | 7 | ||||
-rw-r--r-- | app-emulation/e-uae/e-uae-0.8.29_rc4-r2.ebuild | 139 | ||||
-rw-r--r-- | app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild | 136 | ||||
-rw-r--r-- | app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch | 18 | ||||
-rw-r--r-- | app-emulation/e-uae/metadata.xml | 14 |
5 files changed, 314 insertions, 0 deletions
diff --git a/app-emulation/e-uae/Manifest b/app-emulation/e-uae/Manifest new file mode 100644 index 000000000000..7530954e0ea2 --- /dev/null +++ b/app-emulation/e-uae/Manifest @@ -0,0 +1,7 @@ +AUX e-uae-0.8.29_rc4-high-cpu-usage.patch 399 SHA256 dcfd8b4a5f5203730d5305fd20128cedc34a01dd0390c605c4c0d5002d0b983c SHA512 a0d6dbe9dedbabb7700e2199d62814732a0d6f09be7758aa70565ba4d4cc1a86d848e3a9b5c743871a0052ee1b19b03615ee38a174634c7a339d218bab350b18 WHIRLPOOL bcbb2fcb20c073a1d4b4d6cccc752bb824c921c21d22f67d72c4b53eaf777bc8663e99adca9133d9bcadde015552fdf2b133d6d989fd0715575626e2de9a2607 +DIST e-uae-0.8.29-WIP4.tar.bz2 1122718 SHA256 9828cb0fca783160bcb33900d0254f4bdaade1c9a41256e5f298e973d0c07456 SHA512 63d5c60ca017ba7ffaba32c4d7edceba0410b773066cc58e226c8cc2c92152eb3689698b0affe478cc63c996c731fbbf56d9028dfd000394d904f193f860473f WHIRLPOOL 4d0bab2b8492cfe6a6b2e38fab7b2eb9ad4b33b38b191d9949cb946f6e5a4365b00ccec118acb8b4d537b70b73b8d9deb0c8235b5966f1488d9a03e3a245dfeb +EBUILD e-uae-0.8.29_rc4-r2.ebuild 4262 SHA256 736e4ad4f6c4ab989b0f33371836ffc0552827c6eedf83c43fb1488317637b79 SHA512 36d9ea8f03060b6f8ab1a8cd6171b718b6e8e7acf46a32075ca21fce2e114cfe2a80ddb1a524b03cd3d6e1d8c421203af515442f07ed6896307564ff914acd49 WHIRLPOOL 5f748c95b7ed7fdcec6b2f1841b9d93fb3175e0ff4d2a83a94f937007c26eade65cbf8f501b21a246424115158ae743d55bd279452a1194e280e7e56c1255735 +EBUILD e-uae-0.8.29_rc4-r3.ebuild 4188 SHA256 8abdae6a2952692d76d0e8f8b14bb72e732c181e83ffb6eae7e977992015bc3a SHA512 7fcc3247eae1cf66c53a4ed870c50df10d0c11abe552c01a5f7b52c76f08ffec54bd96328289d3065dc6a8675e4963f8a1809fd3c7c12c9ea89c6548f6940793 WHIRLPOOL 364502ab60a8c440040dc3cb821406f3672255360e63f680ac62f9606a73cd29a97160c45745edcce91e301f7199833969ba3761289af406ca886c61afbe0f28 +MISC ChangeLog 2978 SHA256 175093bd68fbfe2d92107fea5dda91dce6c0c1d3a5c86b7cba03f1aeb3805693 SHA512 e310c33c9d7b2a208fa43d78d937c7e9bd22d70159dd230307a81aa8e5ddaab58c022caec8a65441e4b4aef6e673e8d41662e4a1b2f236884d59813e212bce43 WHIRLPOOL 0e38da26074e2f0269365551c913edd9bf11d82d8cd1cf6066aaca45e27cc368d9c8152a551864730b8f005141232059f987391c51abd19d6e1aec46255b5ff5 +MISC ChangeLog-2015 8473 SHA256 42e7da9c29c257c7914b4de938f851248df8bfea6a2de2bda6b03edff2efd2da SHA512 5a73b2436f909a932c56779123ec843e5b5c14fcb2a27f1179180a5955cf2965ffd0dea714f5bd157dbb68dd05b715b02de8b99939089767e1dc1dc2bb5ad8cc WHIRLPOOL c3c6a1fb20a61b633d0bf0ac07bd10c51e3adaedb5c2bb5e79f227bcaa05a0bccbe588eb3059f18e63eaeb025739edd4bb5f4f808ccdeaec5eadfda3139381a9 +MISC metadata.xml 465 SHA256 6ffc0a2ed970bef6f6ac1d5481de653bcf759bc23ac87a6025a94fd628e7fc6c SHA512 d66cf721c85633855983c22d2fd18e75635afe1fdd987b12a35f23caf1acb241398815ae643682864d3cd5099983b9b9c7581828ccd4668aca9d5b56fe9a8a00 WHIRLPOOL 100cf58d3a95cdee5513164c6020ca44e1d6a5d8a81d58471c4ef9bf2100208120ce99140ea5e8f96626c51eb78d91f4d28864a2a11d5d1215a7d8cdedc72769 diff --git a/app-emulation/e-uae/e-uae-0.8.29_rc4-r2.ebuild b/app-emulation/e-uae/e-uae-0.8.29_rc4-r2.ebuild new file mode 100644 index 000000000000..ed2d49d5ea66 --- /dev/null +++ b/app-emulation/e-uae/e-uae-0.8.29_rc4-r2.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +inherit eutils flag-o-matic pax-utils + +DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE" +HOMEPAGE="http://www.rcdrummond.net/uae/" +# We support _rcX for WIPX versions and _preYYYYMMDD for CVS snapshots. +if [[ "${PV%%_rc*}" = "${PV}" ]] ; then + # _pre is used, cvs version + my_ver=${PV%%_pre*} + snap_ver=${PV##*_pre} + S="${WORKDIR}"/${PN}-${my_ver}-${snap_ver} + SRC_URI="http://www.rcdrummond.net/uae/test/${snap_ver}/${PN}-${my_ver}-${snap_ver}.tar.bz2" +else + my_ver=${PV%%_rc*} + WIP_ver=${PV##*_rc} + S="${WORKDIR}"/${PN}-${my_ver}-WIP${WIP_ver} + SRC_URI="http://www.rcdrummond.net/uae/${PN}-${my_ver}-WIP${WIP_ver}/${PN}-${my_ver}-WIP${WIP_ver}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="X dga ncurses sdl alsa oss sdl-sound capslib" + +# Note: opposed to ./configure --help zlib support required! Check +# src/Makefile.am that includes zfile.c unconditionaly. +RDEPEND="X? ( x11-libs/libXt + x11-libs/libxkbfile + x11-libs/libXext + x11-misc/xkeyboard-config + dga? ( x11-libs/libXxf86dga + x11-libs/libXxf86vm ) + ) + !X? ( sdl? ( media-libs/libsdl ) + !sdl? ( sys-libs/ncurses ) ) + alsa? ( media-libs/alsa-lib ) + !alsa? ( sdl-sound? ( media-libs/sdl-sound ) ) + capslib? ( >=games-emulation/caps-20060612 ) + sys-libs/zlib + virtual/cdrtools" + +DEPEND="${RDEPEND} + X? ( dga? ( x11-proto/xf86vidmodeproto + x11-proto/xf86dgaproto ) )" + +src_prepare() { + # Fix for high cpu use when compiled with --disable-audio + use alsa || use sdl-sound || use oss || epatch "${FILESDIR}"/${P}-high-cpu-usage.patch +} + +src_configure() { + strip-flags + + local myconf + + # Sound setup. + if use alsa; then + elog "Choosing alsa as sound target to use." + myconf="--with-alsa --without-sdl-sound" + elif use sdl-sound ; then + if ! use sdl ; then + ewarn "sdl-sound is not enabled because sdl USE flag is disabled. Leaving" + ewarn "sound on oss autodetection." + myconf="--without-alsa --without-sdl-sound" + ebeep + else + elog "Choosing sdl-sound as sound target to use." + ewarn "E-UAE with the SDL audio back-end doesn't work correctly in Linux." + ewarn "Better use alsa... You've been warned ;)" + ebeep + myconf="--without-alsa --with-sdl-sound" + fi + elif use oss ; then + elog "Choosing oss as sound target to use." + ewarn "oss will be autodetected. See output of configure." + myconf="--without-alsa --without-sdl-sound" + else + ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!" + myconf="--disable-audio" + fi + + # VIDEO setup. X is autodetected (there is no --with-X option). + if use X ; then + elog "Using X11 for video output." + ewarn "Fullscreen mode is not working in X11 currently. Use sdl." + myconf="$myconf --without-curses --without-sdl-gfx" + use dga && ewarn "To use dga you have to run e-uae as root." + use dga && myconf="$myconf --enable-dga --enable-vidmode" + elif use sdl ; then + elog "Using sdl for video output." + myconf="$myconf --with-sdl --with-sdl-gfx --without-curses" + elif use ncurses; then + elog "Using ncurses for video output." + myconf="$myconf --with-curses --without-sdl-gfx" + else + ewarn "There is no X or sdl or ncurses in USE!" + ewarn "Following upstream falling back on ncurses." + myconf="$myconf --with-curses --without-sdl-gfx" + ebeep + fi + + # bug #415787 + myconf="$myconf --disable-ui" + + myconf="$myconf $(use_with capslib caps)" + + myconf="$myconf --with-zlib" + + # And explicitly state defaults: + myconf="$myconf --enable-aga" + myconf="$myconf --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32" + myconf="$myconf --enable-bsdsock" + + econf ${myconf} \ + --with-libscg-includedir="${EPREFIX}"/usr/include/scsilib \ + || die "./configure failed" +} + +src_compile() { + emake -j1 || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # The emulator needs to be able to create executable heap + # - doesn't need trampoline emulation though. + pax-mark me "${ED}/usr/bin/uae" + + # Rename it to e-uae + mv "${ED}/usr/bin/uae" "${ED}/usr/bin/e-uae" + mv "${ED}/usr/bin/readdisk" "${ED}/usr/bin/e-readdisk" + + dodoc docs/* README ChangeLog +} diff --git a/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild b/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild new file mode 100644 index 000000000000..634a05202ab0 --- /dev/null +++ b/app-emulation/e-uae/e-uae-0.8.29_rc4-r3.ebuild @@ -0,0 +1,136 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic pax-utils + +DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE" +HOMEPAGE="http://www.rcdrummond.net/uae/" +# We support _rcX for WIPX versions and _preYYYYMMDD for CVS snapshots. +if [[ "${PV%%_rc*}" = "${PV}" ]] ; then + # _pre is used, cvs version + my_ver=${PV%%_pre*} + snap_ver=${PV##*_pre} + S="${WORKDIR}"/${PN}-${my_ver}-${snap_ver} + SRC_URI="http://www.rcdrummond.net/uae/test/${snap_ver}/${PN}-${my_ver}-${snap_ver}.tar.bz2" +else + my_ver=${PV%%_rc*} + WIP_ver=${PV##*_rc} + S="${WORKDIR}"/${PN}-${my_ver}-WIP${WIP_ver} + SRC_URI="http://www.rcdrummond.net/uae/${PN}-${my_ver}-WIP${WIP_ver}/${PN}-${my_ver}-WIP${WIP_ver}.tar.bz2" +fi + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X dga ncurses sdl alsa oss sdl-sound capslib" + +# Note: opposed to ./configure --help zlib support required! Check +# src/Makefile.am that includes zfile.c unconditionaly. +RDEPEND="X? ( x11-libs/libXt + x11-libs/libxkbfile + x11-libs/libXext + x11-misc/xkeyboard-config + dga? ( x11-libs/libXxf86dga + x11-libs/libXxf86vm ) + ) + !X? ( sdl? ( media-libs/libsdl ) + !sdl? ( sys-libs/ncurses:0= ) ) + alsa? ( media-libs/alsa-lib ) + !alsa? ( sdl-sound? ( media-libs/sdl-sound ) ) + capslib? ( >=games-emulation/caps-20060612 ) + sys-libs/zlib + virtual/cdrtools" + +DEPEND="${RDEPEND} + X? ( dga? ( x11-proto/xf86vidmodeproto + x11-proto/xf86dgaproto ) )" + +src_prepare() { + default + # Fix for high cpu use when compiled with --disable-audio + use alsa || use sdl-sound || use oss || eapply "${FILESDIR}"/${P}-high-cpu-usage.patch +} + +src_configure() { + strip-flags + + local myconf + + # Sound setup. + if use alsa; then + elog "Choosing alsa as sound target to use." + myconf="--with-alsa --without-sdl-sound" + elif use sdl-sound ; then + if ! use sdl ; then + ewarn "sdl-sound is not enabled because sdl USE flag is disabled. Leaving" + ewarn "sound on oss autodetection." + myconf="--without-alsa --without-sdl-sound" + else + elog "Choosing sdl-sound as sound target to use." + ewarn "E-UAE with the SDL audio back-end doesn't work correctly in Linux." + ewarn "Better use alsa... You've been warned ;)" + myconf="--without-alsa --with-sdl-sound" + fi + elif use oss ; then + elog "Choosing oss as sound target to use." + ewarn "oss will be autodetected. See output of configure." + myconf="--without-alsa --without-sdl-sound" + else + ewarn "There is no alsa, sdl-sound or oss in USE. Sound target disabled!" + myconf="--disable-audio" + fi + + # VIDEO setup. X is autodetected (there is no --with-X option). + if use X ; then + elog "Using X11 for video output." + ewarn "Fullscreen mode is not working in X11 currently. Use sdl." + myconf="$myconf --without-curses --without-sdl-gfx" + use dga && ewarn "To use dga you have to run e-uae as root." + use dga && myconf="$myconf --enable-dga --enable-vidmode" + elif use sdl ; then + elog "Using sdl for video output." + myconf="$myconf --with-sdl --with-sdl-gfx --without-curses" + elif use ncurses; then + elog "Using ncurses for video output." + myconf="$myconf --with-curses --without-sdl-gfx" + else + ewarn "There is no X or sdl or ncurses in USE!" + ewarn "Following upstream falling back on ncurses." + myconf="$myconf --with-curses --without-sdl-gfx" + fi + + # bug #415787 + myconf="$myconf --disable-ui" + + myconf="$myconf $(use_with capslib caps)" + + myconf="$myconf --with-zlib" + + # And explicitly state defaults: + myconf="$myconf --enable-aga" + myconf="$myconf --enable-autoconfig --enable-scsi-device --enable-cdtv --enable-cd32" + myconf="$myconf --enable-bsdsock" + + econf ${myconf} \ + --with-libscg-includedir="${EPREFIX}"/usr/include/scsilib +} + +src_compile() { + emake -j1 +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + + # The emulator needs to be able to create executable heap + # - doesn't need trampoline emulation though. + pax-mark me "${ED}/usr/bin/uae" + + # Rename it to e-uae + mv "${ED}/usr/bin/uae" "${ED}/usr/bin/e-uae" + mv "${ED}/usr/bin/readdisk" "${ED}/usr/bin/e-readdisk" + + dodoc docs/* README ChangeLog +} diff --git a/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch new file mode 100644 index 000000000000..ad73b34c062c --- /dev/null +++ b/app-emulation/e-uae/files/e-uae-0.8.29_rc4-high-cpu-usage.patch @@ -0,0 +1,18 @@ +Index: src/sd-none/sound.c +=================================================================== +RCS file: /cvsroot/uaedev/uae/src/sd-none/sound.c,v +retrieving revision 1.4 +diff -u -r1.4 sound.c +--- a/src/sd-none/sound.c 15 Feb 2007 04:47:38 -0000 1.4 ++++ b/src/sd-none/sound.c 25 May 2007 14:47:35 -0000 +@@ -30,10 +30,6 @@ + { + } + +-void update_sound (int freq) +-{ +-} +- + void reset_sound (void) + { + } diff --git a/app-emulation/e-uae/metadata.xml b/app-emulation/e-uae/metadata.xml new file mode 100644 index 000000000000..35a11c55489a --- /dev/null +++ b/app-emulation/e-uae/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <longdescription lang="en"> + E-UAE is a fork of UAE which intends to merge all the new features of + WinUAE with UAE. + </longdescription> + <use> + <flag name="capslib">Add CAPS library support</flag> + <flag name="sdl-sound">Use <pkg>media-libs/sdl-sound</pkg> for audio + output</flag> + </use> +</pkgmetadata> |