diff options
author | Tim Harder <radhermit@gentoo.org> | 2015-02-01 16:43:34 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2015-02-01 16:43:34 +0000 |
commit | 5d47836cf589eaf31d99f544d88a7ec38ae28d6c (patch) | |
tree | 2ce357338c25ae456a5d99849d52ec2ef1f6063b /media-gfx/darktable | |
parent | Version bump. Force SSE3 support to be enabled as it's required. (diff) | |
download | gentoo-2-5d47836cf589eaf31d99f544d88a7ec38ae28d6c.tar.gz gentoo-2-5d47836cf589eaf31d99f544d88a7ec38ae28d6c.tar.bz2 gentoo-2-5d47836cf589eaf31d99f544d88a7ec38ae28d6c.zip |
Sync sse3 changes to live ebuild.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r-- | media-gfx/darktable/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-9999.ebuild | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog index b187ecb57aa7..187141f5a994 100644 --- a/media-gfx/darktable/ChangeLog +++ b/media-gfx/darktable/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/darktable # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.62 2015/02/01 16:40:45 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.63 2015/02/01 16:43:34 radhermit Exp $ + + 01 Feb 2015; Tim Harder <radhermit@gentoo.org> darktable-9999.ebuild: + Sync sse3 changes to live ebuild. *darktable-1.6.2 (01 Feb 2015) diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild index 20c5d7ea830a..f7bd9d2d3fbd 100644 --- a/media-gfx/darktable/darktable-9999.ebuild +++ b/media-gfx/darktable/darktable-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.15 2014/12/07 23:54:31 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.16 2015/02/01 16:43:34 radhermit Exp $ EAPI=5 -inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime git-r3 pax-utils eutils +inherit cmake-utils flag-o-matic toolchain-funcs gnome2-utils fdo-mime git-r3 pax-utils eutils EGIT_REPO_URI="git://github.com/darktable-org/darktable.git" @@ -15,7 +15,7 @@ LICENSE="GPL-3 CC-BY-3.0" SLOT="0" LANGS=" cs da de el es fr it ja nl pl pt_BR pt_PT ru sq sv uk" # TODO add lua once dev-lang/lua-5.2 is unmasked -IUSE="colord doc flickr geo gphoto2 graphicsmagick jpeg2k kde libsecret +IUSE="colord cpu_flags_x86_sse3 doc flickr geo gphoto2 graphicsmagick jpeg2k kde libsecret nls opencl openmp openexr pax_kernel +rawspeed +slideshow +squish web-services webp ${LANGS// / linguas_}" @@ -65,9 +65,15 @@ pkg_pretend() { if use openmp ; then tc-has-openmp || die "Please switch to an openmp compatible compiler" fi + + if ! use cpu_flags_x86_sse3 ; then + eerror "This package requires a CPU supporting the SSE3 instruction set." && die + fi } src_prepare() { + use cpu_flags_x86_sse3 && append-flags -msse3 + sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \ -e "s:LICENSE::" \ -i doc/CMakeLists.txt || die |