commit:     0a97e51537509918c1a906ccf6ca2759e6b7b57f
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 12:28:05 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Jun 18 12:36:27 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a97e515

media-gfx/darktable: update the live ebuild

Merge in all the changes from the latest release ebuild, add all locales
currently present on the master branch to LANGS, set a minimum version
requirement on sys-devel/gcc to make sure we use a version supporting
USE=graphite.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-gfx/darktable/darktable-9999.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/media-gfx/darktable/darktable-9999.ebuild 
b/media-gfx/darktable/darktable-9999.ebuild
index 111dc666f46..20617da3c0a 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.darktable.org/";
 LICENSE="GPL-3 CC-BY-3.0"
 SLOT="0"
 #KEYWORDS="~amd64 ~x86"
-LANGS=" ca cs da de es fr he hu it ja nl pl ru sk sl sv uk"
+LANGS=" af ca cs da de el es fi fr gl he hu it ja nb nl pl pt-BR pt-PT ro ru 
sk sl sq sv th uk zh-CN zh-TW"
 # TODO add lua once dev-lang/lua-5.2 is unmasked
 IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring 
gphoto2 graphicsmagick jpeg2k kwallet
 nls opencl openmp openexr pax_kernel webp
@@ -28,7 +28,7 @@ COMMON_DEPEND="
        dev-db/sqlite:3
        dev-libs/json-glib
        dev-libs/libxml2:2
-       dev-libs/pugixml:0=
+       >=dev-libs/pugixml-1.8:0=
        gnome-base/librsvg:2
        >=media-gfx/exiv2-0.25-r2:0=[xmp]
        media-libs/lcms:2
@@ -40,7 +40,7 @@ COMMON_DEPEND="
        sys-libs/zlib:=
        virtual/jpeg:0
        x11-libs/cairo
-       >=x11-libs/gtk+-3.14:3
+       >=x11-libs/gtk+-3.22:3
        x11-libs/pango
        colord? ( x11-libs/colord-gtk:0= )
        cups? ( net-print/cups )
@@ -59,11 +59,16 @@ DEPEND="${COMMON_DEPEND}
                >=sys-devel/clang-4
                >=sys-devel/llvm-4
        )
+       openmp? ( >=sys-devel/gcc-6[openmp,graphite] )
 "
 RDEPEND="${COMMON_DEPEND}
        kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
 "
 
+PATCHES=(
+       "${FILESDIR}"/"${PN}"-find-opencl-header.patch
+)
+
 pkg_pretend() {
        if use openmp ; then
                tc-has-openmp || die "Please switch to an openmp compatible 
compiler"
@@ -73,6 +78,8 @@ pkg_pretend() {
 src_prepare() {
        use cpu_flags_x86_sse3 && append-flags -msse3
 
+       sed -i -e 's:/appdata:/metainfo:g' data/CMakeLists.txt || die
+
        cmake_src_prepare
 }
 

Reply via email to