diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-07-12 00:27:34 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-07-12 00:27:34 +0000 |
commit | 6604f7f0def8d8c2d7bfb018d373342440f22829 (patch) | |
tree | adeccc318b9da32f39891791b1f182f7f6e86eee /app-emulation/pearpc | |
parent | Update to the new GTK2 version. This has been a long time coming. Thanks a ... (diff) | |
download | historical-6604f7f0def8d8c2d7bfb018d373342440f22829.tar.gz historical-6604f7f0def8d8c2d7bfb018d373342440f22829.tar.bz2 historical-6604f7f0def8d8c2d7bfb018d373342440f22829.zip |
ebuild updates thanks to cedk
Package-Manager: portage-2.1.1_pre2-r6
Diffstat (limited to 'app-emulation/pearpc')
-rw-r--r-- | app-emulation/pearpc/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/pearpc/Manifest | 35 | ||||
-rw-r--r-- | app-emulation/pearpc/files/pearpc-0.4-configure.patch | 50 | ||||
-rw-r--r-- | app-emulation/pearpc/pearpc-0.4.ebuild | 104 |
4 files changed, 119 insertions, 76 deletions
diff --git a/app-emulation/pearpc/ChangeLog b/app-emulation/pearpc/ChangeLog index ac59c4c59caf..6459d6ff96aa 100644 --- a/app-emulation/pearpc/ChangeLog +++ b/app-emulation/pearpc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/pearpc # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.11 2006/03/18 23:53:56 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/ChangeLog,v 1.12 2006/07/12 00:27:34 genstef Exp $ + + 12 Jul 2006; Stefan Schweizer <genstef@gentoo.org> + +files/pearpc-0.4-configure.patch, pearpc-0.4.ebuild: + ebuild updates thanks to cedk 18 Mar 2006; Joshua Baergen <joshuabaergen@gentoo.org> pearpc-0.3.1.ebuild, pearpc-0.4.ebuild: diff --git a/app-emulation/pearpc/Manifest b/app-emulation/pearpc/Manifest index 99dbeb6fb43b..5149fda2c381 100644 --- a/app-emulation/pearpc/Manifest +++ b/app-emulation/pearpc/Manifest @@ -1,18 +1,29 @@ -MD5 018895297b54f12081d5e3b6a8777ed9 ChangeLog 1493 -RMD160 efb2038f860afbefe387c4920d6448a36692d738 ChangeLog 1493 -SHA256 71abda4f2522da833d71ce0b21dd8bd43387dcdfa7387f60ae66d63e34cc68e0 ChangeLog 1493 +AUX pearpc-0.4-configure.patch 1156 RMD160 cd24c87547ae8e1c5d607e1fd9519c521959ff55 SHA1 f1d1412dfbc169440ac1d7b20a272295eb910c5b SHA256 e1c70c701305ccbb556f63709e4a8b73e73717451560a40e31c5f9c4b8c07416 +MD5 9f06d46acd644316b0236b3800d7c584 files/pearpc-0.4-configure.patch 1156 +RMD160 cd24c87547ae8e1c5d607e1fd9519c521959ff55 files/pearpc-0.4-configure.patch 1156 +SHA256 e1c70c701305ccbb556f63709e4a8b73e73717451560a40e31c5f9c4b8c07416 files/pearpc-0.4-configure.patch 1156 +DIST createdisk.py 383 +DIST pearpc-0.3.1.tar.bz2 641965 +DIST pearpc-0.4.tar.bz2 687776 +EBUILD pearpc-0.3.1.ebuild 2701 RMD160 b74fa6fd47826b8803584a77cfb45d5651c916b3 SHA1 d678a9a37448c4629381d0daca7ffd46060d194f SHA256 179f4238dd39a89ed5c9065b43248fa1dc447b4aa941ffd25c9e19e0f420cf12 +MD5 f6f5c2ecec081828fadc3f0242ad7ad1 pearpc-0.3.1.ebuild 2701 +RMD160 b74fa6fd47826b8803584a77cfb45d5651c916b3 pearpc-0.3.1.ebuild 2701 +SHA256 179f4238dd39a89ed5c9065b43248fa1dc447b4aa941ffd25c9e19e0f420cf12 pearpc-0.3.1.ebuild 2701 +EBUILD pearpc-0.4.ebuild 2216 RMD160 36ace7533abf41aa1772aadf219212c9630a3fd8 SHA1 5c4f41d8840ce7198bf677977ec0908b46862f69 SHA256 3bbb2e7cc455632fe4a486697a93f6e2250881e4f0fb16c01dfeb5c63bb8f824 +MD5 7fdc63bec57dc3d535838c27ec6656f2 pearpc-0.4.ebuild 2216 +RMD160 36ace7533abf41aa1772aadf219212c9630a3fd8 pearpc-0.4.ebuild 2216 +SHA256 3bbb2e7cc455632fe4a486697a93f6e2250881e4f0fb16c01dfeb5c63bb8f824 pearpc-0.4.ebuild 2216 +MISC ChangeLog 1629 RMD160 d6388ddbe779011c08e30d0f152463cb79b447d1 SHA1 197a81ab934b959025477ba5317ac678de2e7fad SHA256 cd67af8e27fbd4679831862e3238cfe4143ead9e751dab7cb22c9561814e3824 +MD5 296ed6ffc4f8b886a4109f1d01791254 ChangeLog 1629 +RMD160 d6388ddbe779011c08e30d0f152463cb79b447d1 ChangeLog 1629 +SHA256 cd67af8e27fbd4679831862e3238cfe4143ead9e751dab7cb22c9561814e3824 ChangeLog 1629 +MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e +MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 +RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 +SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 MD5 283c8159917af1fd5adb16a8f6f8a84e files/digest-pearpc-0.3.1 120 RMD160 dd6a172cd28dd368efd2800667194054c4de5cb8 files/digest-pearpc-0.3.1 120 SHA256 8d354aac2fdb70e119075735f8d38c3d2110dbf60e397fdaccc84b371a831ab6 files/digest-pearpc-0.3.1 120 MD5 bf98a3f122c0ff10b3edc55851bbf7e5 files/digest-pearpc-0.4 118 RMD160 0fb603ae0c15067f5c431689e268df42a0755900 files/digest-pearpc-0.4 118 SHA256 9bcb22014de10a70e4b476252cabf5d703726d6ae7fb9166ce7692210d010b8f files/digest-pearpc-0.4 118 -MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 -SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 -MD5 f6f5c2ecec081828fadc3f0242ad7ad1 pearpc-0.3.1.ebuild 2701 -RMD160 b74fa6fd47826b8803584a77cfb45d5651c916b3 pearpc-0.3.1.ebuild 2701 -SHA256 179f4238dd39a89ed5c9065b43248fa1dc447b4aa941ffd25c9e19e0f420cf12 pearpc-0.3.1.ebuild 2701 -MD5 c6c48d7eedb5cf99823f599ff89a2d9b pearpc-0.4.ebuild 2707 -RMD160 f9a173eaa92ea6022331865ff35cc02722d61e35 pearpc-0.4.ebuild 2707 -SHA256 3daa4f8afc1399e7d44a32d227af41445c5ae33655b732ca26c191d75d42562a pearpc-0.4.ebuild 2707 diff --git a/app-emulation/pearpc/files/pearpc-0.4-configure.patch b/app-emulation/pearpc/files/pearpc-0.4-configure.patch new file mode 100644 index 000000000000..2ca4b4ea5d5e --- /dev/null +++ b/app-emulation/pearpc/files/pearpc-0.4-configure.patch @@ -0,0 +1,50 @@ +--- pearpc-0.4~/configure 2006-07-11 13:34:45.000000000 +0200 ++++ pearpc-0.4/configure 2006-07-11 13:44:02.000000000 +0200 +@@ -1492,11 +1492,11 @@ + PPC_LDFLAGS="$LDFLAGS" + + if test "x$enable_release" = "xyes"; then +- PPC_CFLAGS="$CFLAGS $PPC_CFLAGS -O2" +- PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS -O2" ++ PPC_CFLAGS="$CFLAGS $PPC_CFLAGS" ++ PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS" + else +- PPC_CFLAGS="$PPC_CFLAGS -O0" +- PPC_CXXFLAGS="$PPC_CXXFLAGS -O0" ++ PPC_CFLAGS="$CFLAGS $PPC_CFLAGS" ++ PPC_CXXFLAGS="$CXXFLAGS $PPC_CXXFLAGS" + fi + + if test "x$enable_fpo" = "xyes"; then +@@ -2903,13 +2903,13 @@ + CFLAGS=$ac_save_CFLAGS + elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then +- CFLAGS="-g -O2" ++ CFLAGS="-g" + else + CFLAGS="-g" + fi + else + if test "$GCC" = yes; then +- CFLAGS="-O2" ++ CFLAGS="" + else + CFLAGS= + fi +@@ -3584,13 +3584,13 @@ + CXXFLAGS=$ac_save_CXXFLAGS + elif test $ac_cv_prog_cxx_g = yes; then + if test "$GXX" = yes; then +- CXXFLAGS="-g -O2" ++ CXXFLAGS="-g" + else + CXXFLAGS="-g" + fi + else + if test "$GXX" = yes; then +- CXXFLAGS="-O2" ++ CXXFLAGS="" + else + CXXFLAGS= + fi diff --git a/app-emulation/pearpc/pearpc-0.4.ebuild b/app-emulation/pearpc/pearpc-0.4.ebuild index 9e6fb3874efe..424393807206 100644 --- a/app-emulation/pearpc/pearpc-0.4.ebuild +++ b/app-emulation/pearpc/pearpc-0.4.ebuild @@ -1,11 +1,8 @@ # Copyright 1999-2006 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.3 2006/03/18 23:53:56 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/pearpc/pearpc-0.4.ebuild,v 1.4 2006/07/12 00:27:34 genstef Exp $ -inherit flag-o-matic - -IUSE="debug jit sdl" -#IUSE="debug qt gtk jit sdl" +inherit eutils flag-o-matic linux-info DESCRIPTION="PowerPC Architecture Emulator" HOMEPAGE="http://pearpc.sourceforge.net/" @@ -14,94 +11,75 @@ SRC_URI="mirror://sourceforge/pearpc/${P}.tar.bz2 LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" - -DEPEND="x86? ( dev-lang/nasm ) - || ( x11-libs/libXt virtual/x11 )" - -RDEPEND="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 +KEYWORDS="~x86" +IUSE="debug jit X sdl" + +DEPEND="virtual/libc + sys-devel/flex + sys-devel/bison + x86? ( dev-lang/nasm ) + jit? ( dev-lang/nasm ) + X? ( || ( x11-libs/libX11 virtual/x11 ) ) + sdl? ( >=media-libs/libsdl-1.2.0 )" +RDEPEND="${DEPEND} + sys-apps/net-tools + net-firewall/iptables + net-misc/bridge-utils" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${P}-configure.patch" +} pkg_setup() { - - append-ldflags $(bindnow-flags) - -# 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 + linux_chkconfig_present TUN && die "You must have TUN/TAP enabled in your kernel." } 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 + if use sdl; then + myconf="${myconf} --enable-ui=sdl" + elif use X; 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 + die "You must set at least one of this flags X, sdl" fi - econf ${myconf} || die "econf failed" + append-ldflags $(bindnow-flags) + + econf \ + $(use_enable debug) \ + ${myconf} \ + || die "econf failed" emake || die "emake failed" + sed -i -e "s:video.x:/usr/share/${P}/video.x:g" ppccfg.example } src_install() { dobin src/ppc - dodoc ChangeLog AUTHORS COPYING README TODO + dodoc ChangeLog AUTHORS README TODO ppccfg.example - 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 + doins scripts/ifppc_{down,up}{,.setuid} video.x "${FILESDIR}"/settings + fperms u+s,a+x /usr/share/${P}/ifppc_{up,down}.setuid - 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 "" 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 "" + einfo "Also, be sure to check /usr/share/doc/${P}/ppccfg.example.gz" einfo "for new configuration options." - echo } |