From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from pat.uio.no (pat.uio.no [129.240.130.16]) by chiba.3jane.net (Postfix) with ESMTP id CF414AC44D for ; Sun, 7 Jul 2002 16:42:11 -0500 (CDT) Received: from nommo.uio.no ([129.240.222.179]) by pat.uio.no with esmtp (Exim 2.12 #7) id 17RJnG-0004wG-00 for gentoo-dev@gentoo.org; Sun, 7 Jul 2002 23:42:10 +0200 Received: from terjekv by nommo.uio.no with local (Exim 2.12 #1) id 17RJnG-0005oJ-00 for gentoo-dev@gentoo.org; Sun, 7 Jul 2002 23:42:10 +0200 To: gentoo-dev@gentoo.org Subject: Re: [gentoo-dev] UAE (amiga emulator) ebuild. References: <200207071917.57700.wigren@home.se> X-URL: http://terje.kvernes.no/ Organization: The friends of mr. Tux From: Terje Kvernes Date: 07 Jul 2002 23:42:10 +0200 In-Reply-To: <200207071917.57700.wigren@home.se> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 2a71ac2d-55f0-4405-8e1a-f0974bae31f8 X-Archives-Hash: 1357be486e3a3b914d313f6ad06305d4 Per Wigren 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