hasufell    14/04/18 19:08:23

  Modified:             ChangeLog
  Added:                sdl-image-1.2.12-r1.ebuild
  Log:
  add multilib support
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)

Revision  Changes    Path
1.88                 media-libs/sdl-image/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-image/ChangeLog?rev=1.88&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-image/ChangeLog?rev=1.88&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-image/ChangeLog?r1=1.87&r2=1.88

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- ChangeLog   8 Jun 2012 19:56:50 -0000       1.87
+++ ChangeLog   18 Apr 2014 19:08:23 -0000      1.88
@@ -1,6 +1,11 @@
 # ChangeLog for media-libs/sdl-image
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.87 
2012/06/08 19:56:50 mr_bones_ Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.88 
2014/04/18 19:08:23 hasufell Exp $
+
+*sdl-image-1.2.12-r1 (18 Apr 2014)
+
+  18 Apr 2014; Julian Ospald <[email protected]> +sdl-image-1.2.12-r1.ebuild:
+  add multilib support
 
   08 Jun 2012; Michael Sterrett <[email protected]> sdl-image-1.2.12.ebuild:
   use prune_libtool_files instead of rolling our own



1.1                  media-libs/sdl-image/sdl-image-1.2.12-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.12-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.12-r1.ebuild?rev=1.1&content-type=text/plain

Index: sdl-image-1.2.12-r1.ebuild
===================================================================
# Copyright 1999-2014 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.12-r1.ebuild,v 1.1 
2014/04/18 19:08:23 hasufell Exp $

EAPI=5
inherit eutils multilib-minimal

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 
~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux 
~ppc-macos ~x86-macos ~x86-solaris"
IUSE="gif jpeg png static-libs tiff webp"

RDEPEND="
        abi_x86_32? (
                !app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
                !<=app-emulation/emul-linux-x86-sdl-20140406
        )
        sys-libs/zlib[${MULTILIB_USEDEP}]
        media-libs/libsdl[${MULTILIB_USEDEP}]
        png? ( media-libs/libpng:0[${MULTILIB_USEDEP}] )
        jpeg? ( virtual/jpeg[${MULTILIB_USEDEP}] )
        tiff? ( media-libs/tiff[${MULTILIB_USEDEP}] )
        webp? ( media-libs/libwebp[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}"

S=${WORKDIR}/${MY_P}

multilib_src_configure() {
        ECONF_SOURCE="${S}" 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
}

multilib_src_install() {
        emake DESTDIR="${D}" install
        dobin .libs/showimage
}

multilib_src_install_all() {
        dodoc CHANGES README
        use static-libs || prune_libtool_files --all
}




Reply via email to