summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2012-01-16 22:52:05 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2012-01-16 22:52:05 +0000
commit999ef7012135eb39651036d0e8ab13420f91cfe2 (patch)
tree34ae817eab48cf2342dae14359d169ff13005600 /media-libs
parentStable for amd64, wrt bug #396359 (diff)
downloadgentoo-2-999ef7012135eb39651036d0e8ab13420f91cfe2.tar.gz
gentoo-2-999ef7012135eb39651036d0e8ab13420f91cfe2.tar.bz2
gentoo-2-999ef7012135eb39651036d0e8ab13420f91cfe2.zip
version bump
(Portage version: 2.1.10.41/cvs/Linux i686)
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/sdl-image/ChangeLog10
-rw-r--r--media-libs/sdl-image/metadata.xml3
-rw-r--r--media-libs/sdl-image/sdl-image-1.2.11.ebuild55
3 files changed, 66 insertions, 2 deletions
diff --git a/media-libs/sdl-image/ChangeLog b/media-libs/sdl-image/ChangeLog
index d304114fab9f..81aacbc35e94 100644
--- a/media-libs/sdl-image/ChangeLog
+++ b/media-libs/sdl-image/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-libs/sdl-image
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.76 2011/03/25 11:24:15 tupone Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.77 2012/01/16 22:52:05 mr_bones_ Exp $
+
+*sdl-image-1.2.11 (16 Jan 2012)
+
+ 16 Jan 2012; Michael Sterrett <mr_bones_@gentoo.org>
+ +sdl-image-1.2.11.ebuild, metadata.xml:
+ version bump
25 Mar 2011; Alfredo Tupone <tupone@gentoo.org>
sdl-image-1.2.10-r1.ebuild, +files/sdl-image-1.2.10-libpng15.patch:
diff --git a/media-libs/sdl-image/metadata.xml b/media-libs/sdl-image/metadata.xml
index d3c2cc926f0b..9758b7a8f6da 100644
--- a/media-libs/sdl-image/metadata.xml
+++ b/media-libs/sdl-image/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>games</herd>
+<use>
+ <flag name='webp'>support loading WEBP images</flag>
+</use>
</pkgmetadata>
diff --git a/media-libs/sdl-image/sdl-image-1.2.11.ebuild b/media-libs/sdl-image/sdl-image-1.2.11.ebuild
new file mode 100644
index 000000000000..fd864e79d949
--- /dev/null
+++ b/media-libs/sdl-image/sdl-image-1.2.11.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 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.11.ebuild,v 1.1 2012/01/16 22:52:05 mr_bones_ Exp $
+
+EAPI=2
+MY_P="${P/sdl-/SDL_}"
+DESCRIPTION="image file loading library"
+HOMEPAGE="http://www.libsdl.org/projects/SDL_image/"
+SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE="gif jpeg png static-libs tiff webp"
+
+DEPEND="sys-libs/zlib
+ media-libs/libsdl
+ png? ( >=media-libs/libpng-1.4 )
+ jpeg? ( virtual/jpeg )
+ tiff? ( media-libs/tiff )
+ webp? ( media-libs/libwebp )"
+
+S=${WORKDIR}/${MY_P}
+
+src_configure() {
+ econf \
+ --disable-jpg-shared \
+ --disable-png-shared \
+ --disable-tif-shared \
+ --disable-webp-shared \
+ $(use_enable static-libs static) \
+ $(use_enable gif) \
+ $(use_enable jpeg jpg) \
+ $(use_enable tiff tif) \
+ $(use_enable png) \
+ $(use_enable webp) \
+ --enable-bmp \
+ --enable-lbm \
+ --enable-pcx \
+ --enable-pnm \
+ --enable-tga \
+ --enable-xcf \
+ --enable-xpm \
+ --enable-xv
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dobin .libs/showimage || die
+ dodoc CHANGES README
+ if ! use static-libs ; then
+ find "${D}" -type f -name '*.la' -exec rm {} + \
+ || die "la removal failed"
+ fi
+}