public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] UAE (amiga emulator) ebuild.
@ 2002-06-29 16:09 Terje Kvernes
  2002-07-01 17:07 ` Per Wigren
       [not found] ` <200207011906.15997.wigren@home.se>
  0 siblings, 2 replies; 7+ messages in thread
From: Terje Kvernes @ 2002-06-29 16:09 UTC (permalink / raw
  To: gentoo-dev

  since UAE requires ROMs to work, which aren't free, how do people
  feel about an ebuild for UAE?  I'd personally like one, because when
  you have the ROMs, emerge is the way to go, isn't it?  ;-)

  if there are no protests I'll see about getting an ebuild done this
  weekend.

-- 
Terje - who is still annoyed with the ggz-kde-stuff.  *sigh*


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
  2002-06-29 16:09 [gentoo-dev] UAE (amiga emulator) ebuild Terje Kvernes
@ 2002-07-01 17:07 ` Per Wigren
       [not found] ` <200207011906.15997.wigren@home.se>
  1 sibling, 0 replies; 7+ messages in thread
From: Per Wigren @ 2002-07-01 17:07 UTC (permalink / raw
  To: gentoo-dev

Saturday 29 June 2002 18.09 skrev Terje Kvernes:
>   since UAE requires ROMs to work, which aren't free, how do people
>   feel about an ebuild for UAE?  I'd personally like one, because when
>   you have the ROMs, emerge is the way to go, isn't it?  ;-)
>
>   if there are no protests I'll see about getting an ebuild done this
>   weekend.

UAE doesn't require ROMs for games that doesn't use the libs like 
intuition.library etc.. Many older games just bypass the whole kickstart, 
except a few functions to disable multitasking etc, and they work fine with 
UAE's builtin minimal kickstart-emulation.

Remember to --enable-penguins! :))

// Wigren



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
       [not found] ` <200207011906.15997.wigren@home.se>
@ 2002-07-01 22:44   ` Terje Kvernes
  2002-07-07  0:42     ` Terje Kvernes
  0 siblings, 1 reply; 7+ messages in thread
From: Terje Kvernes @ 2002-07-01 22:44 UTC (permalink / raw
  To: gentoo-dev

Per Wigren <wigren@home.se> writes:

> Saturday 29 June 2002 18.09 skrev Terje Kvernes:
>
> > since UAE requires ROMs to work, which aren't free, how do people
> > feel about an ebuild for UAE?  I'd personally like one, because
> > when you have the ROMs, emerge is the way to go, isn't it?  ;-)
> >
> > if there are no protests I'll see about getting an ebuild done
> > this weekend.
> 
> UAE doesn't require ROMs for games that doesn't use the libs like 
> intuition.library etc.. Many older games just bypass the whole kickstart, 
> except a few functions to disable multitasking etc, and they work fine with 
> UAE's builtin minimal kickstart-emulation.

  hm.  okay.  I'll submit my ebuild then.
 
> Remember to --enable-penguins! :))

  now that I haven't looked at.  I'll have to add that.  ;-)

-- 
Terje - who repiles to gentoo-dev.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
  2002-07-01 22:44   ` Terje Kvernes
@ 2002-07-07  0:42     ` Terje Kvernes
       [not found]       ` <200207071917.57700.wigren@home.se>
  0 siblings, 1 reply; 7+ messages in thread
From: Terje Kvernes @ 2002-07-07  0:42 UTC (permalink / raw
  To: gentoo-dev

  I'd be very happy if a few people would look at this before I submit
  it and see if there are any obvious errors.  it would be nice if a
  few people tested this before I submitted it.  ;-)

x200 root # cat /usr/portage/app-emulation/uae/uae-0.8.21.ebuild
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp

DESCRIPTION="An amiga emulator"

HOMEPAGE="http://www.freiburg.linux.de/~uae/"
LICENSE="GPL"

if [ `use X` ];
        then
              DEPEND="virtual/x11
                      gtk? x11-libs/gtk+
                      media-libs/libsdl"
    else
            if [ `use svgalib` ];
              then
                    DEPEND="sys-libs/ncurses
                                        media-libs/svgalib"

                  else
             DEPEND="sys-libs/ncurses";
        fi
fi

SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz"

S=${WORKDIR}/${P}

src_compile() {

        myopt="";

        if [ `use X` ];
           then
                  if [ `use dga` ];
                        then myopt="--enable-dga";
                  fi
                  myopt="--with-x $myopt --with-sdl --with-sdl-sound --with-sdl-gfx";
                else
                  if [ `use svgalib` ];
                    then
                                myopt="--with-svgalib --without-sdl --without-x";
                    else
                                myopt="--with-asciiart --without-sdl --without-svgalib --without-x";
                  fi
        fi

        ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                $myopt || die "./configure failed"

        emake || die
}

src_install () {
        dobin uae readdisk
        dodoc docs/*
        dodoc docs/unix/*
}


-- 
Terje


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
       [not found]       ` <200207071917.57700.wigren@home.se>
@ 2002-07-07 21:42         ` Terje Kvernes
  2002-07-07 21:52           ` Per Wigren
  0 siblings, 1 reply; 7+ messages in thread
From: Terje Kvernes @ 2002-07-07 21:42 UTC (permalink / raw
  To: gentoo-dev

Per Wigren <wigren@home.se> writes:

> I say that you go always go for --enable-{dga,vidmode} since it is 
> runtime-selectable anyway..

  hm.  okay.
 
> > myopt="--with-x $myopt --with-sdl --with-sdl-sound
> > --with-sdl-gfx"; else
> 
> Dont forget:
> use gtk && myopt="$myopt --enable-ui"
> use gtk || myopt="$myopt --disable-ui"

  ok, added.
 
> > ./configure \
> >       --host=${CHOST} \
> >       --prefix=/usr \
> 
> please add
>   --enable-threads --enable-scsi-device --enable-file-sound
> These are nice features that doesn't add dependancies...
 
  done!  thanks!

> > src_install () {
> >        dobin uae readdisk
> >        dodoc docs/*
> >        dodoc docs/unix/*
> # The last line will overwrite docs/README.. It will be included anyway since 
> dodoc is recursive if I don't remeber wrong... ?

  it didn't seem to be recursive around here.  :/

  I'll leave docs/unix out for now.

> also add:
> into /usr/share/uae/amiga-tools
> doins amiga/{*hack,trans*,uae*}
> # These are tools for AmigaOS that are *very* useful in UAE!

  check!
 
> Anyway, I'm looking forward to this one! Thanks!

  you're welcome.  how does this look to you?

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp

DESCRIPTION="An amiga emulator"

HOMEPAGE="http://www.freiburg.linux.de/~uae/"
LICENSE="GPL"

if [ `use X` ];
   then
      DEPEND="virtual/x11
              gtk? x11-libs/gtk+";
   else
      if [ `use svgalib` ];
	 then
	    DEPEND="sys-libs/ncurses
		    media-libs/svgalib"

   	 else
             DEPEND="sys-libs/ncurses";
      fi
fi

SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz"

S=${WORKDIR}/${P}

src_compile() {

	myopt="";

	if [ `use X` ];
	   then
	      myopt="--with-x --enable-dga --enable-vidmode\
                     --with-sdl --with-sdl-sound --with-sdl-gfx";

               use gtk && myopt="$myopt --enable-ui";
               use gtk || myopt="$myopt --disable-ui";
	   else
	       if [ `use svgalib` ];
		  then
		     myopt="--with-svgalib";
		  else
		     myopt="--with-asciiart";
		  fi
	fi

	./configure \
		--host=${CHOST} \
		--prefix=/usr \
	        --enable-threads \
                --enable-scsi-device \
                --enable-file-sound \
		$myopt || die "./configure failed"
	
	emake || die
}

src_install () {
	dobin uae readdisk
	dodoc docs/*

        insinto /usr/share/uae/amiga-tools
        doins amiga/{*hack,trans*,uae*}

}

-- 
Terje


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
  2002-07-07 21:42         ` Terje Kvernes
@ 2002-07-07 21:52           ` Per Wigren
  2002-07-07 22:15             ` Terje Kvernes
  0 siblings, 1 reply; 7+ messages in thread
From: Per Wigren @ 2002-07-07 21:52 UTC (permalink / raw
  To: Terje Kvernes; +Cc: gentoo-dev

Sunday 07 July 2002 23.42 skrev Terje Kvernes:
>   I'll leave docs/unix out for now.

No, unix/README is the primary doc for the *nix-version of UAE..
Better to add
mv docs/unix/README docs/README.unix
in src_compile then...

Other than that, I think it's great now. Please submit it!

// Wigren



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] UAE (amiga emulator) ebuild.
  2002-07-07 21:52           ` Per Wigren
@ 2002-07-07 22:15             ` Terje Kvernes
  0 siblings, 0 replies; 7+ messages in thread
From: Terje Kvernes @ 2002-07-07 22:15 UTC (permalink / raw
  To: Per Wigren; +Cc: gentoo-dev

Per Wigren <wigren@home.se> writes:

> Sunday 07 July 2002 23.42 skrev Terje Kvernes:
>
> > I'll leave docs/unix out for now.
> 
> No, unix/README is the primary doc for the *nix-version of UAE..
> Better to add
> mv docs/unix/README docs/README.unix
> in src_compile then...

  ah.  smart.  ;-)
 
> Other than that, I think it's great now. Please submit it!

  okay.  doing it now.
 
-- 
Terje


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-07-07 22:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-29 16:09 [gentoo-dev] UAE (amiga emulator) ebuild Terje Kvernes
2002-07-01 17:07 ` Per Wigren
     [not found] ` <200207011906.15997.wigren@home.se>
2002-07-01 22:44   ` Terje Kvernes
2002-07-07  0:42     ` Terje Kvernes
     [not found]       ` <200207071917.57700.wigren@home.se>
2002-07-07 21:42         ` Terje Kvernes
2002-07-07 21:52           ` Per Wigren
2002-07-07 22:15             ` Terje Kvernes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox