diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-09-09 21:10:56 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-09-09 21:10:56 +0000 |
commit | 90051a7d830cd93c4b9d7ce428d20de34344810c (patch) | |
tree | 29dfd4bb811889946fe7bf82fea18fe819cccb96 /media-gfx/luminance-hdr | |
parent | Stable ppc, bug #433167 (diff) | |
download | gentoo-2-90051a7d830cd93c4b9d7ce428d20de34344810c.tar.gz gentoo-2-90051a7d830cd93c4b9d7ce428d20de34344810c.tar.bz2 gentoo-2-90051a7d830cd93c4b9d7ce428d20de34344810c.zip |
Add check for SSE2 support (bug #369447 by Diego Elio Pettenò).
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/luminance-hdr')
-rw-r--r-- | media-gfx/luminance-hdr/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild | 15 |
2 files changed, 15 insertions, 5 deletions
diff --git a/media-gfx/luminance-hdr/ChangeLog b/media-gfx/luminance-hdr/ChangeLog index 6efa71c4dcab..2016dde066ce 100644 --- a/media-gfx/luminance-hdr/ChangeLog +++ b/media-gfx/luminance-hdr/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/luminance-hdr # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.22 2012/09/08 12:39:26 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/ChangeLog,v 1.23 2012/09/09 21:10:56 radhermit Exp $ + + 09 Sep 2012; Tim Harder <radhermit@gentoo.org> luminance-hdr-2.3.0.ebuild: + Add check for SSE2 support (bug #369447 by Diego Elio Pettenò). 08 Sep 2012; Agostino Sarubbo <ago@gentoo.org> luminance-hdr-2.3.0.ebuild: Stable for amd64, wrt bug #434302 diff --git a/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild b/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild index b625983bef0b..c35212d23e74 100644 --- a/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild +++ b/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild,v 1.3 2012/09/08 12:39:26 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/luminance-hdr/luminance-hdr-2.3.0.ebuild,v 1.4 2012/09/09 21:10:56 radhermit Exp $ EAPI="4" -inherit cmake-utils toolchain-funcs eutils +inherit cmake-utils toolchain-funcs eutils flag-o-matic MY_P=${P/_/.} DESCRIPTION="Luminance HDR is a graphical user interface that provides a workflow for HDR imaging." @@ -15,7 +15,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~x86" LANGS=" cs de es fi fr hi hu id it pl ro ru sk tr zh" -IUSE="${LANGS// / linguas_} openmp" +IUSE="sse2 ${LANGS// / linguas_} openmp" DEPEND=" >=media-gfx/exiv2-0.14 @@ -37,7 +37,14 @@ DOCS=( AUTHORS BUGS Changelog README TODO ) S=${WORKDIR}/${MY_P} -pkg_setup() { +pkg_pretend() { + if use sse2 ; then + append-flags -msse2 + else + eerror "This package requires a CPU supporting the SSE2 instruction set." + die "SSE2 support missing" + fi + if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi |