summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-12-07 23:33:27 +0000
committerTim Harder <radhermit@gentoo.org>2014-12-07 23:33:27 +0000
commitc21cc1e712a0ae26f9045f41d6e145fe20c2c1a1 (patch)
treed888642bc9c0043f7417522193c185c72d06c649
parentNew package, imported from Perl overlay, dependency of dev-perl/App-perlbrew (diff)
downloadhistorical-c21cc1e712a0ae26f9045f41d6e145fe20c2c1a1.tar.gz
historical-c21cc1e712a0ae26f9045f41d6e145fe20c2c1a1.tar.bz2
historical-c21cc1e712a0ae26f9045f41d6e145fe20c2c1a1.zip
Version bump, add libsecret use flag, and add rdep on x11-themes/gtk-engines:2 (bug #529122).
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
-rw-r--r--media-gfx/darktable/ChangeLog9
-rw-r--r--media-gfx/darktable/Manifest25
-rw-r--r--media-gfx/darktable/darktable-1.6.0.ebuild140
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild19
-rw-r--r--media-gfx/darktable/metadata.xml1
5 files changed, 177 insertions, 17 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog
index 809b08861f36..eb2a4cd8d6b6 100644
--- a/media-gfx/darktable/ChangeLog
+++ b/media-gfx/darktable/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/darktable
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.57 2014/04/30 05:48:06 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.58 2014/12/07 23:33:25 radhermit Exp $
+
+*darktable-1.6.0 (07 Dec 2014)
+
+ 07 Dec 2014; Tim Harder <radhermit@gentoo.org> +darktable-1.6.0.ebuild,
+ darktable-9999.ebuild, metadata.xml:
+ Version bump, add libsecret use flag, and add rdep on
+ x11-themes/gtk-engines:2 (bug #529122).
*darktable-1.4.2 (30 Apr 2014)
diff --git a/media-gfx/darktable/Manifest b/media-gfx/darktable/Manifest
index 3d98abb03d7a..1d08c2d1651c 100644
--- a/media-gfx/darktable/Manifest
+++ b/media-gfx/darktable/Manifest
@@ -6,25 +6,28 @@ DIST darktable-1.2.3.tar.xz 2348864 SHA256 686b62e020c13e64d18c9b465742ddec8604c
DIST darktable-1.4.1.tar.xz 2808136 SHA256 cde1394d75f9b6ff6b9f82c5e0c8199dd197d45b6a4fda48e7a54bef23ec71de SHA512 c4e2c880592407d85f7fcb10045b22e0e0e4117baa95e213593214660572c3a406c8272e5d86d7c8c105f556465179cd8322f1c3a82544dc081db29bf21b4b25 WHIRLPOOL 5092df00170be2071ec78c8e50b543e1fce1bb227f751b8c9ec949aa0f41e22032ee77d0b8a6ac37f9acc79b46b3321b3906b5557363ce58143b7104c4a291bf
DIST darktable-1.4.2.tar.xz 2836340 SHA256 c1311a6e336007b85d21647652ebec3e26840248a968eab04ab5f0a56c2e0709 SHA512 5a4ba7f5de75bb4db31861fbc095e7854bf701211377b42bbbc3da00a57bcf5aa6e81745b5f34c1c6c7d9a6a3a43678db3d8373d556587e2d3c9210193163f9e WHIRLPOOL 5a2ad1d2d5e1ffadd6145aed29e29eb54e20f9018f0c07264b488a046d3c42dedfa2705028c94a03ea39032af5384931b18313437b94e3523fdc280c25c86146
DIST darktable-1.4.tar.xz 2791544 SHA256 2d5f2e44ffd71789d268cb72e789225bf3f8bce5d85095a411ea658527c5c9dd SHA512 3261d75b591eb91df9b144207dc81c35579c758e90c52717f749accada0e7229e942994112714f1f18b4254e8a248c9a7d35c6a14764e76378cd4d616078e9b8 WHIRLPOOL 572d3ccead3d9cf247899f5dfabfea308ac15c42c65ccc5a6c0f2f6425115f961ff7c8acf29b2e3ac8674b7bcb6aaf7be26de86e85a5435391fd29837faa523c
+DIST darktable-1.6.0.tar.xz 3065488 SHA256 2bf8b05686f84e4b8960378ab785af8bbb187e8f34758f5eb2338ea35263597e SHA512 05edccc9e1c40ef3de89ad900bbba275e4b5f7879ba266f8a0efab3abfc07039c5a177c16c553c15639040e5d14ebe0bcba2f73402db18a01cc8ddb58095bc04 WHIRLPOOL 6d6985795e7c99b727e3f1d51c91b71ce8709cb831640ebdfe2ae7b65feedec64e50c9ab3d609a3229198e3ecf2e92f21882efd1a7311cc972b6b4349c03e3b8
DIST darktable-usermanual-1.2.3.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
DIST darktable-usermanual-1.4.1.pdf 11861765 SHA256 3b604e8de32488c4c9294ee19df2b3bc41f060fc4721a1c5f661b25c52f5b054 SHA512 c94e134137778d57822c1b0e1b876bc0358f2c32bf7978e518c32ae600af60f74f95f6c49ed6c07ff0aa4e035d6108000ceaedda39a900afd0de46632f4c3fd3 WHIRLPOOL 29db2f68cde6b7a2a1ce78a81deb1173a5cbaa643b6593ee8a5b7a55aef9156ed11a3f048f253f0ce47a3f08b37b9f4630f117797be4b15368882a9366f8d6f9
DIST darktable-usermanual-1.4.2.pdf 11861765 SHA256 3b604e8de32488c4c9294ee19df2b3bc41f060fc4721a1c5f661b25c52f5b054 SHA512 c94e134137778d57822c1b0e1b876bc0358f2c32bf7978e518c32ae600af60f74f95f6c49ed6c07ff0aa4e035d6108000ceaedda39a900afd0de46632f4c3fd3 WHIRLPOOL 29db2f68cde6b7a2a1ce78a81deb1173a5cbaa643b6593ee8a5b7a55aef9156ed11a3f048f253f0ce47a3f08b37b9f4630f117797be4b15368882a9366f8d6f9
DIST darktable-usermanual-1.4.pdf 11861765 SHA256 3b604e8de32488c4c9294ee19df2b3bc41f060fc4721a1c5f661b25c52f5b054 SHA512 c94e134137778d57822c1b0e1b876bc0358f2c32bf7978e518c32ae600af60f74f95f6c49ed6c07ff0aa4e035d6108000ceaedda39a900afd0de46632f4c3fd3 WHIRLPOOL 29db2f68cde6b7a2a1ce78a81deb1173a5cbaa643b6593ee8a5b7a55aef9156ed11a3f048f253f0ce47a3f08b37b9f4630f117797be4b15368882a9366f8d6f9
+DIST darktable-usermanual-1.6.0.pdf 11861765 SHA256 3b604e8de32488c4c9294ee19df2b3bc41f060fc4721a1c5f661b25c52f5b054 SHA512 c94e134137778d57822c1b0e1b876bc0358f2c32bf7978e518c32ae600af60f74f95f6c49ed6c07ff0aa4e035d6108000ceaedda39a900afd0de46632f4c3fd3 WHIRLPOOL 29db2f68cde6b7a2a1ce78a81deb1173a5cbaa643b6593ee8a5b7a55aef9156ed11a3f048f253f0ce47a3f08b37b9f4630f117797be4b15368882a9366f8d6f9
EBUILD darktable-1.2.3.ebuild 3282 SHA256 093be5e60effae34ada29d09585c9cb346b744a9d5504cbf2b27bd6cf4812fb3 SHA512 2f9ab65f9a65633c0c1465e4138204ea09d571c337215001b70e6474305f1d1561e21750684a35ab8ad90ff259e3accd9030034ff5f429760c74fb78eea9bfac WHIRLPOOL 73257016c61839fc2b218c2b28567691bbd78ede62d973d0ffcbaabf683d3f001bf6ae6e08e8c8d9d777db7f8ac69dcb96792246f623edbdfe28c0e5b3688d00
EBUILD darktable-1.4.1-r1.ebuild 3804 SHA256 44aca08812acd00340cb9df8a5fec2fe6ebfb5495b46bb32127800fedd90c945 SHA512 b0a2860cf9903795f7ded17b8c981c410b422068290a57da2ea5551f39f518e2d8791201e0fb4e15e142ccf0b32b48b2e356ba643ae5e89444443a19dda7f63d WHIRLPOOL c426306c4667ac49143ad3867916687bca7fdb32d172dbd14a6d33564958b1256818e1d15f1b81ce4a37c7f1d15cb8a43de85cb49bf9a805d407ae334d00b992
EBUILD darktable-1.4.2.ebuild 3745 SHA256 ebf1644096830a076659b1ad566e804f7f1f8a22c5f37cd39b62e6bbff871ed6 SHA512 933cd775e5ee755bec7fbc66fbc120ffe89191935eece1c94a433416c4962e19c438c07592b20e123ad4e7089964f0eff76720105e1d9a141a95deb53488b7b2 WHIRLPOOL 9bd0766000257a662c1ad5d644592dbf3528570c4e5c4df7b985c35e6e1181847c1f6a3e5c21ec468485a59abb1a9ea913d087ac8907bd1b5ac429b73c4658c8
EBUILD darktable-1.4.ebuild 3610 SHA256 a80f1ced356c1370504fc53e2e933ae5ca53c54680245e487a2f8fdcbdbacd51 SHA512 1d4f4282ebde38971bcc2672091d78e66ca4ba03aaec35730c8b20e248fd758b55ce6f7069dee33d70e124f1ac6024a3ab3c5ea714741f183328b68242a8637f WHIRLPOOL f47e78e63bf4279b647d0dce380153d65af47e75f9ab053cb86e9b1cf98c1d2b6e88fbb05295c0d5490090d1d58801c5539287a2eff9cd0bd3572d34066e568e
-EBUILD darktable-9999.ebuild 3471 SHA256 a5b7d9aa90e4491fd87ddfc368716707cc773b23e396554f81d480889984d1a3 SHA512 7f6874f9c072062a161a34b41d7a3f7db5fe083c2debc344bc90664d73cba343b8ee0bf4bd6a0e6029f35724ca427a1bb9a2c9f11c4342d64a5881949bf52565 WHIRLPOOL 79df8586aafcbde8441c039c6918ed674d6d8f3489f65086f402936c8607049b27b29546fd5431e794d4e60b8a77834fa8f9df1d63e3adda3282226fc10788f1
-MISC ChangeLog 10629 SHA256 a64c2eb4c02462457cbfe7d18de383b70a4e0188ad6ca6e6a4a89ef55f06d51a SHA512 24518774e1d75f2825c177a41870faee37d97b7be24506e74590ce9881aa2c1ba1ee828163f09551e5bde97129a61290c470bd1dbeb080decf6b0b89abc7e90d WHIRLPOOL edd77eb0c5c65758421289dbd3bec49b7a81c8c1d926cf5d56656b316fa0b9ded9961f491828fe3ae24060860de9aa87c265eb9d32a6f384db3b1589edb809a4
-MISC metadata.xml 1192 SHA256 3e0b4cf600f2796fbee5705d5c4bc152537fc334ba17cce80f329438b7cc5315 SHA512 4d4e70fb903c4d5584a9e15c7d9021115526829a78837cd31ab66e3f09aad9c4014aa0a978baa664543b37a8660a375d284c9bd21d7561685760607f8ce0267d WHIRLPOOL 6274fda1a8ea7549d48c00bd9a2e1198cfb5775692750faaf2d401496ccf4226b37ffd67be317248cf1db8b236850f4f6f40f97c146fcab18ddcad697ab1f1f8
+EBUILD darktable-1.6.0.ebuild 4018 SHA256 f7e400c238bc12f07c60e92c8d5b929d9d0da449c4c69808a17d2241eb9dbace SHA512 2ac9b6007c23bfa6db26136513c995fd0193fd20c0d861a9512b8a39e47696d34631ccc01f75fdd73fa5e1421dbb1b107a978d40994e1cea68b2e98b1ecb2d86 WHIRLPOOL b8319683d375ae8e48f91b21d11491ff1830617978e4d4d7d2d3833e2089c1f893686254e47d2adb4dceb512fed16c0cf10934f6aab97f54d9f83b04555112bf
+EBUILD darktable-9999.ebuild 3763 SHA256 5ba1bffbe5fbb06b7a39f3eeb6c0bf5fc072539c08dc37b736073e14e4e43a48 SHA512 28252040ec6eba9b4952fc5695e953c44df121a42ee540766e4bd8ccb785c5768990a7cdf0ab92e6478de0502983539f4ab5066892886e265ec0a691d0a66b4b WHIRLPOOL f4a5f1f0b2edf0ae1a3fc4f2c8b0aa55737162f1eef0b6bc8dd2d528e9bf38608a08926f001d0f51816ae8157a87e2ee19af5166e7937942afd8c37effe2d796
+MISC ChangeLog 10873 SHA256 34d81c6bc95579b4cf47c6802c14a6c0db783162b08f3ba2b0c974e1c4f9b076 SHA512 32f9cb425c64cc8ee813827bc0ba8dfea881d91917b21dc617ca63b924a2d0d289d1452c37f1be836d408738544d12d0bde23466f81bb0deef414a9fb87ba602 WHIRLPOOL f114952714d3f7ffd8eb429de6123f2b713679c8f8c5fa8e42435dc794251100c1217b9ada8a231717c15d739761e6e2450e66f37ef500f67c1fa929b0e41e70
+MISC metadata.xml 1276 SHA256 51622e29e802579e2f22c245efa0b444e2eca5d808f9609686734778cfb54071 SHA512 13f754561d816f4a8bfc842b8301aa524eddc6fdacf80696417da0a1d4f1c3bf60876e2046c073c1ef7aa61eba8c584063f00d64ebe5583d6ba838456433ec0e WHIRLPOOL ca9435d8870458e4f92c78f89172e368b367c76d28305ae47e8d526ccf74c4bcedd6c9d3d194c2880331d8e06bc22548cd1a3d73e7c653c15b01a7e587305b73
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iQEcBAEBCAAGBQJTYI6XAAoJEEqz6FtPBkyj+KgIALScywGYfCZkYkgGYdRjAlVC
-pTBTaa2wiePcib4POLXgXvq4kxOm0yZmVAK3lqKCqgz2o2w/0H5GwF9WzvDiAtDy
-IemmGla0fHjD2YwKeTowjAY9qxtiiqVzSAsiZMa68Hc84MVoFz7rSpIZRUNhTdyx
-YHoSJOGU9G11Qk5sTNt4Q/fM2pawTUK3WT0znslC9Ldta3FmmUtuCgKj3lto/6Mn
-7rceCxqzW96Fwek45iHU7tndJFNLKNu8hFaOPtQG+Mfm5Rbm+z2JJL/4W0B+wRee
-BUG8g3gngcrXQXyYhqD5aPGmZyTeVex8CRpd2iZn3Lg5qpt480khUyBOLn4vsl0=
-=P84r
+iQEcBAEBCAAGBQJUhOPOAAoJEEqz6FtPBkyjbAUH+QHu91GPIo3gEsqXfNT8h8n5
+8DpQI4kG1VPleFm/zQQAiXTFIsflYjGG0KZUfw6q8tXumX1m281nfBVvILMZ++CO
+idPx8sD71LOXku+kbvVWgp1k8c30Xa776gkkDp1mQaiJIVmFUr3v05okVPFUAens
+mIiAWkVQXj+x7llPeKjnXpLnf87A9BHPi5+6Z9rA3VNOmgmMj0jn2ubzHq+E9ehE
+YNVx1rTP+ptAuQ22YzIIwuZd+PtkNjekoDtgWsudMuFeA3Dc6Iywqw8rU4gHiY23
+B8OqGc0YTo5aqXWWRUElXgksJRc400FQkYia/myzKhIiCdk0aJe44cwZchVirQk=
+=b0fy
-----END PGP SIGNATURE-----
diff --git a/media-gfx/darktable/darktable-1.6.0.ebuild b/media-gfx/darktable/darktable-1.6.0.ebuild
new file mode 100644
index 000000000000..31e796bee580
--- /dev/null
+++ b/media-gfx/darktable/darktable-1.6.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-1.6.0.ebuild,v 1.1 2014/12/07 23:33:25 radhermit Exp $
+
+EAPI=5
+
+inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime pax-utils eutils
+
+DESCRIPTION="A virtual lighttable and darkroom for photographers"
+HOMEPAGE="http://www.darktable.org/"
+SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${PV}/${P}.tar.xz
+ doc? ( mirror://sourceforge/${PN}/${PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${PV}.pdf )"
+
+LICENSE="GPL-3 CC-BY-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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 gnome-keyring gphoto2 graphicsmagick jpeg2k kde libsecret
+nls opencl openmp openexr pax_kernel +rawspeed +slideshow +squish web-services webp
+${LANGS// / linguas_}"
+
+CDEPEND="
+ dev-db/sqlite:3
+ >=dev-libs/glib-2.28:2
+ dev-libs/libxml2:2
+ gnome-base/librsvg:2
+ media-gfx/exiv2:0=[xmp]
+ media-libs/lcms:2
+ >=media-libs/lensfun-0.2.3
+ media-libs/libpng:0=
+ media-libs/tiff:0
+ net-misc/curl
+ virtual/jpeg
+ x11-libs/cairo
+ x11-libs/gdk-pixbuf:2
+ x11-libs/gtk+:2
+ x11-libs/pango
+ colord? ( x11-misc/colord:0= )
+ flickr? ( media-libs/flickcurl )
+ geo? ( net-libs/libsoup:2.4 )
+ gnome-keyring? ( gnome-base/gnome-keyring )
+ gphoto2? ( media-libs/libgphoto2:= )
+ graphicsmagick? ( media-gfx/graphicsmagick )
+ jpeg2k? ( media-libs/openjpeg:0 )
+ libsecret? (
+ >=app-crypt/libsecret-0.18
+ dev-libs/json-glib
+ )
+ opencl? ( virtual/opencl )
+ openexr? ( media-libs/openexr:0= )
+ slideshow? (
+ media-libs/libsdl
+ virtual/glu
+ virtual/opengl
+ )
+ web-services? ( dev-libs/json-glib )
+ webp? ( media-libs/libwebp:0= )"
+RDEPEND="${CDEPEND}
+ x11-themes/gtk-engines:2
+ kde? ( kde-base/kwalletd )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+pkg_pretend() {
+ if use openmp ; then
+ tc-has-openmp || die "Please switch to an openmp compatible compiler"
+ fi
+}
+
+src_prepare() {
+ sed -e "s:\(/share/doc/\)darktable:\1${PF}:" \
+ -e "s:\(\${SHARE_INSTALL}/doc/\)darktable:\1${PF}:" \
+ -e "s:LICENSE::" \
+ -i doc/CMakeLists.txt || die
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_use colord COLORD)
+ $(cmake-utils_use_use flickr FLICKR)
+ $(cmake-utils_use_use geo GEO)
+ $(cmake-utils_use_use gnome-keyring GNOME_KEYRING)
+ $(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
+ $(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
+ $(cmake-utils_use_use jpeg2k OPENJPEG)
+ $(cmake-utils_use_use kde KWALLET)
+ $(cmake-utils_use_use libsecret LIBSECRET)
+ $(cmake-utils_use_use libsecret GLIBJSON)
+ $(cmake-utils_use_use nls NLS)
+ $(cmake-utils_use_use opencl OPENCL)
+ $(cmake-utils_use_use openexr OPENEXR)
+ $(cmake-utils_use_use openmp OPENMP)
+ $(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
+ $(cmake-utils_use_use squish SQUISH)
+ $(cmake-utils_use_build slideshow SLIDESHOW)
+ $(cmake-utils_use_use web-services GLIBJSON)
+ $(cmake-utils_use_use webp WEBP)
+ -DUSE_LUA=OFF
+ -DCUSTOM_CFLAGS=ON
+ -DINSTALL_IOP_EXPERIMENTAL=ON
+ -DINSTALL_IOP_LEGACY=ON
+ )
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${PV}.pdf
+
+ for lang in ${LANGS} ; do
+ use linguas_${lang} || rm -r "${ED}"/usr/share/locale/${lang}
+ done
+
+ if use pax_kernel && use opencl ; then
+ pax-mark Cm "${ED}"/usr/bin/${PN} || die
+ eqawarn "USE=pax_kernel is set meaning that ${PN} will be run"
+ eqawarn "under a PaX enabled kernel. To do so, the ${PN} binary"
+ eqawarn "must be modified and this *may* lead to breakage! If"
+ eqawarn "you suspect that ${PN} is broken by this modification,"
+ eqawarn "please open a bug."
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ fdo-mime_desktop_database_update
+}
diff --git a/media-gfx/darktable/darktable-9999.ebuild b/media-gfx/darktable/darktable-9999.ebuild
index bb590a9c922a..9ccabbc9c941 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2014 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.13 2014/02/11 05:43:49 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.14 2014/12/07 23:33:25 radhermit Exp $
EAPI=5
-inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime git-2 pax-utils eutils
+inherit cmake-utils toolchain-funcs gnome2-utils fdo-mime git-r3 pax-utils eutils
EGIT_REPO_URI="git://github.com/darktable-org/darktable.git"
@@ -15,8 +15,8 @@ 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 gnome-keyring gphoto2 graphicsmagick jpeg2k kde
-nls opencl openmp pax_kernel +rawspeed +slideshow +squish web-services webp
+IUSE="colord doc flickr geo gnome-keyring gphoto2 graphicsmagick jpeg2k kde libsecret
+nls opencl openmp openexr pax_kernel +rawspeed +slideshow +squish web-services webp
${LANGS// / linguas_}"
CDEPEND="
@@ -28,7 +28,6 @@ CDEPEND="
media-libs/lcms:2
>=media-libs/lensfun-0.2.3
media-libs/libpng:0=
- media-libs/openexr:0=
media-libs/tiff:0
net-misc/curl
virtual/jpeg
@@ -43,7 +42,12 @@ CDEPEND="
gphoto2? ( media-libs/libgphoto2:= )
graphicsmagick? ( media-gfx/graphicsmagick )
jpeg2k? ( media-libs/openjpeg:0 )
+ libsecret? (
+ >=app-crypt/libsecret-0.18
+ dev-libs/json-glib
+ )
opencl? ( virtual/opencl )
+ openexr? ( media-libs/openexr:0= )
slideshow? (
media-libs/libsdl
virtual/glu
@@ -52,6 +56,7 @@ CDEPEND="
web-services? ( dev-libs/json-glib )
webp? ( media-libs/libwebp:0= )"
RDEPEND="${CDEPEND}
+ x11-themes/gtk-engines:2
kde? ( kde-base/kwalletd )"
DEPEND="${CDEPEND}
virtual/pkgconfig
@@ -80,8 +85,12 @@ src_configure() {
$(cmake-utils_use_use gphoto2 CAMERA_SUPPORT)
$(cmake-utils_use_use graphicsmagick GRAPHICSMAGICK)
$(cmake-utils_use_use jpeg2k OPENJPEG)
+ $(cmake-utils_use_use kde KWALLET)
+ $(cmake-utils_use_use libsecret LIBSECRET)
+ $(cmake-utils_use_use libsecret GLIBJSON)
$(cmake-utils_use_use nls NLS)
$(cmake-utils_use_use opencl OPENCL)
+ $(cmake-utils_use_use openexr OPENEXR)
$(cmake-utils_use_use openmp OPENMP)
$(cmake-utils_use !rawspeed DONT_USE_RAWSPEED)
$(cmake-utils_use_use squish SQUISH)
diff --git a/media-gfx/darktable/metadata.xml b/media-gfx/darktable/metadata.xml
index 72695e229fe2..df065596445b 100644
--- a/media-gfx/darktable/metadata.xml
+++ b/media-gfx/darktable/metadata.xml
@@ -11,6 +11,7 @@
<flag name="graphicsmagick">Use <pkg>media-gfx/graphicsmagick</pkg> for image importing</flag>
<flag name="flickr">Add support for uploading photos to flickr</flag>
<flag name="geo">Enable geotagging support</flag>
+ <flag name="libsecret">Enable libsecret support to store login credentials</flag>
<flag name="opencl">Enable opencl support</flag>
<flag name="pax_kernel">Triggers paxmarking of main darktable binary</flag>
<flag name="rawspeed">Enable the rawspeed backend</flag>