diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-03-08 22:10:29 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-03-08 22:11:08 +0100 |
commit | 8cfeadabcd9b0d02f51317e66d84065f46827cdc (patch) | |
tree | bd610b7bfcec0f1723af4de36499df888a4b23aa /media-gfx/darktable | |
parent | media-video/omxplayer: adjusted and improved ebuild from bug #421683 (diff) | |
download | gentoo-8cfeadabcd9b0d02f51317e66d84065f46827cdc.tar.gz gentoo-8cfeadabcd9b0d02f51317e66d84065f46827cdc.tar.bz2 gentoo-8cfeadabcd9b0d02f51317e66d84065f46827cdc.zip |
media-gfx/darktable: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-gfx/darktable')
-rw-r--r-- | media-gfx/darktable/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-2.0.2.ebuild | 147 |
2 files changed, 148 insertions, 0 deletions
diff --git a/media-gfx/darktable/Manifest b/media-gfx/darktable/Manifest index d1b1bb9dc0c5..4b9714ddf18c 100644 --- a/media-gfx/darktable/Manifest +++ b/media-gfx/darktable/Manifest @@ -1,4 +1,5 @@ DIST darktable-1.6.9.tar.xz 3124940 SHA256 0f721e9d298a9407f6c0325d9c95b9dc37fa60f3b6a2f2e3b5675ff97c423173 SHA512 c0e8e83cf1cb10b663e5486f2bdde3cba2db5dbaabacd260999be1173c67618023e785e9087a517959835459f8d54c245d190f63a9422a17f3472f5aa316d492 WHIRLPOOL 0a2446ff7f98cf0297c5948009414dbf828f1cc60a9fb117f1e110f454dd68df611310bd9ff287f1f2345a8ee9818c1918b4ac7791aeb094c01e71a1ecdfce9d DIST darktable-2.0.0.tar.xz 2888596 SHA256 d4f2f525bbbb1355bc3470e74cc158d79d7e236f3925928f67a88461f1df7cb1 SHA512 d4c829212bd30e218a3870d2fb5907c707dd41ed672cbebf38b02d6b771f252fa09648bd4b2496ad6381f2a3238cb0d5090afa05a4be3e3c284900cf6e010f16 WHIRLPOOL 7bbece902492f1865efa3b1e6c61424331301f0a6cf52ce8128506da6b9fa91493110711bb26d181b6208fe788994b5ffd3e332bb4829742f8f0ab24ffe19254 DIST darktable-2.0.1.tar.xz 2927028 SHA256 4d0e76eb42b95418ab59c17bff8aac660f5348b082aabfb3113607c67e87830b SHA512 457122dcc3b1ddf8d604cf57f46213511d4f64a241d742cdfb2985fb6c9a4e2f27eee1f77819d14e2e8dcea574db21119c1264779d92ce98066f441daae99adb WHIRLPOOL 7870d724379eb556979224d392a505de592143f27b4f70ae7d7a757e5b96f8e1cdc9dae11cfac2e0e29a865cc339e5c97c0b4b6f45be6e49e5ab73eaa6ac4547 +DIST darktable-2.0.2.tar.xz 2963072 SHA256 75ea6354eb08aab8f25315a2de14c68dc6aad6ee5992061beea624afc7912400 SHA512 428973615703206d6097ab3f9028269903ecbf8447f11ad79c2e83303e63b992bb0fb4c11a21e830c56355203dff5342c9dc8ff556839962145da8d5e76f512d WHIRLPOOL efc14be6600b72f54f431c149f605a7cf0baf26af8ea8a033e52e5db83ec465c9470ced600984ab6351d013556168bd318828e2484c6d1d0c7c1044dbe64b267 DIST darktable-usermanual-1.6.0.pdf 12827069 SHA256 f5c46dbf0a2dd2d391f92555abdefe735c6362e51a755b296d71779492b7e945 SHA512 39ee8c1b4f23883025750416d9d1f73d1dfbec0e6ac3eeef0f15778ced66a373c00b0a46cb3a54b1cfd6e04313313f63e8e3cd3d0cbea011acaa07a725d0ab02 WHIRLPOOL 49a234e57c14d23ccb85eadf2ad03c52eae7f90b0371dce025c04019a7a5cca41858084f735fe0965f93958ab83601571ab3e33acd27c2bcbd381bb0c9da4794 diff --git a/media-gfx/darktable/darktable-2.0.2.ebuild b/media-gfx/darktable/darktable-2.0.2.ebuild new file mode 100644 index 000000000000..942f885bbbbe --- /dev/null +++ b/media-gfx/darktable/darktable-2.0.2.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils flag-o-matic toolchain-funcs gnome2-utils fdo-mime pax-utils eutils + +DOC_PV="1.6.0" + +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? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )" + +LICENSE="GPL-3 CC-BY-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LANGS=" ca cs da de el es fr it ja nl pl pt_BR pt_PT ru sk sq sv uk" +# TODO add lua once dev-lang/lua-5.2 is unmasked +IUSE="colord cups cpu_flags_x86_sse3 doc flickr gphoto2 graphicsmagick jpeg2k kde libsecret +nls opencl openmp openexr pax_kernel +slideshow webp +${LANGS// / linguas_}" + +# sse3 support is required to build darktable +REQUIRED_USE="cpu_flags_x86_sse3" + +CDEPEND=" + dev-db/sqlite:3 + dev-libs/json-glib + dev-libs/libxml2:2 + dev-libs/pugixml:0= + gnome-base/librsvg:2 + media-gfx/exiv2:0=[xmp] + media-libs/lcms:2 + >=media-libs/lensfun-0.2.3:0= + media-libs/libpng:0= + media-libs/tiff:0 + net-misc/curl + virtual/jpeg:0 + x11-libs/cairo + x11-libs/gtk+:3 + x11-libs/pango + colord? ( x11-libs/colord-gtk:0= ) + cups? ( net-print/cups ) + flickr? ( media-libs/flickcurl ) + gphoto2? ( media-libs/libgphoto2:= ) + graphicsmagick? ( media-gfx/graphicsmagick ) + jpeg2k? ( media-libs/openjpeg:0 ) + libsecret? ( + >=app-crypt/libsecret-0.18 + ) + opencl? ( virtual/opencl ) + openexr? ( media-libs/openexr:0= ) + slideshow? ( + media-libs/libsdl + virtual/glu + virtual/opengl + ) + webp? ( media-libs/libwebp:0= )" +RDEPEND="${CDEPEND} + x11-themes/gtk-engines:2 + kde? ( kde-apps/kwalletd:4 )" +DEPEND="${CDEPEND} + dev-util/intltool + 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() { + use cpu_flags_x86_sse3 && append-flags -msse3 + + 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_build cups PRINT) + $(cmake-utils_use_use flickr FLICKR) + $(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 nls NLS) + $(cmake-utils_use_use opencl OPENCL) + $(cmake-utils_use_use openexr OPENEXR) + $(cmake-utils_use_use openmp OPENMP) + $(cmake-utils_use_build slideshow SLIDESHOW) + $(cmake-utils_use_use webp WEBP) + -DUSE_GEO=OFF + -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-${DOC_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 + + elog "when updating from the currently stable 1.6 series," + elog "please bear in mind that your edits will be preserved during this process," + elog "but it will not be possible to downgrade from 2.0 to 1.6 any more." + echo + ewarn "There will not be possible to downgrade!" +} + +pkg_postrm() { + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} |