diff options
author | Markus Meier <maekke@gentoo.org> | 2015-11-21 16:32:55 +0100 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2015-11-21 16:33:25 +0100 |
commit | ba23f1b90c4d75d4ae30795f340afc2cb5d4b35d (patch) | |
tree | 429f17c9308375cfc6c12d91193fe7e7a78b801b /media-gfx | |
parent | sys-apps/paxctld: version bump to 1.0.1 (diff) | |
download | gentoo-ba23f1b90c4d75d4ae30795f340afc2cb5d4b35d.tar.gz gentoo-ba23f1b90c4d75d4ae30795f340afc2cb5d4b35d.tar.bz2 gentoo-ba23f1b90c4d75d4ae30795f340afc2cb5d4b35d.zip |
media-gfx/darktable: version bump
Package-Manager: portage-2.2.25
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/darktable/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-2.0_rc2.ebuild | 147 | ||||
-rw-r--r-- | media-gfx/darktable/darktable-9999.ebuild | 2 |
3 files changed, 149 insertions, 1 deletions
diff --git a/media-gfx/darktable/Manifest b/media-gfx/darktable/Manifest index f9a206b052f5..6dde53fc9131 100644 --- a/media-gfx/darktable/Manifest +++ b/media-gfx/darktable/Manifest @@ -3,4 +3,5 @@ DIST darktable-1.6.7.tar.xz 3113804 SHA256 a75073b49df0a30cd2686624feeb6210bc083 DIST darktable-1.6.8.tar.xz 3118776 SHA256 b676f81bd8cc661a8f76e03ad449da4444f770b6bec3e9accf013c636f690905 SHA512 8811e8f931299b4fb86d3611696061404253985328178231902e749dc55b4f02d5193ce2e2eaf8c6351f9f7374870bcbdc55b145dfb75cd7669556494b457bbb WHIRLPOOL acfe83ebcc697904246a11583d0ff521365639d2006629e76123db93c35ea7ed39cbd7fed54470e5ed0e27cc6b28d70559738d68f36c31be63391c539c5323cb DIST darktable-1.6.9.tar.xz 3124940 SHA256 0f721e9d298a9407f6c0325d9c95b9dc37fa60f3b6a2f2e3b5675ff97c423173 SHA512 c0e8e83cf1cb10b663e5486f2bdde3cba2db5dbaabacd260999be1173c67618023e785e9087a517959835459f8d54c245d190f63a9422a17f3472f5aa316d492 WHIRLPOOL 0a2446ff7f98cf0297c5948009414dbf828f1cc60a9fb117f1e110f454dd68df611310bd9ff287f1f2345a8ee9818c1918b4ac7791aeb094c01e71a1ecdfce9d DIST darktable-2.0.rc1.tar.xz 2912620 SHA256 412f17131c8674e266c91c933de1aa2b04c2ab7efdc04a60b00faf3abffc0446 SHA512 b94b40fa06f6ece6b7082d42ff91c4a338eb5d942d58b8941835b5d151cc5723faa44c1dc172ccd804fe23197b4e0f1d83b3c95b79bcfebe3cee20cfc5bfe407 WHIRLPOOL 10dda638fa54074e6b95e6e814d9c61c3963782d3787ce681c0cbbe90bd9683e8bf45cc49287725210b3572ed6df2d5234e3ba6c16a94a25533b56fe5c683b20 +DIST darktable-2.0.rc2.tar.xz 2946020 SHA256 9349eaf45f6aa4682a7c7d3bb8721b55ad9d643cc9bd6036cb82c7654ad7d1b1 SHA512 a6cdec0a5a8957df3ab55c2a4420b7e702519e28af1c91bbe893914dbda9bd22f8c58197aa684ad19f0f843bc75c594185d9b3dca13075843772861d33833bde WHIRLPOOL 49794626a1f9f665f6d785e0221dfd58812eb959ccb0f35bd33497a0444ffe6addeeb7bae5b6de5be6dc810e07635c3e89aec2e3cc616a63aede00b9d4121cf5 DIST darktable-usermanual-1.6.0.pdf 12827069 SHA256 f5c46dbf0a2dd2d391f92555abdefe735c6362e51a755b296d71779492b7e945 SHA512 39ee8c1b4f23883025750416d9d1f73d1dfbec0e6ac3eeef0f15778ced66a373c00b0a46cb3a54b1cfd6e04313313f63e8e3cd3d0cbea011acaa07a725d0ab02 WHIRLPOOL 49a234e57c14d23ccb85eadf2ad03c52eae7f90b0371dce025c04019a7a5cca41858084f735fe0965f93958ab83601571ab3e33acd27c2bcbd381bb0c9da4794 diff --git a/media-gfx/darktable/darktable-2.0_rc2.ebuild b/media-gfx/darktable/darktable-2.0_rc2.ebuild new file mode 100644 index 000000000000..c2703201f1c6 --- /dev/null +++ b/media-gfx/darktable/darktable-2.0_rc2.ebuild @@ -0,0 +1,147 @@ +# Copyright 1999-2015 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 versionator + +DOC_PV="1.6.0" +MY_PV="$(replace_version_separator 2 "")" +MY_P="${PN}-$(replace_version_separator 2 ".")" +MY_P_S="${PN}-$(replace_version_separator 2 "~")" + +DESCRIPTION="A virtual lighttable and darkroom for photographers" +HOMEPAGE="http://www.darktable.org/" +SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_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=" af ca cs da de el es fi fr gl it ja nl pl pt_BR pt_PT ro ru sk sq sv th uk zh_CN" +# TODO add lua once dev-lang/lua-5.2 is unmasked +IUSE="colord cups cpu_flags_x86_sse3 doc flickr geo 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 + 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-misc/colord:0= ) + cups? ( net-print/cups ) + flickr? ( media-libs/flickcurl ) + geo? ( net-libs/libsoup:2.4 ) + 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 )" + +S="${WORKDIR}/${MY_P_S}" + +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 geo GEO) + $(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_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 +} + +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 feca19e47b67..c22ec310665e 100644 --- a/media-gfx/darktable/darktable-9999.ebuild +++ b/media-gfx/darktable/darktable-9999.ebuild @@ -14,7 +14,7 @@ HOMEPAGE="http://www.darktable.org/" LICENSE="GPL-3 CC-BY-3.0" SLOT="0" #KEYWORDS="~amd64 ~x86" -LANGS=" af ca cs da de el es fi fr gl it ja nl pl pt_BR pt_PT ro ru sk sq sv th uk zh zh_CN" +LANGS=" af ca cs da de el es fi fr gl it ja nl pl pt_BR pt_PT ro ru sk sq sv th uk zh_CN" # TODO add lua once dev-lang/lua-5.2 is unmasked IUSE="colord cups cpu_flags_x86_sse3 doc flickr geo gphoto2 graphicsmagick jpeg2k kde libsecret nls opencl openmp openexr pax_kernel +slideshow webp |