To avoid autodetection caps should be explicetly disabled. Thank Martin Bays <gentoo_...
authorPeter Volkov <pva@gentoo.org>
Sun, 11 Feb 2007 19:49:22 +0000 (19:49 +0000)
committerPeter Volkov <pva@gentoo.org>
Sun, 11 Feb 2007 19:49:22 +0000 (19:49 +0000)
Package-Manager: portage-2.1.2-r9

app-emulation/e-uae/ChangeLog
app-emulation/e-uae/Manifest
app-emulation/e-uae/e-uae-0.8.29_pre20061116-r1.ebuild [new file with mode: 0644]
app-emulation/e-uae/files/digest-e-uae-0.8.29_pre20061116-r1 [new file with mode: 0644]

index 8724902e19b22157aa2548c0a39d348faeccc3ae..37627c0ced957dbc972133c7eadaa763908d1e7c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-emulation/e-uae
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/e-uae/ChangeLog,v 1.27 2006/11/18 01:19:15 josejx Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/e-uae/ChangeLog,v 1.28 2007/02/11 19:49:22 pva Exp $
+
+*e-uae-0.8.29_pre20061116-r1 (11 Feb 2007)
+
+  11 Feb 2007; <pva@gentoo.org> +e-uae-0.8.29_pre20061116-r1.ebuild:
+  To avoid autodetection caps should be explicetly disabled. Thank Martin Bays
+  <gentoo_bugz AT zugzwang.port5.com> for report, bug #165147.
 
   18 Nov 2006; Joseph Jezak <josejx@gentoo.org> e-uae-0.8.28-r3.ebuild:
   Marked ppc stable for bug #154764.
index d6b7d0dcc596e15ad100e785a5dbfde8032f7128..68f334080418656f8dc643db0023f8f0a4255915 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX e-uae-0.8.28-fix-JIT-cache-on-NX-cpu.patch 660 RMD160 7ec2b0f92dcbf39cdd9cd61dfb7990dce2f66c60 SHA1 40f61eadb99213ff9b6016c00083da98a0478778 SHA256 2563d4625dfa42ce7910cbfe4d7734f72796abed9b1d8a6c23bb74c2d33481aa
 MD5 781bdea3cdebd0d2b11de41508613ab5 files/e-uae-0.8.28-fix-JIT-cache-on-NX-cpu.patch 660
 RMD160 7ec2b0f92dcbf39cdd9cd61dfb7990dce2f66c60 files/e-uae-0.8.28-fix-JIT-cache-on-NX-cpu.patch 660
@@ -35,14 +32,18 @@ EBUILD e-uae-0.8.28-r3.ebuild 3861 RMD160 93d562fcc99c83229e458244929723277d7897
 MD5 3ce26f09dac49030a244d8d473f7a80b e-uae-0.8.28-r3.ebuild 3861
 RMD160 93d562fcc99c83229e458244929723277d7897bf e-uae-0.8.28-r3.ebuild 3861
 SHA256 f6127827b2c94c582c6a04ac0b4fbb35259aa8fed343f15a50b648a316689d66 e-uae-0.8.28-r3.ebuild 3861
+EBUILD e-uae-0.8.29_pre20061116-r1.ebuild 3669 RMD160 0f9416c1439f8b49328eb3139db98ea357b947f4 SHA1 24e5d55511fe0cac194135407a85f05421da5011 SHA256 a83bb41d51da7f1828df095b66fda1a50dab62c732d0d6365d8351a7b3e99b5b
+MD5 f12d3853cc6387720bc5dad7ec8a0530 e-uae-0.8.29_pre20061116-r1.ebuild 3669
+RMD160 0f9416c1439f8b49328eb3139db98ea357b947f4 e-uae-0.8.29_pre20061116-r1.ebuild 3669
+SHA256 a83bb41d51da7f1828df095b66fda1a50dab62c732d0d6365d8351a7b3e99b5b e-uae-0.8.29_pre20061116-r1.ebuild 3669
 EBUILD e-uae-0.8.29_pre20061116.ebuild 3729 RMD160 38f82063e61bf36c70228812ae73dc9327074f95 SHA1 896c066a580a3d5211d1e3af3d7183b560c9cd30 SHA256 af4909a4f852aa60106534d59a15935789dccee8a6ca20e85cb299c2f7b4a26d
 MD5 4e40b0c5ddf26bb80648cf820116eb27 e-uae-0.8.29_pre20061116.ebuild 3729
 RMD160 38f82063e61bf36c70228812ae73dc9327074f95 e-uae-0.8.29_pre20061116.ebuild 3729
 SHA256 af4909a4f852aa60106534d59a15935789dccee8a6ca20e85cb299c2f7b4a26d e-uae-0.8.29_pre20061116.ebuild 3729
-MISC ChangeLog 4612 RMD160 d7e487bd180523354bd503a19533ef9872fc68bf SHA1 91c90ef8c6f27631c81bc344884560cef33c2061 SHA256 6d8841f5575e60ed2487be383def58669480637437972aba74b6b8a4bdb28795
-MD5 9f79ce60ae47b96afcebd393330267ac ChangeLog 4612
-RMD160 d7e487bd180523354bd503a19533ef9872fc68bf ChangeLog 4612
-SHA256 6d8841f5575e60ed2487be383def58669480637437972aba74b6b8a4bdb28795 ChangeLog 4612
+MISC ChangeLog 4865 RMD160 a273e735e3a85295bbb3025f6fb0169d3a994e91 SHA1 d72b98c0ca762ca5e0d9df1033af15edccae3ff6 SHA256 934a0e351ce18129c27c345960d50cec041fedfd14cbc226b1b39b454ea7b091
+MD5 0ab4dca29f7b125da669c76678701100 ChangeLog 4865
+RMD160 a273e735e3a85295bbb3025f6fb0169d3a994e91 ChangeLog 4865
+SHA256 934a0e351ce18129c27c345960d50cec041fedfd14cbc226b1b39b454ea7b091 ChangeLog 4865
 MISC metadata.xml 468 RMD160 3cc57496496e8ed0e18330d5523ceb3d417bf222 SHA1 575564530c1b5d164d1eedcd003b4f43dc435abc SHA256 6bdc3ef9c0c895a8d4f227e52c2bb044d38fc00c17c04199ffd7a1aaa023ec0f
 MD5 107be5d8d010a6b3dac228473128bdf4 metadata.xml 468
 RMD160 3cc57496496e8ed0e18330d5523ceb3d417bf222 metadata.xml 468
@@ -56,10 +57,6 @@ SHA256 82cc02576ec30a11aaafa85d5e55d9118795f73e0db80ed544cded39f1df25ac files/di
 MD5 2f5e68d06b1c28cc71b824240060f058 files/digest-e-uae-0.8.29_pre20061116 283
 RMD160 ba475325f7ed9e5c278e2fa8eb4f42e638add9e5 files/digest-e-uae-0.8.29_pre20061116 283
 SHA256 ec0b653632f7762745f02a7ccb02145a8dab823127f9514a9e80cdafbca252ec files/digest-e-uae-0.8.29_pre20061116 283
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
-
-iD8DBQFFXl+7csIHjyDViGQRAkQnAJ9IvzxxCJfqLlDC+OerTPq8x/bYawCgs0SA
-EXs42KimwkMi9sEQJFbx4Ao=
-=IqSE
------END PGP SIGNATURE-----
+MD5 2f5e68d06b1c28cc71b824240060f058 files/digest-e-uae-0.8.29_pre20061116-r1 283
+RMD160 ba475325f7ed9e5c278e2fa8eb4f42e638add9e5 files/digest-e-uae-0.8.29_pre20061116-r1 283
+SHA256 ec0b653632f7762745f02a7ccb02145a8dab823127f9514a9e80cdafbca252ec files/digest-e-uae-0.8.29_pre20061116-r1 283
diff --git a/app-emulation/e-uae/e-uae-0.8.29_pre20061116-r1.ebuild b/app-emulation/e-uae/e-uae-0.8.29_pre20061116-r1.ebuild
new file mode 100644 (file)
index 0000000..83ea7c3
--- /dev/null
@@ -0,0 +1,121 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/e-uae/e-uae-0.8.29_pre20061116-r1.ebuild,v 1.1 2007/02/11 19:49:22 pva Exp $
+
+inherit eutils flag-o-matic
+
+my_ver=${PV%%_pre*}
+snap_ver=${PV##*_pre}
+
+DESCRIPTION="The Ubiquitous Amiga Emulator with an emulation core largely based on WinUAE"
+HOMEPAGE="http://www.rcdrummond.net/uae/"
+#SRC_URI="http://www.rcdrummond.net/uae/${P}/${P}.tar.bz2"
+SRC_URI="mirror://gentoo/${PN}-${my_ver}-CVS-${snap_ver}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X dga ncurses sdl gtk 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
+                                        dga? ( x11-libs/libXxf86dga
+                                                   x11-libs/libXxf86vm )
+                                  )
+                                  virtual/x11
+                               )
+                       )
+               !X? ( sdl? ( media-libs/libsdl )
+                         !sdl? ( sys-libs/ncurses ) )
+               alsa? ( media-libs/alsa-lib )
+               !alsa? ( sdl-sound? ( media-libs/sdl-sound ) )
+               gtk? ( >=x11-libs/gtk+-2.0 )
+               capslib? ( >=games-emulation/caps-20060612 )
+               sys-libs/zlib
+               virtual/cdrtools"
+
+DEPEND="$RDEPEND
+               X? ( dga? ( x11-proto/xf86vidmodeproto
+                                       x11-proto/xf86dgaproto ) )"
+
+S="${WORKDIR}"/${PN}-${my_ver}-CVS
+
+pkg_setup() {
+       # 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 is switched off. Leaving"
+                       ewarn "sound on oss autodetection."
+                       myconf="--without-alsa --without-sdl-sound"
+                       ebeep
+               else
+                       elog "Choosing sdl-sound as sound target to use."
+                       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
+
+       use gtk && myconf="$myconf --enable-ui --enable-threads"
+       use gtk || 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"
+}
+
+src_compile() {
+       strip-flags
+
+       econf ${myconf} \
+               --with-libscg-includedir=/usr/include/scsilib \
+               || die "./configure failed"
+
+       emake -j1 || die "emake failed"
+}
+
+src_install() {
+       make DESTDIR="${D}" install || die "make install failed"
+
+       # Rename it to e-uae
+       mv "${D}/usr/bin/uae" "${D}/usr/bin/${PN}"
+       mv "${D}/usr/bin/readdisk" "${D}/usr/bin/e-readdisk"
+
+       dodoc docs/* README ChangeLog
+}
diff --git a/app-emulation/e-uae/files/digest-e-uae-0.8.29_pre20061116-r1 b/app-emulation/e-uae/files/digest-e-uae-0.8.29_pre20061116-r1
new file mode 100644 (file)
index 0000000..2786675
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 56199ed1b41d2728c735ec8707284d7f e-uae-0.8.29-CVS-20061116.tar.bz2 1069928
+RMD160 656b81c306724ef008508f9ad08e0fe34482526a e-uae-0.8.29-CVS-20061116.tar.bz2 1069928
+SHA256 b5ea42c672a0dc2ec4e185261631a28b38ab97b04497ae8c63f6e540b56ed31d e-uae-0.8.29-CVS-20061116.tar.bz2 1069928