summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2006-08-15 23:11:06 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2006-08-15 23:11:06 +0000
commit87295b74d5aed8f3c4feb40b31f7bde7dec67707 (patch)
treefa9988c2badf11269223172898e89c532577fce8 /media-libs
parentadd Debian patch the fixes up the image loading in 1.2.5. Fixes bug #143674 (diff)
downloadgentoo-2-87295b74d5aed8f3c4feb40b31f7bde7dec67707.tar.gz
gentoo-2-87295b74d5aed8f3c4feb40b31f7bde7dec67707.tar.bz2
gentoo-2-87295b74d5aed8f3c4feb40b31f7bde7dec67707.zip
rev bump to force out patch
(Portage version: 2.1.1_pre5-r1)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-image/ChangeLog8
-rw-r--r--media-libs/sdl-image/files/digest-sdl-image-1.2.5-r16
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.5-r1.ebuild53
3 files changed, 66 insertions, 1 deletions
diff --git a/media-libs/sdl-image/ChangeLog b/media-libs/sdl-image/ChangeLog
index 59d2dc008c52..04a89ba4c0dc 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.26 2006/08/15 23:08:53 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.27 2006/08/15 23:11:06 mr_bones_ Exp $
+
+*sdl-image-1.2.5-r1 (15 Aug 2006)
+
+ 15 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
+ +sdl-image-1.2.5-r1.ebuild:
+ rev bump to force out patch
15 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org>
sdl-image-1.2.5.ebuild:
diff --git a/media-libs/sdl-image/files/digest-sdl-image-1.2.5-r1 b/media-libs/sdl-image/files/digest-sdl-image-1.2.5-r1
new file mode 100644
index 000000000000..a8686610e756
--- /dev/null
+++ b/media-libs/sdl-image/files/digest-sdl-image-1.2.5-r1
@@ -0,0 +1,6 @@
+MD5 cd006109a73bf7dcc93e1c3ed15ee782 SDL_image-1.2.5.tar.gz 1308637
+RMD160 3dabd3de4259519412e6fdc5c83d268dfa0b1ec0 SDL_image-1.2.5.tar.gz 1308637
+SHA256 8a665d136fb17cc9fedcd8e42d21fcab553bd7ab67b6cafea2c6c7efe1adb308 SDL_image-1.2.5.tar.gz 1308637
+MD5 6ba5a176c3f93a1d916e87005d049c28 sdl-image1.2_1.2.5-2.diff.gz 11430
+RMD160 4b34099e5805841ff8ed068155e20b0c91ea21db sdl-image1.2_1.2.5-2.diff.gz 11430
+SHA256 ab4b63f5b459cf0d7505a4f6210c1c5e05175193095ae6d6cd3810ecf71d6176 sdl-image1.2_1.2.5-2.diff.gz 11430
diff --git a/media-libs/sdl-image/sdl-image-1.2.5-r1.ebuild b/media-libs/sdl-image/sdl-image-1.2.5-r1.ebuild
new file mode 100644
index 000000000000..4c854db30f97
--- /dev/null
+++ b/media-libs/sdl-image/sdl-image-1.2.5-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.5-r1.ebuild,v 1.1 2006/08/15 23:11:06 mr_bones_ Exp $
+
+inherit flag-o-matic
+
+MY_P="${P/sdl-/SDL_}"
+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
+ mirror://debian/pool/main/s/sdl-image1.2/sdl-image1.2_${PV}-2.diff.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="gif jpeg tiff png"
+
+DEPEND="sys-libs/zlib
+ >=media-libs/libsdl-1.2.10
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( >=media-libs/jpeg-6b )
+ tiff? ( media-libs/tiff )"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/sdl-image1.2_${PV}-2.diff"
+}
+
+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 "emake failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+ dobin .libs/showimage || die "dobin failed"
+ dodoc CHANGES README
+}