diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:17:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-28 08:17:07 +0100 |
commit | 5a165c60b9b8c4847067cb83b4be7da785d01f93 (patch) | |
tree | 166b01591366d3479084ea774c888bc84aaa8d4f /media-gfx | |
parent | a5b65c81168c90928784a1e92cda84ed5d6b9eb3 (diff) |
gentoo resync : 28.09.2019
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/Manifest.gz | bin | 41117 -> 41112 bytes | |||
-rw-r--r-- | media-gfx/entangle/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/entangle/entangle-2.0.ebuild | 62 | ||||
-rw-r--r-- | media-gfx/entangle/metadata.xml | 18 | ||||
-rw-r--r-- | media-gfx/gifsicle/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gifsicle/gifsicle-1.92.ebuild | 32 | ||||
-rw-r--r-- | media-gfx/gmic/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-2.7.2.ebuild | 171 | ||||
-rw-r--r-- | media-gfx/rawtherapee/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/rawtherapee/rawtherapee-5.7.ebuild | 72 |
10 files changed, 357 insertions, 8 deletions
diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz Binary files differindex e3d7080d5d72..db0d69e3d889 100644 --- a/media-gfx/Manifest.gz +++ b/media-gfx/Manifest.gz diff --git a/media-gfx/entangle/Manifest b/media-gfx/entangle/Manifest index c883c1c54464..ae00c16cfd18 100644 --- a/media-gfx/entangle/Manifest +++ b/media-gfx/entangle/Manifest @@ -1,3 +1,5 @@ DIST entangle-0.6.0.tar.gz 906858 BLAKE2B 18a35ef7e077f5929846127e06bff2d07b61c5409d2957b421d8ec5466f29483b6fc7d5567cd057e2b44ef4147ed962e267e7e5509ef6640582b5d291a7f79f3 SHA512 f96718f01286eb0dbf1fafd4d51258bda876a5b22a6167173f0f60b4fe00683baff3d4c8f9866a5dc1eec493e2b25fd932794a63a8a8d102cb220b1d6ea8e960 +DIST entangle-2.0.tar.xz 501912 BLAKE2B b7e1c393dc95d66bf4389c607c0eb6eb70161ceb2c845135c7c99313a1ec13388c6b00fd6ed7f38ad6f9f18d8c97eba0aadab7964d1be8ec03373e5598374796 SHA512 be8b75c5dd0bdd7cd380f35b5d46d7be9f7caa2be257ce954cf9516ebd5601071ac8b50838f9c40470b6e3e5f95083c3671af68ac43eb345a60d674636a0fe86 EBUILD entangle-0.6.0.ebuild 991 BLAKE2B b2e7b5d920568738ce62ee83c72ec89d96d8f5d5a3e89211a11f92ec618adcc85ab036097a3d256f18c1098ca6a97e668a505a24df271cbdfa6cd1a8f21e6485 SHA512 eb5c262a859934b1b22298dd4cabdf65e64b903dae4c78223a56a73b0286916cc4ff163b60f5af8fa5244e93ed577aba0c09c79726264731849006720f78dbb5 -MISC metadata.xml 346 BLAKE2B 12d00415bad0a463fd1142e017b413407432f5b41c4a157486d1ba95166e3fa13365464b50539aaf134b9fbdde07dc3a6e57a14fdbf09c059d08124022c86b71 SHA512 19cac2a6a0e8bb49233bc0ddcaed0fb1de6201dd97310905541eff5f6bbde29d80a4afb8c0860871e0cb95c5ca1c68db493cdd80606bcbf228f8d041d8337561 +EBUILD entangle-2.0.ebuild 1394 BLAKE2B e6b738c209f4e34b48e9b579046df773088d40c30896ffd5c8a187245efeaeff768b17e856959a30485018b138f152a661b3a14c68f410b83a316afc9a73cf44 SHA512 73fb905c8fab176b8b9a8f9a53034c52b6a3e35500ddb87c6a5d4c3e8a13446074de50a150dc8e54bda3bcec1a603d8a03626bc86022df4e62b6830041df4c17 +MISC metadata.xml 446 BLAKE2B 1c466f17b5df47045169784918723e953945eaad2eb5879cde6f099feec4cb419e867f77879927933fe3daec259184a361f464b968b19bdf3463b01b7371589d SHA512 555966a8638a027288abdc7ba6d625c15c18792c3401d399a12dc256ec75f14882fce3e70596a3f3e2ed6729e471af04b14d520b8e2e70206a172f98b9967dae diff --git a/media-gfx/entangle/entangle-2.0.ebuild b/media-gfx/entangle/entangle-2.0.ebuild new file mode 100644 index 000000000000..1d719a1b3d2d --- /dev/null +++ b/media-gfx/entangle/entangle-2.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit gnome2-utils meson python-single-r1 xdg-utils + +DESCRIPTION="Tethered Camera Control & Capture" +HOMEPAGE="https://entangle-photo.org/" +SRC_URI="https://entangle-photo.org/download/sources/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.36:2 + >=dev-libs/gobject-introspection-1.54.0 + >=dev-libs/libpeas-1.2.0[gtk,${PYTHON_USEDEP}] + >=media-libs/gexiv2-0.10[introspection] + >=media-libs/libgphoto2-2.5.0:= + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + media-libs/lcms:2 + >=media-libs/libraw-0.9.0 + >=x11-libs/gdk-pixbuf-2.12.0:2 + >=x11-libs/gtk+-3.22:3[introspection] + >=x11-libs/libXext-1.3.0 + x11-themes/adwaita-icon-theme + virtual/libgudev:=" +RDEPEND="${DEPEND}" + +# perl for pod2man +BDEPEND=" + app-text/yelp-tools + dev-lang/perl + dev-util/glib-utils + dev-util/gtk-doc + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig" + +src_compile() { + # prevent gst from loading system plugins which causes + # sandbox violations on device access + local -x GST_PLUGIN_SYSTEM_PATH_1_0= + meson_src_compile +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +} diff --git a/media-gfx/entangle/metadata.xml b/media-gfx/entangle/metadata.xml index b14feceaa878..b2ed51eff367 100644 --- a/media-gfx/entangle/metadata.xml +++ b/media-gfx/entangle/metadata.xml @@ -1,11 +1,15 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>lu_zero@gentoo.org</email> - </maintainer> -<maintainer type="project"> - <email>media-video@gentoo.org</email> - <name>Gentoo Video project</name> - </maintainer> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <maintainer type="person"> + <email>lu_zero@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + <name>Gentoo Video project</name> + </maintainer> </pkgmetadata> diff --git a/media-gfx/gifsicle/Manifest b/media-gfx/gifsicle/Manifest index e07bb68e52f3..4943fa76dec4 100644 --- a/media-gfx/gifsicle/Manifest +++ b/media-gfx/gifsicle/Manifest @@ -1,3 +1,5 @@ DIST gifsicle-1.91.tar.gz 571588 BLAKE2B be3973141e57618d50efb5205f79e485a4450ceed02d6c718e49305250941656f0d220c91d2056554348d14348ed1ddf03f0aa9c47e22589994c5e80046422f6 SHA512 49b89e6f99bffd0dd732c920b936c2430a2f4f595d46e41654e5f39f180acaf9b0a4aec6cf52597c470d7c60265f16b730f6ce82e08701a2054fc3d08754c6da +DIST gifsicle-1.92.tar.gz 575199 BLAKE2B 53716621846b14c0727e05893cb1876572ab80aa4d444c2b75499b541a19a5e45738b817c203b3926301378b2211a3263311c424cd8dd53e71d2b60f28ecdfb3 SHA512 5d9539eb5a6a8b87aed49ff3ca3d62e337845edbd05459b002369d571f74878c99740c34f50b4c86e5b8787ff189d4c21230e4f9019cd96a09db603afd7563dc EBUILD gifsicle-1.91.ebuild 664 BLAKE2B 68b81b9e33c05331fa0b57886797b3f5a7629b9736889604c1d284628719bcfec5b446ae43eb2711145ed107681c20896d18d58d2caa5a6a1e39ccab65da0619 SHA512 378e4bb6251fe7ffed3263229aa20a6c4f0d2c3be6154049f91c9535b27f5e0c105b31c82c28870941921c2c42da6d104bf5a877ab36f706b45a3cb463748f8c +EBUILD gifsicle-1.92.ebuild 664 BLAKE2B c2bb30c984b892252b5c0f6b88197ac976d90d94e9c20075630e4c793e74ff731218e4ac5c819765c6fc61390bc00d44d8294933d2fd2b36f9ab56e2a9ffc8b7 SHA512 5584aa0b1d3cbe06fc693709f8e600b34dddde0cb3febf4a35ebb76cdcdff4be4e76cdace85b47b94fefe7793a0a9d0cfcdc1e629d2c1d1b104dfdc77fca1a8d MISC metadata.xml 255 BLAKE2B f12a1ca502ad96bd6de4c8b83dfb8887ab70dec78f10a8b52dcd4618eb182192477ddca18738d734a43f3c7ac3b5e0955f4ae9347ea80e788a92974c7d50a574 SHA512 b7bc93530a1726c2d4dfbc71ae29cfbb57712fd9fdd2e76fd52f35ab4368cba0497b50145d1527a3b79e465d459a380821bb1371a01c2e915dc9adc6c7fafd5f diff --git a/media-gfx/gifsicle/gifsicle-1.92.ebuild b/media-gfx/gifsicle/gifsicle-1.92.ebuild new file mode 100644 index 000000000000..a51d01b08353 --- /dev/null +++ b/media-gfx/gifsicle/gifsicle-1.92.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Create, manipulate, and optimize GIF images and animations" +HOMEPAGE="https://www.lcdf.org/~eddietwo/gifsicle/ https://github.com/kohler/gifsicle" +SRC_URI="https://www.lcdf.org/~eddietwo/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="X" + +RDEPEND=" + X? ( + x11-libs/libX11 + x11-libs/libXt + ) +" +DEPEND=" + ${RDEPEND} + X? ( x11-base/xorg-proto ) +" +DOCS=( + NEWS.md + README.md +) + +src_configure() { + econf $(usex X "" "--disable-gifview") +} diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest index 19d77de7d636..6bcaf7610a17 100644 --- a/media-gfx/gmic/Manifest +++ b/media-gfx/gmic/Manifest @@ -3,6 +3,8 @@ AUX gmic-2.6.7-qt-cmake.patch 1765 BLAKE2B ca0f8cd00d2c89f1868a853b18107de20c6fb AUX gmic-2.7.1-qt-cmake.patch 1005 BLAKE2B 2b7e5f60788db611859b803cebd5e6e44ee7fac791d97e37fc22290e813c43b7b5d93e8725da2648c19999234f650399eb5fa7c973932f9bb1407fb88a955f58 SHA512 05fd4675cc1b65e4e504ae4c9913566b59b4c69467775a73734f01f9af842b87696c244203e9be75ef26876c452b34edfdfe1ed201ee6cdc934b2ea786c45a86 DIST gmic_2.7.0.tar.gz 5823828 BLAKE2B 5a59e247ca5eb5f1aad841597fb008d9816e3c968224b8f59e51bc443218292601f8b5eea76353429677eb3ddc3fcf8f8ff28eaedd3a8ec66d84ebeb825fe7d3 SHA512 8269540253774061b108b309463dfbadb76b925e36f5d62be59020fef4178fc83b79a221f32104880b51cd9d7aef67a698beb648c6e544e4e58b88796e46a0c4 DIST gmic_2.7.1.tar.gz 5843308 BLAKE2B 8a348d9444ba0879816a438161c130e9fc706178f93c6a1202586209f2d3779dfce48d2bd3147b47dec9614e4a3687108913b45e6c91afc8bc6266aabee26012 SHA512 9a2f8536217ba449207022bb1dfc92d3826bea80f8e7a048880c5c4451070e7a09b21c0c17199941284040b8f3661dc93737d0f67975c58b6a7015038c49465e +DIST gmic_2.7.2.tar.gz 5848157 BLAKE2B 192eb02c1079072064d67d4cc834e8d674b55e0ce663501775ca2d31a4627129d9c1075d217800049e150c3dc7b6059c2521be1a594034df04beef416c6d888a SHA512 d8e26720d30235d613a618ce01615bd82fe0caf73979e5797865a459d7d7f877169111da98db88bfff62d0383e0301789aae7d3449ca9869d43847c6a5cbd7fb EBUILD gmic-2.7.0.ebuild 4397 BLAKE2B da553fd50d27145cdc0fbfac7633e6c3e1c3421e36e59eff0b3635a5ee149d460ab3afa47e094d62ef73231b21f8e3578b43ce829e30d08545c6792bea0a279e SHA512 23b26101bb327a78d2ae907d0de5600835861024bffc0cd75b77e9a571daab212d12812b995f72e213967320d797ed4bab2484ff7f63bf931a6cc24fc86a9a04 EBUILD gmic-2.7.1.ebuild 4397 BLAKE2B 4cab4b7f8ac92099459cc9c5830cb9adde000943474c3fc246639cce86fae71750a44145ddccb98af24848d047806cd4988d74ba2fa704e09adaeccafdf60726 SHA512 142736b44fe0df5ea579fa8bdf3ad973d6e7c40887c9e47fd06ce7dc5071f980368fdfae8a6c0d50d39bd1654867c47b15688d47a131eeb68f08eb516dc659cf +EBUILD gmic-2.7.2.ebuild 4397 BLAKE2B 4cab4b7f8ac92099459cc9c5830cb9adde000943474c3fc246639cce86fae71750a44145ddccb98af24848d047806cd4988d74ba2fa704e09adaeccafdf60726 SHA512 142736b44fe0df5ea579fa8bdf3ad973d6e7c40887c9e47fd06ce7dc5071f980368fdfae8a6c0d50d39bd1654867c47b15688d47a131eeb68f08eb516dc659cf MISC metadata.xml 547 BLAKE2B 0da3088e531217099bf3f690059d3725ba3c62ad9337dfbf3817584f95594a328b647b0a81eb4d58c2cbc030026bf2aa94e01c817b04072aea1caee435f6ef9f SHA512 e58e976f8e80eea8e3620888858d6386e5d922c842e08c39f7ad611a5fc96e5fb85e39864bc0e805dd20a2c19e02b9fb8d1a5eaaa470075ed73759dcdcd4fbee diff --git a/media-gfx/gmic/gmic-2.7.2.ebuild b/media-gfx/gmic/gmic-2.7.2.ebuild new file mode 100644 index 000000000000..bd8a5d1a186b --- /dev/null +++ b/media-gfx/gmic/gmic-2.7.2.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_BUILD_TYPE=Release +CMAKE_MIN_VERSION=3.9 + +inherit cmake-utils bash-completion-r1 + +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/dtschump/gmic.git" + inherit git-r3 +else + SRC_URI="https://gmic.eu/files/source/${PN}_${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="GREYC's Magic Image Converter" +HOMEPAGE="https://gmic.eu/ https://github.com/dtschump/gmic" + +LICENSE="CeCILL-2 GPL-3" +SLOT="0" +IUSE="+cli curl ffmpeg fftw gimp graphicsmagick jpeg krita opencv openexr openmp png qt5 static-libs tiff X zlib" +REQUIRED_USE=" + || ( cli gimp krita qt5 ) + gimp? ( png zlib fftw X ) + krita? ( png zlib fftw X ) + qt5? ( png zlib fftw X ) +" + +MIN_QT_VER="5.2.0" +QT_DEPEND=" + >=dev-qt/qtcore-${MIN_QT_VER}:5= + >=dev-qt/qtgui-${MIN_QT_VER}:5= + >=dev-qt/qtnetwork-${MIN_QT_VER}:5= + >=dev-qt/qtwidgets-${MIN_QT_VER}:5= +" +COMMON_DEPEND=" + curl? ( net-misc/curl ) + fftw? ( sci-libs/fftw:3.0=[threads] ) + gimp? ( + >=media-gfx/gimp-2.8.0 + ${QT_DEPEND} + ) + graphicsmagick? ( media-gfx/graphicsmagick:0= ) + jpeg? ( virtual/jpeg:0 ) + krita? ( ${QT_DEPEND} ) + opencv? ( >=media-libs/opencv-2.3.1a-r1:0= ) + openexr? ( + media-libs/ilmbase:0= + media-libs/openexr:0= + ) + png? ( media-libs/libpng:0= ) + qt5? ( ${QT_DEPEND} ) + tiff? ( media-libs/tiff:0 ) + X? ( + x11-libs/libX11 + x11-libs/libXext + ) + zlib? ( sys-libs/zlib:0= )" +RDEPEND="${COMMON_DEPEND} + ffmpeg? ( media-video/ffmpeg:0= ) +" +DEPEND="${COMMON_DEPEND} + gimp? ( dev-qt/linguist-tools ) + krita? ( dev-qt/linguist-tools ) + qt5? ( dev-qt/linguist-tools ) +" +BDEPEND="virtual/pkgconfig" + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi + + if ! test-flag-CXX -std=c++11 ; then + die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" + fi +} + +src_prepare() { + local PATCHES=( "${FILESDIR}"/${PN}-2.4.3-curl.patch ) + cmake-utils_src_prepare + sed -i '/CMAKE_CXX_FLAGS/s/-g //' CMakeLists.txt || die + + if use gimp || use krita || use qt5; then + sed -i '/CMAKE_CXX_FLAGS_RELEASE/d' gmic-qt/CMakeLists.txt || die + local S="${S}/gmic-qt" + PATCHES=( "${FILESDIR}"/${PN}-2.7.1-qt-cmake.patch ) + cmake-utils_src_prepare + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_LIB=ON + -DBUILD_LIB_STATIC=$(usex static-libs) + -DBUILD_CLI=$(usex cli) + -DBUILD_MAN=$(usex cli) + -DBUILD_BASH_COMPLETION=$(usex cli) + -DCUSTOM_CFLAGS=ON + -DENABLE_CURL=$(usex curl) + -DENABLE_X=$(usex X) + -DENABLE_FFMPEG=$(usex ffmpeg) + -DENABLE_FFTW=$(usex fftw) + -DENABLE_GRAPHICSMAGICK=$(usex graphicsmagick) + -DENABLE_JPEG=$(usex jpeg) + -DENABLE_OPENCV=$(usex opencv) + -DENABLE_OPENEXR=$(usex openexr) + -DENABLE_OPENMP=$(usex openmp) + -DENABLE_PNG=$(usex png) + -DENABLE_TIFF=$(usex tiff) + -DENABLE_ZLIB=$(usex zlib) + -DENABLE_DYNAMIC_LINKING=ON + ) + + cmake-utils_src_configure + + # configure gmic-qt frontends + local CMAKE_USE_DIR="${S}/gmic-qt" + mycmakeargs=( + -DENABLE_DYNAMIC_LINKING=ON + -DENABLE_CURL=$(usex curl) + -DGMIC_LIB_PATH="${BUILD_DIR}" + -DGMIC_PATH="${S}/src" + ) + + if use gimp; then + mycmakeargs+=( -DGMIC_QT_HOST=gimp ) + BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_configure + fi + + if use krita; then + mycmakeargs+=( -DGMIC_QT_HOST=krita ) + BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_configure + fi + + if use qt5; then + mycmakeargs+=( -DGMIC_QT_HOST=none ) + BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_configure + fi +} + +src_compile() { + cmake-utils_src_compile + + # build gmic-qt frontends + local S="${S}/gmic-qt" + use gimp && { BUILD_DIR="${BUILD_DIR}"/gimp cmake-utils_src_compile || die "failed building gimp plugin" ; } + use krita && { BUILD_DIR="${BUILD_DIR}"/krita cmake-utils_src_compile || die "failed building krita plugin" ; } + use qt5 && { BUILD_DIR="${BUILD_DIR}"/qt5 cmake-utils_src_compile || die "failed building qt5 GUI" ; } +} + +src_install() { + cmake-utils_src_install + dodoc README + use cli && newbashcomp "${BUILD_DIR}"/resources/gmic_bashcompletion.sh ${PN} + + local PLUGINDIR="/usr/$(get_libdir)/gimp/2.0/plug-ins" + insinto "${PLUGINDIR}" + doins resources/gmic_cluts.gmz + + # install gmic-qt frontends + if use gimp; then + exeinto "${PLUGINDIR}" + doexe "${BUILD_DIR}"/gimp/gmic_gimp_qt + fi + use krita && dobin "${BUILD_DIR}"/krita/gmic_krita_qt + use qt5 && dobin "${BUILD_DIR}"/qt5/gmic_qt +} diff --git a/media-gfx/rawtherapee/Manifest b/media-gfx/rawtherapee/Manifest index 95b4444a1b86..58edaad9be46 100644 --- a/media-gfx/rawtherapee/Manifest +++ b/media-gfx/rawtherapee/Manifest @@ -1,3 +1,5 @@ DIST rawtherapee-5.6.tar.xz 12083264 BLAKE2B a0eb09e98e1041b393ad3aa671641a2a4855379cef6245ca3cca2588ff5f50fedf8becd88bad1ab70f63dfb575f5f22c141040defa10b47268947415999d8e79 SHA512 2c751c7631ea2ef65c334fa0baab16d4c3161fae66487870c476f07f1ea3604a5e28a251fd98d9688cafc088302af7aa6e28e9b27a37f916715708ed5e731f0f +DIST rawtherapee-5.7.tar.xz 12092496 BLAKE2B 40d97d09106d7d2b843376b4c58daac87f99315604bd8e704e1f231c17d01896cd732da2449f84a59ed221fbf6a929a5db8e728977431fdcc07f3d30120b633a SHA512 8101ec66d9be4cab0c0b91336a3f83a32a6220a2f342f1c74d604c15686ee08bc7dbc090232916f13d5436957d800b64b284a8a9d3352f2f721266b07e005162 EBUILD rawtherapee-5.6.ebuild 1621 BLAKE2B 9f963fabf47cc479f8b840648b227058c232cfaeefc8904fe2ae2ee38e4b219b427633b8575ffd27172bc49c0fc4c99973e55e193883bc1f6fb35f0176d19e2e SHA512 557b60056ab12fb8b9dea4702e7fae0d2438abc89a5f414d75cdd353ee7a99ea6cbafc4df118ad7272c880dfc0f1a107a4ffff190e9a317b75de68471c15a336 +EBUILD rawtherapee-5.7.ebuild 1623 BLAKE2B bf3e2d94b876c48aeedcbb2030d282753a78da2a4c905b5565446ede991e854277fb2ccd99f409d52ccdb5df986f50525cccaf42e0b1124f68a22c0ca7311865 SHA512 4aeee80c36f123d97d55ff343dc326428f597f74d282f1186cbb9255d0ef2f29dab7ad56cb886e7b20dcbe1353a1988ff205b7d2cc3fc2c1580bbf18b8c6d8c4 MISC metadata.xml 484 BLAKE2B 672746e8291016ad6467a9b3c9baa84abac42df9f7de4b4bdb79374bba8e84f7cbfe140a076ebee49ec50587154612b73c6a7022461d01fd7fbdc63a6ddfcd98 SHA512 91f11609c7472bb7cebff5d440ee3d4b0560e0832e1bfb6ffd5b239e8e60647e067894d77ccb6e40a379680775f80b91250c3feab5cd2ce32d7991e0776d0cd9 diff --git a/media-gfx/rawtherapee/rawtherapee-5.7.ebuild b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild new file mode 100644 index 000000000000..48b8dca754d1 --- /dev/null +++ b/media-gfx/rawtherapee/rawtherapee-5.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P=${P/_rc/-rc} +inherit cmake-utils flag-o-matic toolchain-funcs xdg-utils + +DESCRIPTION="A powerful cross-platform raw image processing program" +HOMEPAGE="https://www.rawtherapee.com/" +SRC_URI="https://rawtherapee.com/shared/source/${MY_P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="openmp" + +RDEPEND=" + dev-libs/expat + dev-libs/libsigc++:2 + media-libs/lcms:2 + media-libs/lensfun + media-libs/libcanberra[gtk3] + media-libs/libiptcdata + media-libs/libpng:0 + media-libs/tiff:0 + sci-libs/fftw:3.0 + sys-libs/zlib + virtual/jpeg:0 + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + dev-cpp/gtkmm:3.0 + gnome-base/librsvg" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +pkg_pretend() { + if use openmp ; then + tc-has-openmp || die "Please switch to an openmp compatible compiler" + fi +} + +src_configure() { + # upstream tested that "fast-math" give wrong results, so filter it + # https://bugs.gentoo.org/show_bug.cgi?id=606896#c2 + filter-flags -ffast-math + # -Ofast enable "fast-math" both in gcc and clang + replace-flags -Ofast -O3 + # In case we add an ebuild for klt we can (i)use that one, + # see http://cecas.clemson.edu/~stb/klt/ + local mycmakeargs=( + -DOPTION_OMP=$(usex openmp) + -DDOCDIR=/usr/share/doc/${PF} + -DCREDITSDIR=/usr/share/${PN} + -DLICENCEDIR=/usr/share/${PN} + -DCACHE_NAME_SUFFIX="" + -DWITH_SYSTEM_KLT="off" + ) + cmake-utils_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |