diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-13 06:09:54 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2002-05-13 06:09:54 +0000 |
commit | beef7617e60511ebdd4d0df71dc0e23252bdb110 (patch) | |
tree | ba2708a77314ffcd32a34b8970795485894f1bef /media-libs | |
parent | The Giftware license for media-libs/allegro (diff) | |
download | historical-beef7617e60511ebdd4d0df71dc0e23252bdb110.tar.gz historical-beef7617e60511ebdd4d0df71dc0e23252bdb110.tar.bz2 historical-beef7617e60511ebdd4d0df71dc0e23252bdb110.zip |
Fixed dependencies. Fixed tetex sandbox violations. Fixed build flags.
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/allegro/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/allegro/allegro-4.0.1-r2.ebuild | 127 | ||||
-rw-r--r-- | media-libs/allegro/files/digest-allegro-4.0.1-r2 | 1 |
3 files changed, 138 insertions, 1 deletions
diff --git a/media-libs/allegro/ChangeLog b/media-libs/allegro/ChangeLog index b904fff66b32..0859b11e94ca 100644 --- a/media-libs/allegro/ChangeLog +++ b/media-libs/allegro/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-libs/allegro # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.3 2002/04/30 09:09:06 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/ChangeLog,v 1.4 2002/05/13 06:09:54 mkennedy Exp $ + +*allegro-4.0.1 (30 Apr 2002) + + 13 May 2002; Matthew Kennedy <mkennedy@gentoo.org> + allegro-4.0.1-r2.ebuild + files/digest-allegro-4.0.1-r2, ChangeLog : + + Fixed dependencies. Fixed tetex sandbox violations. Fixed build + flags. *allegro-4.0.1 (30 Apr 2002) diff --git a/media-libs/allegro/allegro-4.0.1-r2.ebuild b/media-libs/allegro/allegro-4.0.1-r2.ebuild new file mode 100644 index 000000000000..ad2021e00d7d --- /dev/null +++ b/media-libs/allegro/allegro-4.0.1-r2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Dan Armak <danarmak@gantoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/allegro/allegro-4.0.1-r2.ebuild,v 1.1 2002/05/13 06:09:54 mkennedy Exp $ + +LICENSE="Allegro" + +S=${WORKDIR}/${P} +DESCRIPTION="Allegro is a cross-platform multimedia library" +SRC_URI="http://prdownloads.sourceforge.net/alleg/${P}.tar.gz" +HOMEPAGE="http://alleg.sourceforge.net/" + +RDEPEND="X? ( virtual/x11 ) + alsa? ( media-libs/alsa-lib ) + esd? ( media-sound/esound ) + svga? ( media-libs/svgalib )" + +DEPEND="${RDEPEND} + tetex? ( app-text/tetex )" + +src_compile() { + + use tetex && einfo "TETEX baby!!" + + # Always enable Linux console support and accompanying drivers + confopts="${confopts} --enable-linux --enable-vga" + + # if USE static defined, use static library as default to link with + use static \ + && confopts="${confopts} --enable-staticprog --enable-static" + + # Pentium optimizations + if [ ${CHOST} = "i586-pc-linux-gnu" -o ${CHOST} = "i686-pc-linux-gnu" ] + then + confopts="${confopts} --enable-pentiumopts" + fi + + # Use MMX instructions + use mmx \ + && confopts="${confopts} --enable-mmx" \ + || confopts="${confopts} --enable-mmx=no" + + # Have OSS support + use oss \ + && confopts="${confopts} --enable-ossdigi --enable-ossmidi" \ + || confopts="${confopts} --disable-ossdigi --disable-ossmidi" + + # Have ALSA support + use alsa \ + && confopts="${confopts} --enable-alsadigi --enable-alsamidi" \ + || confopts="${confopts} --disable-alsadigi --disable-alsamidi" + + # Have ESD support + use esd \ + && confopts="${confopts} --enable-esddigi" \ + || confopts="${confopts} --disable-esddigi" + + # Have X11 support + use X \ + && confopts="${confopts} \ + --with-x \ + --enable-xwin-shm \ + --enable-xwin-vidmode \ + --enable-xwin-dga \ + --enable-xwin-dga2" \ + || confopts="${confopts} \ + --without-x \ + --disable-xwin-shm \ + --disable-xwin-vidmode \ + --disable-xwin-dga \ + --disable-xwin-dga2" + + # Have SVGALib support + use svga \ + && confopts="${confopts} --enable-svgalib" \ + || confopts="${confopts} --disable-svgalib" + + # Have fbcon support + use fbcon \ + && confopts="${confopts} --enable-fbcon" \ + || confopts="${confopts} --disable-fbcon" + + # -------------- + + econf ${confopts} || die + + # emake doesn't work + make CFLAGS="${CFLAGS}" || die + + if use tetex; + then + addwrite "/var/lib/texmf" + addwrite "/usr/share/texmf" + addwrite "/var/cache/fonts" + make docs-dvi docs-ps || die + fi + +} + +src_install () { + + make \ + prefix=${D}/usr \ + infodir=${D}/usr/share/info \ + mandir=${D}/usr/share/man \ + install install-gzipped-man install-gzipped-info || die + + # Different format versions of the Allegro documentation + + dodoc AUTHORS CHANGES THANKS readme.txt todo.txt + + if use tetex; + then + dodoc docs/allegro.dvi docs/allegro.ps + fi + + dohtml docs/html/* + + docinto txt + dodoc docs/txt/*.txt + + docinto rtf + dodoc docs/rtf/*.rtf + + docinto build + dodoc docs/build/*.txt +} diff --git a/media-libs/allegro/files/digest-allegro-4.0.1-r2 b/media-libs/allegro/files/digest-allegro-4.0.1-r2 new file mode 100644 index 000000000000..d431fa1df4e3 --- /dev/null +++ b/media-libs/allegro/files/digest-allegro-4.0.1-r2 @@ -0,0 +1 @@ +MD5 224296524ffafc8369f3b29f5b73cdcb allegro-4.0.1.tar.gz 2391111 |