summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-06-18 14:28:05 +0200
committerMarek Szuba <marecki@gentoo.org>2020-06-18 14:36:27 +0200
commit0a97e51537509918c1a906ccf6ca2759e6b7b57f (patch)
tree9442fe37e4a670ade18903ca623c4b5bd5c4d2c8 /media-gfx/darktable/darktable-9999.ebuild
parentwww-client/opera-beta: Version 69.0.3686.30 (diff)
downloadgentoo-0a97e51537509918c1a906ccf6ca2759e6b7b57f.tar.gz
gentoo-0a97e51537509918c1a906ccf6ca2759e6b7b57f.tar.bz2
gentoo-0a97e51537509918c1a906ccf6ca2759e6b7b57f.zip
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@gentoo.org>
Diffstat (limited to 'media-gfx/darktable/darktable-9999.ebuild')
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index 111dc666f46f..20617da3c0a4 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
}