diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-12-22 21:27:03 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-12-22 21:27:03 +0000 |
commit | 3c63e74ee49e671255c6645b9a31d235b37bcf82 (patch) | |
tree | bea841c19cfd36a66a9fea380b7499f97b16a7fc /app-emulation | |
parent | initial import, ebuild taken from gentoo.de overlay, written by myself (diff) | |
download | gentoo-2-3c63e74ee49e671255c6645b9a31d235b37bcf82.tar.gz gentoo-2-3c63e74ee49e671255c6645b9a31d235b37bcf82.tar.bz2 gentoo-2-3c63e74ee49e671255c6645b9a31d235b37bcf82.zip |
0.4 version bump for bug 116212.
(Portage version: 2.1_pre1)
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/pearpc/ChangeLog | 8 | ||||
-rw-r--r-- | app-emulation/pearpc/Manifest | 16 | ||||
-rw-r--r-- | app-emulation/pearpc/files/digest-pearpc-0.4 | 2 | ||||
-rw-r--r-- | app-emulation/pearpc/pearpc-0.4.ebuild | 107 |
4 files changed, 120 insertions, 13 deletions
diff --git a/app-emulation/pearpc/ChangeLog b/app-emulation/pearpc/ChangeLog index e9148a3373e0..404e8d1070cb 100644 --- a/app-emulation/pearpc/ChangeLog +++ b/app-emulation/pearpc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-emulation/pearpc # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.8 2005/02/24 18:17:29 port001 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.9 2005/12/22 21:27:03 vanquirius Exp $ + +*pearpc-0.4 (22 Dec 2005) + + 22 Dec 2005; Marcelo Goes <vanquirius@gentoo.org> +pearpc-0.4.ebuild: + 0.4 version bump for bug 116212. Thanks to Jose daLuz <jdaluz at gmail dot + com>. 24 Feb 2005; <port001@gentoo.org> pearpc-0.3.1.ebuild: append -Wl,-z,now to ldflags, #75660. Cleaned out old versions. diff --git a/app-emulation/pearpc/Manifest b/app-emulation/pearpc/Manifest index 91f19491c43d..883b1906ca66 100644 --- a/app-emulation/pearpc/Manifest +++ b/app-emulation/pearpc/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 af5c878b290f2039b97b2f126bbbf3f2 pearpc-0.3.1.ebuild 2673 -MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 MD5 b4be9ca343de5331679923ee4f215494 ChangeLog 1046 MD5 283c8159917af1fd5adb16a8f6f8a84e files/digest-pearpc-0.3.1 120 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFC0yJSgIKl8Uu19MoRAsfBAJ9aiFH700TqmrWYgW6WMfyMS4UCgQCdGKPj -KzVJI+kLk40C6TwqKZeruP8= -=cVsU ------END PGP SIGNATURE----- +MD5 bf98a3f122c0ff10b3edc55851bbf7e5 files/digest-pearpc-0.4 118 +MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 +MD5 af5c878b290f2039b97b2f126bbbf3f2 pearpc-0.3.1.ebuild 2673 +MD5 8edbad0ebdef6a369f48984857788e97 pearpc-0.4.ebuild 2675 diff --git a/app-emulation/pearpc/files/digest-pearpc-0.4 b/app-emulation/pearpc/files/digest-pearpc-0.4 new file mode 100644 index 000000000000..3a14b2c2a4ec --- /dev/null +++ b/app-emulation/pearpc/files/digest-pearpc-0.4 @@ -0,0 +1,2 @@ +MD5 5420e073cd6bcc351095599bdd08e555 createdisk.py 383 +MD5 cc317b19d61a49987f2265e885fa6301 pearpc-0.4.tar.bz2 687776 diff --git a/app-emulation/pearpc/pearpc-0.4.ebuild b/app-emulation/pearpc/pearpc-0.4.ebuild new file mode 100644 index 000000000000..c9b1910a94d8 --- /dev/null +++ b/app-emulation/pearpc/pearpc-0.4.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/pearpc-0.4.ebuild,v 1.1 2005/12/22 21:27:03 vanquirius Exp $ + +inherit flag-o-matic + +IUSE="debug jit sdl" +#IUSE="debug qt gtk jit sdl" + +DESCRIPTION="PowerPC Architecture Emulator" +HOMEPAGE="http://pearpc.sourceforge.net/" +SRC_URI="mirror://sourceforge/pearpc/${P}.tar.bz2 + http://pearpc.sf.net/createdisk.py" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" + +DEPEND="x86? ( dev-lang/nasm )" + +RDEPEND="virtual/x11 + media-libs/libmng + media-libs/jpeg + media-libs/libpng + sys-libs/zlib + media-libs/freetype + sdl? ( media-libs/libsdl )" +# gtk? ( >=x11-libs/gtk-2.0 ) +# qt? ( >=x11-libs/qt-3.1.1 )" + +DEFAULT_TO_X11=0 + +pkg_setup() { + + append-ldflags -Wl,-z,now + +# if (use qt && use sdl) || (use qt && use gtk) || (use gtk && sdl) || (use gtk && use qt && use sdl); then +# ewarn +# ewarn "More than one frontend USE flags enabled, defaulting to X11 support." +# ewarn +# DEFAULT_TO_X11=1 +# fi +} + +src_compile() { + local myconf + myconf="--enable-release" + + use jit && myconf="${myconf} --enable-cpu=jitc_x86" + + if use debug; then + myconf="${myconf} --enable-debug" + else + myconf="${myconf} --disable-debug" + fi + + if [ $DEFAULT_TO_X11 = 1 ]; then + myconf="${myconf} --enable-ui=x11" + else + if use sdl; then + myconf="${myconf} --enable-ui=sdl" +# elif use qt; then +# myconf="${myconf} --enable-ui=qt" +# elif use gtk; then +# myconf="${myconf} --enable-ui=gtk" + else + myconf="${myconf} --enable-ui=x11" + fi + fi + + econf ${myconf} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + dobin src/ppc + dodoc ChangeLog AUTHORS COPYING README TODO + + dodir /usr/share/${P} + insinto /usr/share/${P} + doins scripts/ifppc_down scripts/ifppc_up scripts/ifppc_up.setuid scripts/ifppc_down.setuid + doins video.x + fperms u+s /usr/share/${P}/ifppc_up.setuid /usr/share/${P}/ifppc_down.setuid + + insinto /usr/share/doc/${P} + sed -i -e "s:video.x:/usr/share/${P}/video.x:g" ppccfg.example + doins ppccfg.example + + dodir /usr/share/${P}/scripts + insinto /usr/share/${P}/scripts + doins "${DISTDIR}"/createdisk.py +} + +pkg_postinst() { + echo + einfo "You will need to update your configuration files to point" + einfo "to the new location of video.x, which is now" + einfo "/usr/share/${P}/video.x" + echo + einfo "To create disk images for PearPC, you can use the Python" + einfo "script located at: /usr/share/${P}/scripts/createdisk.py" + einfo "Usage: createdisk.py <image name> <image size>" + echo + einfo "Also, be sure to check /usr/share/doc/${P}/ppccfg.example" + einfo "for new configuration options." + echo +} |