summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-09-09 01:44:35 +0000
committerMike Frysinger <vapier@gentoo.org>2003-09-09 01:44:35 +0000
commit0b11227e4951cf45dc17204e95c0826d0afa557f (patch)
tree82ff8a05b8995a837127ebaf1ae0cbeac00783ba /media-libs
parentremoved digest-freewnn-1.1.1_alpha19 (diff)
downloadhistorical-0b11227e4951cf45dc17204e95c0826d0afa557f.tar.gz
historical-0b11227e4951cf45dc17204e95c0826d0afa557f.tar.bz2
historical-0b11227e4951cf45dc17204e95c0826d0afa557f.zip
old
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl/files/digest-libsdl-1.2.4.200206011
-rw-r--r--media-libs/libsdl/libsdl-1.2.4.20020601.ebuild116
2 files changed, 0 insertions, 117 deletions
diff --git a/media-libs/libsdl/files/digest-libsdl-1.2.4.20020601 b/media-libs/libsdl/files/digest-libsdl-1.2.4.20020601
deleted file mode 100644
index 156946157c72..000000000000
--- a/media-libs/libsdl/files/digest-libsdl-1.2.4.20020601
+++ /dev/null
@@ -1 +0,0 @@
-MD5 ca849a0f02c81eb3dc9d34f665f72aaf libsdl-1.2.4.20020601.tar.bz2 1399318
diff --git a/media-libs/libsdl/libsdl-1.2.4.20020601.ebuild b/media-libs/libsdl/libsdl-1.2.4.20020601.ebuild
deleted file mode 100644
index 4f8112264735..000000000000
--- a/media-libs/libsdl/libsdl-1.2.4.20020601.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.4.20020601.ebuild,v 1.15 2003/09/06 23:59:48 msterret Exp $
-
-IUSE="arts xv opengl fbcon aalib nas esd X svga ggi alsa directfb"
-
-S=${WORKDIR}/SDL12
-DESCRIPTION="Simple Direct Media Layer"
-SRC_URI="http://www.libsdl.org/release/${P}.tar.bz2"
-HOMEPAGE="http://www.libsdl.org/"
-
-SLOT="0"
-LICENSE="LGPL-2"
-KEYWORDS="x86 ppc sparc"
-
-RDEPEND=">=media-libs/audiofile-0.1.9
- X? ( virtual/x11 )
- esd? ( >=media-sound/esound-0.2.19 )
- ggi? ( >=media-libs/libggi-2.0_beta3 )
- nas? ( media-libs/nas )
- alsa? ( media-libs/alsa-lib )
- arts? ( kde-base/arts )
- svga? ( >=media-libs/svgalib-1.4.2 )
- opengl? ( virtual/opengl )
- directfb? ( >=dev-libs/DirectFB-0.9.11 )"
-
-DEPEND="${RDEPEND}
- x86? ( dev-lang/nasm )"
-
-src_unpack() {
-
- unpack ${A}
- cd ${S}/src/video/directfb
- cp SDL_DirectFB_events.c SDL_DirectFB_events.c.orig
- sed -e "s:DIKI_CTRL:DIKI_CONTROL_L:" \
- -e "s:DIKI_SHIFT:DIKI_SHIFT_L:" \
- -e "s:DIKI_ALT:DIKI_ALT_L:" \
- -e "s:DIKI_ALT_LGR:DIKI_ALT_R:" \
- -e "s:DIKI_CAPSLOCK:DIKI_CAPS_LOCK:" \
- -e "s:DIKI_NUMLOCK:DIKI_NUM_LOCK:" \
- -e "s:DIKI_SCRLOCK:DIKI_SCROLL_LOCK:" \
- SDL_DirectFB_events.c.orig > SDL_DirectFB_events.c
-}
-
-src_compile() {
- local myconf
-
- use X \
- && myconf="${myconf} --enable-video-x11" \
- || myconf="${myconf} --disable-video-x11"
-
- use xv \
- && myconf="${myconf} --enable-video-x11-xv" \
- || myconf="${myconf} --disable-video-x11-xv"
-
- use esd \
- && myconf="${myconf} --enable-esd" \
- || myconf="${myconf} --disable-esd"
-
- use ggi \
- && myconf="${myconf} --enable-video-ggi" \
- || myconf="${myconf} --disable-video-ggi"
-
- use nas \
- && myconf="${myconf} --enable-nas" \
- || myconf="${myconf} --disable-nas"
-
- use alsa \
- && myconf="${myconf} --enable-alsa" \
- || myconf="${myconf} --disable-alsa"
-
- use arts \
- && myconf="${myconf} --enable-arts" \
- || myconf="${myconf} --disable-arts"
-
- use svga \
- && myconf="${myconf} --enable-video-svga" \
- || myconf="${myconf} --disable-video-svga"
-
- use aalib \
- && myconf="${myconf} --enable-video-aalib" \
- || myconf="${myconf} --disable-video-aalib"
-
- use fbcon \
- && myconf="${myconf} --enable-video-fbcon" \
- || myconf="${myconf} --disable-video-fbcon"
-
- use opengl \
- && myconf="${myconf} --enable-video-opengl" \
- || myconf="${myconf} --disable-video-opengl"
-
- use directfb \
- && myconf="${myconf} --enable-video-directfb" \
- || myconf="${myconf} --disable-video-directfb"
-
- ./autogen.sh
-
- ./configure \
- --host=${CHOST} \
- --enable-input-events \
- --prefix=/usr \
- --mandir=/usr/share/man \
- ${myconf} || die
-
- emake || die
-}
-
-src_install() {
- make \
- DESTDIR=${D} \
- install || die
-
- preplib /usr
- dodoc BUGS COPYING CREDITS README* TODO WhatsNew
- dohtml -r ./
-}