summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2004-04-03 05:38:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2004-04-03 05:38:42 +0000
commit26ce04b42da6d32015cd9078d35305ce8ead4ec8 (patch)
tree2e15a1b2c52beced9c1eaecdcb0d6c1582b71e22 /media-libs
parent0.7a to x86 (diff)
downloadhistorical-26ce04b42da6d32015cd9078d35305ce8ead4ec8.tar.gz
historical-26ce04b42da6d32015cd9078d35305ce8ead4ec8.tar.bz2
historical-26ce04b42da6d32015cd9078d35305ce8ead4ec8.zip
install the showimage binary, thanks to: Gerry <trick@icculus.org> in bug #46655. Also, use USE flag to determine what support to build
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-image/ChangeLog8
-rw-r--r--media-libs/sdl-image/Manifest6
-rw-r--r--media-libs/sdl-image/files/digest-sdl-image-1.2.3-r11
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.3-r1.ebuild48
4 files changed, 60 insertions, 3 deletions
diff --git a/media-libs/sdl-image/ChangeLog b/media-libs/sdl-image/ChangeLog
index c359fb0ad10d..20c23c93ec56 100644
--- a/media-libs/sdl-image/ChangeLog
+++ b/media-libs/sdl-image/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/sdl-image
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.12 2004/03/19 17:00:49 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.13 2004/04/03 05:38:42 seemant Exp $
+
+*sdl-image-1.2.3-r1 (02 Apr 2004)
+
+ 02 Apr 2004; Seemant Kulleen <seemant@gentoo.org> sdl-image-1.2.3-r1.ebuild:
+ install the showimage binary, thanks to: Gerry <trick@icculus.org> in bug
+ #46655. Also, use USE flag to determine what support to build
19 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> sdl-image-1.2.3.ebuild:
stable on sparc
diff --git a/media-libs/sdl-image/Manifest b/media-libs/sdl-image/Manifest
index 67f543151c66..f867487d8f29 100644
--- a/media-libs/sdl-image/Manifest
+++ b/media-libs/sdl-image/Manifest
@@ -1,5 +1,7 @@
-MD5 e5c802bd730022bf1b535c394b3226d9 ChangeLog 1678
-MD5 9d0e222d4c0bd035f85d7ae84f799c07 sdl-image-1.2.2.ebuild 701
+MD5 2cfe399383e81b8d7cd09fc389fd17c5 sdl-image-1.2.3-r1.ebuild 1146
MD5 2f0b1b6a35679c6e14f9435b406f83cc sdl-image-1.2.3.ebuild 732
+MD5 9d0e222d4c0bd035f85d7ae84f799c07 sdl-image-1.2.2.ebuild 701
+MD5 6c1a3ca91a8a23d40b8bbc6cc4bd66e0 ChangeLog 1932
MD5 0df8d176624aa26e65f3b2fe42c9cab0 files/digest-sdl-image-1.2.2 67
MD5 6146c8f5ede33bd2c9aa9a25076eb6e9 files/digest-sdl-image-1.2.3 67
+MD5 6146c8f5ede33bd2c9aa9a25076eb6e9 files/digest-sdl-image-1.2.3-r1 67
diff --git a/media-libs/sdl-image/files/digest-sdl-image-1.2.3-r1 b/media-libs/sdl-image/files/digest-sdl-image-1.2.3-r1
new file mode 100644
index 000000000000..d6b396b2d69e
--- /dev/null
+++ b/media-libs/sdl-image/files/digest-sdl-image-1.2.3-r1
@@ -0,0 +1 @@
+MD5 d55826ffbd2bdc48b09cc64a9ed9e59e SDL_image-1.2.3.tar.gz 636747
diff --git a/media-libs/sdl-image/sdl-image-1.2.3-r1.ebuild b/media-libs/sdl-image/sdl-image-1.2.3-r1.ebuild
new file mode 100644
index 000000000000..5a1a71302231
--- /dev/null
+++ b/media-libs/sdl-image/sdl-image-1.2.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.3-r1.ebuild,v 1.1 2004/04/03 05:38:42 seemant Exp $
+
+IUSE="gif jpeg tiff png"
+
+MY_P="${P/sdl-/SDL_}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="image file loading library"
+HOMEPAGE="http://www.libsdl.org/projects/SDL_image/index.html"
+SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="LGPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~mips ~amd64"
+
+DEPEND="sys-libs/zlib
+ >=media-libs/libsdl-1.2.4
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( >=media-libs/jpeg-6b )
+ tiff? ( media-libs/tiff )
+ gif? ( media-libs/giflib )"
+
+src_compile() {
+ econf \
+ `use_enable gif` \
+ `use_enable jpeg jpg` \
+ `use_enable tiff tif` \
+ `use_enable png` \
+ `use_enable png pnm` \
+ --enable-bmp \
+ --enable-lbm \
+ --enable-pcx \
+ --enable-tga \
+ --enable-xcf \
+ --enable-xpm \
+ || die
+
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ into /usr
+ dobin .libs/showimage
+ dodoc CHANGES README
+}