summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-02-11 05:43:51 +0000
committerTim Harder <radhermit@gentoo.org>2014-02-11 05:43:51 +0000
commit7739f8b8e1eb9ac19d1abbd5558fe93fb2efa360 (patch)
treed5da94ed74593fbdbe87b9ad399bcd6038cfa696 /media-gfx/darktable
parentalpha stable, bug 500780. (diff)
downloadhistorical-7739f8b8e1eb9ac19d1abbd5558fe93fb2efa360.tar.gz
historical-7739f8b8e1eb9ac19d1abbd5558fe93fb2efa360.tar.bz2
historical-7739f8b8e1eb9ac19d1abbd5558fe93fb2efa360.zip
Version bump, add openexr use flag (bug #499708).
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r--media-gfx/darktable/ChangeLog8
-rw-r--r--media-gfx/darktable/Manifest18
-rw-r--r--media-gfx/darktable/darktable-1.4.1.ebuild133
-rw-r--r--media-gfx/darktable/darktable-9999.ebuild6
-rw-r--r--media-gfx/darktable/files/darktable-1.4.1-automagic-openexr.patch35
5 files changed, 190 insertions, 10 deletions
diff --git a/media-gfx/darktable/ChangeLog b/media-gfx/darktable/ChangeLog
index dee8c5c9a890..3d7c60e7a754 100644
--- a/media-gfx/darktable/ChangeLog
+++ b/media-gfx/darktable/ChangeLog
@@ -1,6 +1,12 @@
# 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.53 2014/01/21 20:35:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/ChangeLog,v 1.54 2014/02/11 05:43:49 radhermit Exp $
+
+*darktable-1.4.1 (11 Feb 2014)
+
+ 11 Feb 2014; Tim Harder <radhermit@gentoo.org> +darktable-1.4.1.ebuild,
+ darktable-9999.ebuild, +files/darktable-1.4.1-automagic-openexr.patch:
+ Version bump, add openexr use flag (bug #499708).
*darktable-1.4 (21 Jan 2014)
diff --git a/media-gfx/darktable/Manifest b/media-gfx/darktable/Manifest
index d6b67973b0eb..eb36e78a1b51 100644
--- a/media-gfx/darktable/Manifest
+++ b/media-gfx/darktable/Manifest
@@ -1,31 +1,39 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX darktable-1.4.1-automagic-openexr.patch 1317 SHA256 7a591ebfbcf2e49c2e3ef8771bd610dcbed99c23d4fd40aec5f32965c30de2f3 SHA512 efcbb468dc4f4e321d1b1cf06db2452ecedd304a4fa6aa52271b768612b4d7dd8dbd3787f2d2e2651e603a99f37a27cf75aa6b1e2bf1532d13d711bc9dfefda9 WHIRLPOOL 00e72f09c3c0ef9bbc6b258cbb2edbe7a132df013277e1ce68a91cfa1fee984419bb047d362674d9d9c4ca47f23ea2b4728da30893f4d64a6504b605ea4cf266
DIST darktable-1.1.4.tar.xz 2231272 SHA256 fb6bc7d5a672b1b493921e80aae8cff2a94e66da7acee9e2cdbd83fa11ececaf SHA512 6ab94c4d49697fc32727ab6f62a37ea56b40968e29a737863640b486054116e21596c440432a81e41368957d9b2eca34ff466b1e0ba494091f4fee97c6350b80 WHIRLPOOL 2813334c4f5e84adf7917e63c4342532fbcb97630885e49957aba017365db516ceda4278eb7d873bcf45f1353bf9b523d178c1bbf913be7910b1ce9081266a21
DIST darktable-1.2.1.tar.xz 2273260 SHA256 b1756295dfda78fc828603033a58f233ced1908b8a50ec97d2e600d6eacf8e2a SHA512 d9e36ebd9d6b452a645a0b510ec54cc51694a29c90e1ca4435ac5cd1591c048092bab39820a5a733622ed3ce5400c5320e6e828c5fc3964aa8e2b0e77ebc03ff WHIRLPOOL 756d2e4a37d17069364769043c708924b1f9f78a3a4784b3683df09e29ee43b4543c8a1ae75876a98c4cf7c6ea67a5b4d9c5421641eca3fd6b4be61cb22386dc
DIST darktable-1.2.2.tar.xz 2307300 SHA256 12902e8c3ef185d2167ce3a5f9d11eddde763c5a3cb0e9267f4b470a252fc859 SHA512 d8ec6535119eb0a275efd13c53ec218d08c50595a7417ededf7766208fdbaf44296fbd9044d91f92521d910aff6a5df0ae97a63f87027f972443dabdddb0878e WHIRLPOOL 5ab068c82cbc0c9503a08af2a19e7a2cff9e522b55a6984ad8012ed621bdb2be0ce6dbef48409814b35328401dd1b7d8ddb779117de08a0738e390e9bd34cee7
DIST darktable-1.2.3.tar.xz 2348864 SHA256 686b62e020c13e64d18c9b465742ddec8604cfee36e06c8858301735c29f7316 SHA512 abd01ecadfd54504e90b50181cc84991e623379d003c445134f60c067e35acb93db2cbdb3a4324d8d4545bde84edff116c2241fcf514b372cf57afeb04e6f58f WHIRLPOOL 1a66753618a1c6d261f2456e8d915bea34e592e7045133f00122425955c0190bb74ba7341420a540b717d670ebcdcf975a7feefd0baa4294e0c006889c5e0ff5
DIST darktable-1.2.tar.xz 2399856 SHA256 dc52582b5c5dfbd22e936f1d441e192a4aa53ac6533fe2c53aaa59433ccd5450 SHA512 3a0e10bfeeade0225c7f07a0419a7c7f6f99d6e6a81618e63edf42a00ba3ffa1699c221ade61626f2a1c49e66d275b4351f6dcdb4db8786e6d28b36b68c5758e WHIRLPOOL dc45e15927f015e6c6fcd1e277d46cdeb6efcf5d3eb8b3cf25ccb4a9448f55774022fc1ac1d613251c957a337438c7f7abd1fda53d1ae10d79575f44bb6c9b08
+DIST darktable-1.4.1.tar.xz 2808136 SHA256 cde1394d75f9b6ff6b9f82c5e0c8199dd197d45b6a4fda48e7a54bef23ec71de SHA512 c4e2c880592407d85f7fcb10045b22e0e0e4117baa95e213593214660572c3a406c8272e5d86d7c8c105f556465179cd8322f1c3a82544dc081db29bf21b4b25 WHIRLPOOL 5092df00170be2071ec78c8e50b543e1fce1bb227f751b8c9ec949aa0f41e22032ee77d0b8a6ac37f9acc79b46b3321b3906b5557363ce58143b7104c4a291bf
DIST darktable-1.4.tar.xz 2791544 SHA256 2d5f2e44ffd71789d268cb72e789225bf3f8bce5d85095a411ea658527c5c9dd SHA512 3261d75b591eb91df9b144207dc81c35579c758e90c52717f749accada0e7229e942994112714f1f18b4254e8a248c9a7d35c6a14764e76378cd4d616078e9b8 WHIRLPOOL 572d3ccead3d9cf247899f5dfabfea308ac15c42c65ccc5a6c0f2f6425115f961ff7c8acf29b2e3ac8674b7bcb6aaf7be26de86e85a5435391fd29837faa523c
DIST darktable-usermanual-1.1.2.pdf 8513151 SHA256 a33d4e7bb87c8d7f748f99badb12bd923ba798d205bbddbac85a648d6c9d866f SHA512 1e2b22fc8fb4db7b99dfc8b228310951b04d52a42781f8f83f96ce2e86b24ddc1d3075b246a4d9e73f566a0b57999582daf40f04fd166ab979f8abebe6582275 WHIRLPOOL 5c9733bc155e93fc6c475f93af7246a7123a9257e4ffe1da057845a7d2d9bd4c29a5d61ea172acdb7739abb466c7325502d73b72cbe03d7f4553118bfee5c6f2
DIST darktable-usermanual-1.2.1.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
DIST darktable-usermanual-1.2.2.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
DIST darktable-usermanual-1.2.3.pdf 10016945 SHA256 d82a2de84cbcbfee30f86b22ca5f7c08292b3de6faf54ad130252ddd47d7574a SHA512 f9de8e0bf47eb5a0f84f6abf32f55e87d4275c1dc6447f1a6cfa5b5442f98239d48f377ab760803d07542e9120e25e9ba1d2959575899116b8bb6b1138402ef1 WHIRLPOOL 1e5fe61b7c7c8a63e693f2b748c25f0559ad38ad6b7fdf06564167792be6a833c695825c62a353f4c52abde53a044be3bdb4bc0c737039ebc48c5cf5c9bb417e
DIST darktable-usermanual-1.2.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.pdf 11861765 SHA256 3b604e8de32488c4c9294ee19df2b3bc41f060fc4721a1c5f661b25c52f5b054 SHA512 c94e134137778d57822c1b0e1b876bc0358f2c32bf7978e518c32ae600af60f74f95f6c49ed6c07ff0aa4e035d6108000ceaedda39a900afd0de46632f4c3fd3 WHIRLPOOL 29db2f68cde6b7a2a1ce78a81deb1173a5cbaa643b6593ee8a5b7a55aef9156ed11a3f048f253f0ce47a3f08b37b9f4630f117797be4b15368882a9366f8d6f9
EBUILD darktable-1.1.4.ebuild 3036 SHA256 a4bd471b70d7c8ac9d7b46fda165400331e6f5b7f9f53509ce658ff9753018c6 SHA512 b1f190d28eede6ef61320f25d826cafada48ca1ef91831d50e2b604b067d5fb4ee42c83be165e265c4d999c72b3bed2d815c943e127797a1dbdb2ac18508d3dd WHIRLPOOL 56d833114151d1cafb08abcb3bd4d0f2825dc52122b8eda04765ab9a7858bbca5c9819ab04f3d89a66f0b6e5c6f3857a66011a55288bc5acb4243bc4f0151f9e
EBUILD darktable-1.2-r1.ebuild 3228 SHA256 b4554a32884e3238b367d82b2da95ead47f35ce9949bfee1e4efabb83b3e25a3 SHA512 385bfba4eb1bfe6aaef5b5f8b817f51a15bfb914cdfae5c215ac81f8a84da3af8479ca36dbc4409466d44f73d5a5d6c39dbbdc740d04e93470415135671df361 WHIRLPOOL 91e59a908db5ffd980b9403eacdc1105d5cdb9ecb5a7cd6dbfafac16112718693eb1ec7d3ac6632e58a36ccb648c8c8c93af985be24dbcfbaf77e107bb343ccf
EBUILD darktable-1.2.1.ebuild 3229 SHA256 d9dd4bf7a2c255ff2059d725b0b8b88847b04a6be48b0b93e2bc34dfc1e1d57a SHA512 f94c0a8d33ccf0cbc531161316a58ad1ed80a3a126ad64808058c6aaf02a18945bfc62f4340c24368df8ee673304694db9bb264cc4dfbf0429595676104c48f5 WHIRLPOOL cb79e9a575477b0c2c28427457b1f3a18db3894f321040c5d84ad2a845e7a101e8121596d7efb658e0134daed76bacf9a0dc2850094acfb4bb51cda070a91a76
EBUILD darktable-1.2.2.ebuild 3282 SHA256 27155af50e6786529aae0602d48891d1a6604261669f6164f18fad783c5aba98 SHA512 46240b85ecd449a2d37852c8919c85c76b71c33c9a124663e2205e93f5deeb89197f1d6bd40ddcad09078516417b038eab2f48e30e0375dad4dac7d6bf5e8348 WHIRLPOOL d6bd2ea90a1797af0ad9ab915be3f407ca5a8e4dbe14e4865066ad368ed4f28487fe3088f9cf3b58771d216caf8cb8ccf23812129108f93b126ab020f0ed8439
EBUILD darktable-1.2.3.ebuild 3282 SHA256 093be5e60effae34ada29d09585c9cb346b744a9d5504cbf2b27bd6cf4812fb3 SHA512 2f9ab65f9a65633c0c1465e4138204ea09d571c337215001b70e6474305f1d1561e21750684a35ab8ad90ff259e3accd9030034ff5f429760c74fb78eea9bfac WHIRLPOOL 73257016c61839fc2b218c2b28567691bbd78ede62d973d0ffcbaabf683d3f001bf6ae6e08e8c8d9d777db7f8ac69dcb96792246f623edbdfe28c0e5b3688d00
+EBUILD darktable-1.4.1.ebuild 3745 SHA256 4d7455a86e4cdc7fb8b03665fba5cefb505d45bdd625a3752fbf2945c00bce8d SHA512 be3d8a2ddb56da242cfc4dd669a76acb0de8fde34976fedb421e57cd6ef646521d99ed3133520e32780ba3e8abfec3327046b297b305bbfe3686b354c9584dbc WHIRLPOOL d9fd3d12b630f79e582af0a510a634ee7573f572d6723108ab6966af678e1ecc03074eb92e6fa9a6e3572d72e16fe7ccb4e7226925c2d4208020f6b5c376bb47
EBUILD darktable-1.4.ebuild 3610 SHA256 a80f1ced356c1370504fc53e2e933ae5ca53c54680245e487a2f8fdcbdbacd51 SHA512 1d4f4282ebde38971bcc2672091d78e66ca4ba03aaec35730c8b20e248fd758b55ce6f7069dee33d70e124f1ac6024a3ab3c5ea714741f183328b68242a8637f WHIRLPOOL f47e78e63bf4279b647d0dce380153d65af47e75f9ab053cb86e9b1cf98c1d2b6e88fbb05295c0d5490090d1d58801c5539287a2eff9cd0bd3572d34066e568e
-EBUILD darktable-9999.ebuild 3479 SHA256 b647253a348c05eddbccf79b8cc49a3952fb25ebafa44bbb95e03693cd30c6be SHA512 5eda58c598c73ee2dc53f34088e068f82fd6ba23e26bb44e00aa39a4bec0b5a3cc88099715e505e54831ec3d9bd4a66810c57c43684f494e4a00959ae9071686 WHIRLPOOL 1fa416fc747cf5f286f11895a15c931754a9be0612b3844391d576bd5aeb50656dfe7cb8a31260082ee390320e8f65d0c2d6dd3c638034ef06cf7db772cdd1b0
-MISC ChangeLog 9910 SHA256 5dd6c14e5dc7182aa378f76dd55c35496c8110a27de24e01448b9044fb2fca70 SHA512 e6a59ceb8b10c7171c58abd9e78dd3203b025f1bd4b93a101df04a4980e369be75ed1315f7d1b88cbcbed1911f56fe5c57655a48d8086373affe8b778f5bf80a WHIRLPOOL 4eae1ad80e9323fb7d47a01f64bc44d29eec9bdc24960937bbf9e18826a442270701238d1602d29b8b60385b3902bb0b49b37c1c5be3917e4b251c06a368c1b7
+EBUILD darktable-9999.ebuild 3471 SHA256 a5b7d9aa90e4491fd87ddfc368716707cc773b23e396554f81d480889984d1a3 SHA512 7f6874f9c072062a161a34b41d7a3f7db5fe083c2debc344bc90664d73cba343b8ee0bf4bd6a0e6029f35724ca427a1bb9a2c9f11c4342d64a5881949bf52565 WHIRLPOOL 79df8586aafcbde8441c039c6918ed674d6d8f3489f65086f402936c8607049b27b29546fd5431e794d4e60b8a77834fa8f9df1d63e3adda3282226fc10788f1
+MISC ChangeLog 10145 SHA256 9f81c0ec5485e57bdf1392c811f8f221a9366d7134e5f5df3e9c9e1c7fcbb8a9 SHA512 3d5533294652238a542a70b7048fce896b72e4175a52615f6934c4247b5b55d385ac4507f22818e17f1bf35a3429d5bb04b18be8984e74d449eb1364192a807d WHIRLPOOL e017b98775cec5b106d39f369da0943247b7e965e88524bbd48f23a48c95811cf39de279bc16d9fb7e52810b80d0646bdef9c10d291d51c7d4c0963c46943ebd
MISC metadata.xml 1268 SHA256 5571c28d8453c20cc9974239602d955cec07a1b1986a345d18f389cc7737672c SHA512 a97bd9f3fc0080ed965852c800882049bff13632b05e4dd9585ca3e173da56e445b82e2c96fb857639069071106a930eb23fd3997245bb1c3d81f982032fdd3e WHIRLPOOL 77924d501edfa8e688f41fdbaba0cce0cf82a16e05925c62be0baeddc982f669520359773281de454d50a641dba0e11198997d01701179a47faa46fd15ed0690
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iEYEAREIAAYFAlLe26cACgkQkKaRLQcq0GLZVgCfY4f8bNHpeh1BayAPgvIOPZ28
-b9cAnjk5pcA5OnG/Xmj/Uck/qFIgudWo
-=9IGP
+iQEcBAEBCAAGBQJS+biWAAoJEEqz6FtPBkyjAfoH+wcGsEt1Yf1RLNpVFfwhfKFO
+vZwO9IcBc5hXLA2PjrtowOuBWiHXV6IN6+kW2Vuz/bmBoPjkrHg8dHbVG2vig4tr
+mYp4hvymqmSKyJqL1xfphiMtaSDUyWrZJXx/dVGDLyVcE5e39O51A43IDJ+n9CiO
+nbiE8SdWgpizIqeSP9nKUCqvHB3uw5Gyi1RB6n+J1eGP6wpUxYotNKdrqx5raPut
+IetchWWnrKLgYsmEbYWEgaZSfP8Y4iNXBOKCofiU1XEuGrQf0sb5cnSRNcdkukaJ
+hXomu+a/sRyi/UQ/OOWWBBv8+pUlWA6SWPLkwN4kWnCqx5TAqtVw2oN95eKdn+I=
+=dd3f
-----END PGP SIGNATURE-----
diff --git a/media-gfx/darktable/darktable-1.4.1.ebuild b/media-gfx/darktable/darktable-1.4.1.ebuild
new file mode 100644
index 000000000000..0a237edccb4d
--- /dev/null
+++ b/media-gfx/darktable/darktable-1.4.1.ebuild
@@ -0,0 +1,133 @@
+# 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.4.1.ebuild,v 1.1 2014/02/11 05:43:49 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="mirror://sourceforge/${PN}/${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
+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 )
+ 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}
+ kde? ( kde-base/kwalletd )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+PATCHES=( "${FILESDIR}"/${P}-automagic-openexr.patch )
+
+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: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 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 8a4b6912a895..bb590a9c922a 100644
--- a/media-gfx/darktable/darktable-9999.ebuild
+++ b/media-gfx/darktable/darktable-9999.ebuild
@@ -1,6 +1,6 @@
# 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.12 2014/01/21 20:35:00 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/darktable/darktable-9999.ebuild,v 1.13 2014/02/11 05:43:49 radhermit Exp $
EAPI=5
@@ -10,11 +10,9 @@ EGIT_REPO_URI="git://github.com/darktable-org/darktable.git"
DESCRIPTION="A virtual lighttable and darkroom for photographers"
HOMEPAGE="http://www.darktable.org/"
-SRC_URI=""
LICENSE="GPL-3 CC-BY-3.0"
SLOT="0"
-KEYWORDS=""
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
@@ -70,7 +68,7 @@ src_prepare() {
-e "s:LICENSE::" \
-i doc/CMakeLists.txt || die
- epatch_user
+ cmake-utils_src_prepare
}
src_configure() {
diff --git a/media-gfx/darktable/files/darktable-1.4.1-automagic-openexr.patch b/media-gfx/darktable/files/darktable-1.4.1-automagic-openexr.patch
new file mode 100644
index 000000000000..f41c0b00d0f1
--- /dev/null
+++ b/media-gfx/darktable/files/darktable-1.4.1-automagic-openexr.patch
@@ -0,0 +1,35 @@
+--- darktable-1.4.1/CMakeLists.txt
++++ darktable-1.4.1/CMakeLists.txt
+@@ -26,6 +26,7 @@
+ option(BINARY_PACKAGE_BUILD "Sets march optimization to generic" OFF)
+ option(APRIL_FOOLS "Add the \"file manager\" (a shell) to lighttable mode" OFF)
+ option(USE_XMLLINT "Run xmllint to test if darktableconfig.xml is valid" ON)
++option(USE_OPENEXR "Enable OpenEXR support" ON)
+ option(USE_OPENJPEG "Enable JPEG 2000 support" ON)
+ option(USE_WEBP "Enable WebP export support" ON)
+ option(BUILD_CMSTEST "Build a test program to check your system's color management setup" OFF)
+--- darktable-1.4.1/src/CMakeLists.txt
++++ darktable-1.4.1/src/CMakeLists.txt
+@@ -152,13 +152,15 @@
+ add_definitions(${INOTIFY_DEFINITIONS})
+ endif(INOTIFY_FOUND)
+
+-find_package(OpenEXR)
+-if(OPENEXR_FOUND)
+- include_directories(${OpenEXR_INCLUDE_DIRS})
+- list(APPEND LIBS ${OpenEXR_LIBRARIES})
+- add_definitions(${OpenEXR_DEFINITIONS})
+- list(APPEND SOURCES "common/imageio_exr.cc")
+-endif(OPENEXR_FOUND)
++if(USE_OPENEXR)
++ find_package(OpenEXR)
++ if(OPENEXR_FOUND)
++ include_directories(${OpenEXR_INCLUDE_DIRS})
++ list(APPEND LIBS ${OpenEXR_LIBRARIES})
++ add_definitions(${OpenEXR_DEFINITIONS})
++ list(APPEND SOURCES "common/imageio_exr.cc")
++ endif(OPENEXR_FOUND)
++endif(USE_OPENEXR)
+
+ find_package(WebP 0.3.0)
+ if(WEBP_FOUND)