public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Frysinger (vapier)" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/iulib: iulib-0.4.ebuild ChangeLog
Date: Sun,  3 Jun 2012 02:42:24 +0000 (UTC)	[thread overview]
Message-ID: <20120603024224.D3EEC2004C@flycatcher.gentoo.org> (raw)

vapier      12/06/03 02:42:24

  Modified:             iulib-0.4.ebuild ChangeLog
  Log:
  Update to EAPI=4, and fix multilib paths.
  
  (Portage version: 2.2.0_alpha108/cvs/Linux x86_64)

Revision  Changes    Path
1.7                  media-libs/iulib/iulib-0.4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild?r1=1.6&r2=1.7

Index: iulib-0.4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- iulib-0.4.ebuild	8 Nov 2010 15:13:00 -0000	1.6
+++ iulib-0.4.ebuild	3 Jun 2012 02:42:24 -0000	1.7
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.6 2010/11/08 15:13:00 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/iulib-0.4.ebuild,v 1.7 2012/06/03 02:42:24 vapier Exp $
 
-inherit eutils toolchain-funcs
+EAPI="4"
+
+inherit eutils toolchain-funcs multilib scons-utils
 
 DESCRIPTION="easy-to-use image and video I/O functions"
 HOMEPAGE="http://code.google.com/p/iulib/"
@@ -24,24 +26,28 @@
 DEPEND="${RDEPEND}
 	dev-util/scons"
 
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
+src_prepare() {
 	epatch "${FILESDIR}"/${PN}-0.4-scons-build-env.patch
 	sed -i \
-		-e "/^have_sdl = 1/s:1:`use sdl && echo 1 || echo 0`:" \
+		-e "/^have_sdl = 1/s:1:$(usex sdl 1 0):" \
 		-e '/tiff/s:inflate:TIFFOpen:' \
 		-e '/progs.Append(LIBS=libiulib)/s:Append:Prepend:' \
+		-e "/^libdir/s:/lib:/$(get_libdir):" \
 		SConstruct || die #297326 #308955 #310439
 	sed -i '/SDL.SDL_image.h/d' utils/dgraphics.cc || die #310443
+	tc-export AR CC CXX RANLIB
+}
+
+src_configure() {
+	# Avoid configure as we build/install with scons
+	:
 }
 
 src_compile() {
-	tc-export CC CXX
-	scons prefix=/usr || die
+	escons prefix=/usr
 }
 
 src_install() {
-	scons install prefix="${D}/usr" || die
+	escons prefix="${D}"/usr install
 	dodoc CHANGES README TODO
 }



1.11                 media-libs/iulib/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- ChangeLog	8 Nov 2010 15:13:00 -0000	1.10
+++ ChangeLog	3 Jun 2012 02:42:24 -0000	1.11
@@ -1,6 +1,9 @@
 # ChangeLog for media-libs/iulib
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v 1.10 2010/11/08 15:13:00 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/iulib/ChangeLog,v 1.11 2012/06/03 02:42:24 vapier Exp $
+
+  03 Jun 2012; Mike Frysinger <vapier@gentoo.org> iulib-0.4.ebuild:
+  Update to EAPI=4, and fix multilib paths.
 
   08 Nov 2010; Samuli Suominen <ssuominen@gentoo.org> iulib-0.3.ebuild,
   iulib-0.4.ebuild:






             reply	other threads:[~2012-06-03  2:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-03  2:42 Mike Frysinger (vapier) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-03-21  5:06 [gentoo-commits] gentoo-x86 commit in media-libs/iulib: iulib-0.4.ebuild ChangeLog Mike Frysinger (vapier)
2010-03-21  5:03 Mike Frysinger (vapier)
2010-03-20 21:20 Mike Frysinger (vapier)
2010-01-19 15:15 Dawid Weglinski (cla)
2009-12-16 11:39 Mike Frysinger (vapier)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120603024224.D3EEC2004C@flycatcher.gentoo.org \
    --to=vapier@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox