summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Bormolini <lordjoe@gentoo.org>2001-08-05 23:38:28 +0000
committerJoe Bormolini <lordjoe@gentoo.org>2001-08-05 23:38:28 +0000
commit39956cfdda18de12ea4fbdd5ab8e79fd1d500bbe (patch)
tree29dc7d781821e440c7731d74ead823e58b37b2a0
parentnew gentoo-ebuild link (diff)
downloadgentoo-2-39956cfdda18de12ea4fbdd5ab8e79fd1d500bbe.tar.gz
gentoo-2-39956cfdda18de12ea4fbdd5ab8e79fd1d500bbe.tar.bz2
gentoo-2-39956cfdda18de12ea4fbdd5ab8e79fd1d500bbe.zip
SDL Updates
-rw-r--r--media-libs/libsdl/files/digest-libsdl-1.2.21
-rw-r--r--media-libs/libsdl/libsdl-1.2.0.ebuild10
-rw-r--r--media-libs/libsdl/libsdl-1.2.1.ebuild10
-rw-r--r--media-libs/libsdl/libsdl-1.2.2.ebuild119
-rw-r--r--media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild9
-rw-r--r--media-libs/sdl-net/files/digest-sdl-net-1.2.21
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.0.ebuild9
-rw-r--r--media-libs/sdl-net/sdl-net-1.2.2.ebuild25
8 files changed, 150 insertions, 34 deletions
diff --git a/media-libs/libsdl/files/digest-libsdl-1.2.2 b/media-libs/libsdl/files/digest-libsdl-1.2.2
new file mode 100644
index 000000000000..a416395cd6ab
--- /dev/null
+++ b/media-libs/libsdl/files/digest-libsdl-1.2.2
@@ -0,0 +1 @@
+MD5 d27e0cd39388e2ff927823577f6c935f SDL-1.2.2.tar.gz
diff --git a/media-libs/libsdl/libsdl-1.2.0.ebuild b/media-libs/libsdl/libsdl-1.2.0.ebuild
index 516d4f34af11..0c53ddba07c6 100644
--- a/media-libs/libsdl/libsdl-1.2.0.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.0.ebuild,v 1.3 2001/06/10 15:23:47 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.0.ebuild,v 1.4 2001/08/05 23:38:28 lordjoe Exp $
A=SDL-${PV}.tar.gz
S=${WORKDIR}/SDL-${PV}
@@ -117,11 +117,3 @@ src_install() {
dodoc docs/*.html
}
-pkg_postinst() {
-
- ldconfig -r ${ROOT}
-
-}
-
-
-
diff --git a/media-libs/libsdl/libsdl-1.2.1.ebuild b/media-libs/libsdl/libsdl-1.2.1.ebuild
index da119c24139d..d65ea8c6150e 100644
--- a/media-libs/libsdl/libsdl-1.2.1.ebuild
+++ b/media-libs/libsdl/libsdl-1.2.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.1.ebuild,v 1.1 2001/07/01 20:44:45 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.1.ebuild,v 1.2 2001/08/05 23:38:28 lordjoe Exp $
A=SDL-${PV}.tar.gz
S=${WORKDIR}/SDL-${PV}
@@ -117,11 +117,3 @@ src_install() {
dodoc docs/*.html
}
-pkg_postinst() {
-
- ldconfig -r ${ROOT}
-
-}
-
-
-
diff --git a/media-libs/libsdl/libsdl-1.2.2.ebuild b/media-libs/libsdl/libsdl-1.2.2.ebuild
new file mode 100644
index 000000000000..1ec0e20442e1
--- /dev/null
+++ b/media-libs/libsdl/libsdl-1.2.2.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libsdl/libsdl-1.2.2.ebuild,v 1.1 2001/08/05 23:38:28 lordjoe Exp $
+
+A=SDL-${PV}.tar.gz
+S=${WORKDIR}/SDL-${PV}
+DESCRIPTION="Simple Direct Media Layer"
+SRC_URI="http://www.libsdl.org/release/${A}"
+HOMEPAGE="http://www.libsdl.org/"
+
+DEPEND="virtual/glibc
+ >=dev-lang/nasm-0.98
+ >=media-libs/audiofile-0.1.9
+ opengl? ( virtual/opengl )
+ svga? ( >=media-libs/svgalib-1.4.2 )
+ esd? ( >=media-sound/esound-0.2.19 )
+ X? ( virtual/x11 )
+ arts? ( >=kde-base/kdelibs-2.0.1 )
+ nas? ( media-sound/nas )
+ ggi? ( >=media-libs/libggi-2.0_beta3 )
+ alsa? ( media-libs/alsa-lib )"
+
+RDEPEND="virtual/glibc
+ >=media-libs/audiofile-0.1.9
+ opengl? ( virtual/opengl )
+ svga? ( >=media-libs/svgalib-1.4.2 )
+ esd? ( >=media-sound/esound-0.2.19 )
+ X? ( virtual/x11 )
+ arts? ( >=kde-base/kdelibs-2.0.1 )
+ nas? ( media-sound/nas )
+ ggi? ( >=media-libs/libggi-2.0_beta3 )
+ alsa? ( media-libs/alsa-lib )"
+
+src_compile() {
+
+ local myconf
+
+ if [ -z "`use esd`" ]
+ then
+ myconf="--disable-esd"
+ else
+ myconf="--enable-esd"
+ fi
+
+ if [ -z "`use arts`" ]
+ then
+ myconf="${myconf} --disable-arts"
+ else
+ myconf="${myconf} --enable-arts"
+ fi
+
+ if [ -z "`use nas`" ]
+ then
+ myconf="${myconf} --disable-nas"
+ else
+ myconf="${myconf} --enable-nas"
+ fi
+
+ if [ -z "`use X`" ]
+ then
+ myconf="${myconf} --disable-video-x11"
+ else
+ myconf="${myconf} --enable-video-x11"
+ fi
+ if [ "`use svga`" ]
+ then
+ myconf="${myconf} --enable-video-svga"
+ else
+ myconf="${myconf} --disable-video-svga"
+ fi
+ if [ -z "`use fbcon`" ]
+ then
+ myconf="${myconf} --disable-video-fbcon"
+ else
+ myconf="${myconf} --enable-video-fbcon"
+ fi
+ if [ "`use aalib`" ]
+ then
+ myconf="${myconf} --enable-video-aalib"
+ else
+ myconf="${myconf} --disable-video-aalib"
+ fi
+ if [ "`use ggi`" ]
+ then
+ myconf="${myconf} --enable-video-ggi"
+ else
+ myconf="${myconf} --disable-video-ggi"
+ fi
+ if [ -z "`use opengl`" ]
+ then
+ myconf="${myconf} --disable-video-opengl"
+ else
+ myconf="${myconf} --enable-video-opengl"
+ fi
+ if [ -n "`use alsa`" ]
+ then
+ myconf="${myconf} --enable-alsa"
+ else
+ myconf="${myconf} --disable-alsa"
+ fi
+
+ try ./configure --host=${CHOST} --enable-input-events --prefix=/usr --mandir=/usr/share/man ${myconf}
+
+ try make
+
+}
+
+src_install() {
+ cd ${S}
+ try make DESTDIR=${D} install
+ preplib /usr
+ dodoc BUGS COPYING CREDITS README* TODO WhatsNew
+ docinto html
+ dodoc *.html
+ docinto html/docs
+ dodoc docs/*.html
+
+}
diff --git a/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild b/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild
index fd3339d84595..39a7c76552fe 100644
--- a/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild
+++ b/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild,v 1.1 2001/05/22 01:27:07 pete Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.0.ebuild,v 1.2 2001/08/05 23:38:28 lordjoe Exp $
A=SDL_mixer-${PV}.tar.gz
S=${WORKDIR}/SDL_mixer-${PV}
@@ -26,10 +26,3 @@ src_install() {
preplib /usr
dodoc CHANGES COPYING README
}
-
-pkg_postinst() {
- ldconfig -r ${ROOT}
-}
-
-
-
diff --git a/media-libs/sdl-net/files/digest-sdl-net-1.2.2 b/media-libs/sdl-net/files/digest-sdl-net-1.2.2
new file mode 100644
index 000000000000..2f2cac064f34
--- /dev/null
+++ b/media-libs/sdl-net/files/digest-sdl-net-1.2.2
@@ -0,0 +1 @@
+MD5 02af20a5c01c4f725cb735be1b84e657 SDL_net-1.2.2.tar.gz
diff --git a/media-libs/sdl-net/sdl-net-1.2.0.ebuild b/media-libs/sdl-net/sdl-net-1.2.0.ebuild
index 29c9a75efe1d..3fc2137a1043 100644
--- a/media-libs/sdl-net/sdl-net-1.2.0.ebuild
+++ b/media-libs/sdl-net/sdl-net-1.2.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.0.ebuild,v 1.1 2001/05/22 01:27:07 pete Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.0.ebuild,v 1.2 2001/08/05 23:38:28 lordjoe Exp $
A=SDL_net-${PV}.tar.gz
S=${WORKDIR}/SDL_net-${PV}
@@ -23,10 +23,3 @@ src_install() {
preplib /usr
dodoc CHANGES COPYING README
}
-
-pkg_postinst() {
- ldconfig -r ${ROOT}
-}
-
-
-
diff --git a/media-libs/sdl-net/sdl-net-1.2.2.ebuild b/media-libs/sdl-net/sdl-net-1.2.2.ebuild
new file mode 100644
index 000000000000..5577b41817e9
--- /dev/null
+++ b/media-libs/sdl-net/sdl-net-1.2.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-net/sdl-net-1.2.2.ebuild,v 1.1 2001/08/05 23:38:28 lordjoe Exp $
+
+A=SDL_net-${PV}.tar.gz
+S=${WORKDIR}/SDL_net-${PV}
+DESCRIPTION="Simple Direct Media Layer Network Support Library"
+SRC_URI="http://www.libsdl.org/projects/SDL_net/release/${A}"
+HOMEPAGE="http://www.libsdl.org/projects/SDL_net/index.html"
+
+DEPEND="virtual/glibc
+ >=media-libs/libsdl-1.2.0"
+
+src_compile() {
+ try ./configure --host=${CHOST} --prefix=/usr --mandir=/usr/share/man
+ try make
+}
+
+src_install() {
+ cd ${S}
+ try make DESTDIR=${D} install
+ preplib /usr
+ dodoc CHANGES COPYING README
+}