commit: 8afacf3b80031c776873e4220a47fb5c62cad9f6 Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Thu Oct 19 16:29:36 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Oct 27 03:18:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8afacf3b
sci-astronomy/siril: drop 1.0.6-r2, 1.2.0_rc1-r1 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/33417 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-astronomy/siril/Manifest | 2 - .../siril/files/siril-1.0-dependencies.patch | 177 --------------------- .../siril/files/siril-1.0-execinfo-r2.patch | 91 ----------- sci-astronomy/siril/files/siril-1.2-stdint.patch | 33 ---- sci-astronomy/siril/files/siril-1.2-tiff.patch | 56 ------- sci-astronomy/siril/files/siril-prototypes.patch | 41 ----- sci-astronomy/siril/siril-1.0.6-r2.ebuild | 89 ----------- sci-astronomy/siril/siril-1.2.0_rc1-r1.ebuild | 94 ----------- 8 files changed, 583 deletions(-) diff --git a/sci-astronomy/siril/Manifest b/sci-astronomy/siril/Manifest index 456c6baaa011..28ae3aac71ef 100644 --- a/sci-astronomy/siril/Manifest +++ b/sci-astronomy/siril/Manifest @@ -1,3 +1 @@ -DIST siril-1.0.6.tar.bz2 2893872 BLAKE2B 1f254dcb774c4bfb14fee4626d40e6eeedf866a7a96dca98502cd84e66b973c2201b1f88e2efcb89ce3401b13bd87a319b2ff11e7ba100d0689c9df429d01957 SHA512 afb5f1768a5884adcc13f2afd6fa386d836df5a1385b916df9df8da1fb464e0c8738123fb485ed92c749e596c744d5252a66444b840223488a0860e9324c4e9d -DIST siril-1.2.0-rc1.tar.bz2 4353720 BLAKE2B 38c7b1585508ac9697847648f2d718899a296a4061b34fcf71424136daa50c68737f811fd9063aa80274708d085d8089dceff7d1fd25277b60f0482c17fa5cd1 SHA512 41d685c0aca79da8a9c17d729c710bdd51d3f8cd13b976fb4aad4750e74b600783b988246f008cf41246e7e5f05b8b42368d975cbd79f42e9121b39e367eb22f DIST siril-1.2.0.tar.bz2 4500147 BLAKE2B 7ff4fa5bf1b578336c82bd0f67e404fe47715640edae9cb231da4a3c6a30638612e77515049d56dd1d444965ad58f12d5e2516ad13d3e726f13242b11d91b954 SHA512 7df7b17d65a2aad9e0edd4b5022c1d23688ad8884a973d2195391234151aff0824e155ce949b385a951eaef71065a811f33b54e08b865ab5fa6c1d331841663c diff --git a/sci-astronomy/siril/files/siril-1.0-dependencies.patch b/sci-astronomy/siril/files/siril-1.0-dependencies.patch deleted file mode 100644 index 84595472e63f..000000000000 --- a/sci-astronomy/siril/files/siril-1.0-dependencies.patch +++ /dev/null @@ -1,177 +0,0 @@ -diff --git a/meson.build b/meson.build -index 3d8e5508..5572bf61 100644 ---- a/meson.build -+++ b/meson.build -@@ -42,7 +42,16 @@ srcInclude = include_directories('src') - - warnings = [] - --enable_openmp = get_option('openmp') -+enable_openmp = get_option('openmp') -+enable_libraw = get_option('libraw') -+enable_libtiff = get_option('libtiff') -+enable_libjpeg = get_option('libjpeg') -+enable_libpng = get_option('libpng') -+enable_libheif = get_option('libheif') -+enable_ffms2 = get_option('ffms2') -+enable_ffmpeg = get_option('ffmpeg') -+enable_wcslib = get_option('wcslib') -+enable_criterion = get_option('criterion') - - # General version - siril_version = meson.project_version() -@@ -257,32 +266,67 @@ if enable_openmp - siril_cpp_flag += ['-Xpreprocessor', '-fopenmp'] - siril_c_flag += ['-Xpreprocessor', '-fopenmp'] - else -- openmp_dep = dependency('openmp', required : false) -+ openmp_dep = dependency('openmp', required : true) - endif - else - message('OpenMP disabled') - endif - --libraw_dep = dependency('libraw', required : false) --libtiff_dep = dependency('libtiff-4', required : false) --libjpeg_dep = dependency('libjpeg', required : false) --libpng_dep = dependency('libpng', required : false, version: '>= 1.6.0') --libheif_dep = dependency('libheif', required : false) --ffms2_dep = dependency('ffms2', required : false) --ffmpeg = [ -- dependency('libavformat', required : false), -- dependency('libavcodec', required : false), -- dependency('libavutil', version : '>= 55.20', required : false), -- dependency('libswscale', required : false), -- dependency('libswresample', required : false) --] -+libraw_dep = no_dep -+if enable_libraw -+ libraw_dep = dependency('libraw', required : true) -+endif -+ -+libtiff_dep = no_dep -+if enable_libtiff -+ libtiff_dep = dependency('libtiff-4', required : true) -+endif -+ -+libjpeg_dep = no_dep -+if enable_libjpeg -+ libjpeg_dep = dependency('libjpeg', required : true) -+endif -+ -+libpng_dep = no_dep -+if enable_libpng -+ libpng_dep = dependency('libpng', required : true, version: '>= 1.6.0') -+endif -+ -+libheif_dep = no_dep -+if enable_libheif -+ libheif_dep = dependency('libheif', required : true) -+endif -+ -+ffms2_dep = no_dep -+if enable_ffms2 -+ ffms2_dep = dependency('ffms2', required : true) -+endif -+ -+ffmpeg = [] -+if enable_ffmpeg -+ ffmpeg = [ -+ dependency('libavformat', required : true), -+ dependency('libavcodec', required : true), -+ dependency('libavutil', version : '>= 55.20', required : true), -+ dependency('libswscale', required : true), -+ dependency('libswresample', required : true) -+ ] -+endif -+ - libcurl_dep = no_dep - if enable_libcurl -- libcurl_dep = dependency('libcurl', required : false) -+ libcurl_dep = dependency('libcurl', required : true) -+endif -+ -+criterion_dep = no_dep -+if enable_criterion -+ criterion_dep = dependency('criterion', required : true) - endif --criterion_dep = dependency('criterion', required : false) - --wcslib_dep = dependency('wcslib', fallback : ['wcslib', 'wcslib_dep'], required : false) -+wcslib_dep = no_dep -+if enable_wcslib -+ wcslib_dep = dependency('wcslib', fallback : ['wcslib', 'wcslib_dep'], required : true) -+endif - - ################################################################################ - # Configuration -diff --git a/meson_options.txt b/meson_options.txt -index cd4b9cc1..5e48ae1f 100644 ---- a/meson_options.txt -+++ b/meson_options.txt -@@ -12,9 +12,63 @@ option('openmp', - description: 'build with OpenMP support' - ) - -+option('libraw', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with LibRaw support' -+) -+ -+option('libtiff', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with TIFF support' -+) -+ -+option('libjpeg', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with JPEG support' -+) -+ -+option('libpng', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with PNG support' -+) -+ -+option('libheif', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with HEIF support' -+) -+ -+option('ffms2', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with FFMS2 support' -+) -+ -+option('ffmpeg', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with FFmpeg support' -+) -+ - option('enable-libcurl', - type: 'combo', - value: 'platform-default', - description: 'Use libcurl instead of GIO', - choices: [ 'yes', 'no', 'platform-default' ] --) -\ No newline at end of file -+) -+ -+option('criterion', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with criterion support' -+) -+ -+option('wcslib', -+ type : 'boolean', -+ value : 'false', -+ description: 'build with WCSLIB support' -+) diff --git a/sci-astronomy/siril/files/siril-1.0-execinfo-r2.patch b/sci-astronomy/siril/files/siril-1.0-execinfo-r2.patch deleted file mode 100644 index 55ce90558b64..000000000000 --- a/sci-astronomy/siril/files/siril-1.0-execinfo-r2.patch +++ /dev/null @@ -1,91 +0,0 @@ -commit c009c4c1800086e7f4c4e80939e9ddc8964c8e12 -Author: Mario Haustein <mario.haust...@hrz.tu-chemnitz.de> -Date: Thu Aug 4 00:27:08 2022 +0200 - - Include execinfo.h only if available - -Bug: https://bugs.gentoo.org/873016 -Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/284 -Bug: https://bugs.gentoo.org/898108 -Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/442 - -diff --git a/src/core/signals.c b/src/core/signals.c -index 74100b3a..0eefd460 100644 ---- a/src/core/signals.c -+++ b/src/core/signals.c -@@ -25,7 +25,7 @@ - #ifdef _WIN32 - #include <windows.h> - #include <dbghelp.h> --#else -+#elif HAVE_EXECINFO_H - #include <execinfo.h> - #endif - -commit 13bafd227500018bef052cad1d73e9c681be1b8a -Author: Cyril Richard <cyril.richar...@gmail.com> -Date: Thu Aug 4 11:29:23 2022 +0200 - - Fix for merge_requests/284 - -Bug: https://bugs.gentoo.org/883121 -Upstream: https://gitlab.com/free-astro/siril/-/commit/13bafd227500018bef052cad1d73e9c681be1b8a - -diff --git a/src/core/signals.c b/src/core/signals.c -index 0eefd460..bbce5fa7 100644 ---- a/src/core/signals.c -+++ b/src/core/signals.c -@@ -21,6 +21,9 @@ - #define ANSI_COLOR_RED "\e[1m\x1b[31m" - #define ANSI_COLOR_RESET "\x1b[0m\e[0m" - -+#ifdef HAVE_CONFIG_H -+#include <config.h> -+#endif - #include <signal.h> - #ifdef _WIN32 - #include <windows.h> -From 6f959a02d27fb507cda1898a3aa785766e77d404 Mon Sep 17 00:00:00 2001 -From: Mario Haustein <mario.haust...@hrz.tu-chemnitz.de> -Date: Mon, 27 Feb 2023 17:34:43 +0100 -Subject: [PATCH] fix HAVE_EXECINFO_H logic - ---- - src/core/signals.c | 14 +++++++------- - 1 file changed, 7 insertions(+), 7 deletions(-) - -diff --git a/src/core/signals.c b/src/core/signals.c -index 42b369d6..d4745909 100644 ---- a/src/core/signals.c -+++ b/src/core/signals.c -@@ -55,13 +55,7 @@ static void signal_handled(int s) { - g_printf(ANSI_COLOR_RED"%s"ANSI_COLOR_RESET"\n", visit); - } - --#if (!defined _WIN32 && defined HAVE_EXECINFO_H) -- void *stack[STACK_DEPTH]; -- -- size_t size = backtrace(stack, sizeof(stack) / sizeof(void*)); -- -- backtrace_symbols_fd(stack, size, fileno((FILE*) stdout)); --#else -+#ifdef _WIN32 - unsigned int i; - void *stack[STACK_DEPTH]; - unsigned short size; -@@ -84,6 +78,12 @@ static void signal_handled(int s) { - } - - free(symbol); -+#elif HAVE_EXECINFO_H -+ void *stack[STACK_DEPTH]; -+ -+ size_t size = backtrace(stack, sizeof(stack) / sizeof(void*)); -+ -+ backtrace_symbols_fd(stack, size, fileno((FILE*) stdout)); - #endif - } - undo_flush(); --- -2.39.2 - diff --git a/sci-astronomy/siril/files/siril-1.2-stdint.patch b/sci-astronomy/siril/files/siril-1.2-stdint.patch deleted file mode 100644 index a8fb39c2bd5d..000000000000 --- a/sci-astronomy/siril/files/siril-1.2-stdint.patch +++ /dev/null @@ -1,33 +0,0 @@ -Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/525 ---- a/src/core/exif.h -+++ b/src/core/exif.h -@@ -20,6 +20,8 @@ - #ifndef SRC_CORE_EXIF_H_ - #define SRC_CORE_EXIF_H_ - -+#include <stdint.h> -+ - #ifdef __cplusplus - extern "C" { - #endif ---- a/src/io/avi_pipp/pipp_avi_write_dib.h -+++ b/src/io/avi_pipp/pipp_avi_write_dib.h -@@ -1,6 +1,8 @@ - #ifndef PIPP_AVI_WRITE_DIB_H - #define PIPP_AVI_WRITE_DIB_H - -+#include <cstdint> -+ - #include "pipp_video_write.h" - #include "pipp_avi_write.h" - ---- a/src/io/avi_pipp/pipp_buffer.h -+++ b/src/io/avi_pipp/pipp_buffer.h -@@ -19,7 +19,6 @@ - #ifndef PIPP_BUFFER_H - #define PIPP_BUFFER_H - --#include <cstdint> - #include <cstdint> - #include <cstddef> - diff --git a/sci-astronomy/siril/files/siril-1.2-tiff.patch b/sci-astronomy/siril/files/siril-1.2-tiff.patch deleted file mode 100644 index 9e84f12c645b..000000000000 --- a/sci-astronomy/siril/files/siril-1.2-tiff.patch +++ /dev/null @@ -1,56 +0,0 @@ -https://gitlab.com/free-astro/siril/-/commit/de5030991caa9490c510651868783faae2530089 -From: Cyril Richard <cyril.richar...@gmail.com> -Date: Sun, 11 Jun 2023 23:40:10 +0200 -Subject: [PATCH] Fixing compiler error with no libtiff -Upstream: https://gitlab.com/free-astro/siril/-/issues/1129 - ---- a/src/gui/preferences.c -+++ b/src/gui/preferences.c -@@ -299,6 +299,7 @@ void initialize_path_directory(const gchar *path) { - } - - void initialize_starnet_executable(const gchar *path) { -+#ifdef HAVE_LIBTIFF - GtkFileChooser *starnet_exe = GTK_FILE_CHOOSER(lookup_widget("filechooser_starnet")); - GtkWidget *starnet_weights_reset = GTK_WIDGET(lookup_widget("starnet_weights_clear")); - GtkWidget *starnet_weights = GTK_WIDGET(lookup_widget("filechooser_starnet_weights")); -@@ -315,6 +316,7 @@ void initialize_starnet_executable(const gchar *path) { - gtk_widget_set_sensitive(starnet_weights, FALSE); - gtk_widget_set_sensitive(starnet_weights_reset, FALSE); - } -+#endif - } - - void initialize_starnet_weights(const gchar *path) { -@@ -404,6 +406,7 @@ void on_filechooser_swap_file_set(GtkFileChooserButton *fileChooser, gpointer us - } - - void on_filechooser_starnet_file_set(GtkFileChooserButton *fileChooser, gpointer user_data) { -+#ifdef HAVE_LIBTIFF - GtkFileChooser *starnet_exe = GTK_FILE_CHOOSER(fileChooser); - gchar *path; - -@@ -429,7 +432,7 @@ void on_filechooser_starnet_file_set(GtkFileChooserButton *fileChooser, gpointer - gtk_widget_set_sensitive(starnet_weights, FALSE); - gtk_widget_set_sensitive(starnet_weights_reset, FALSE); - } -- -+#endif - } - - void on_starnet_weights_clear_clicked(GtkButton *button, gpointer user_data) { ---- a/src/io/sequence_export.c -+++ b/src/io/sequence_export.c -@@ -650,7 +650,9 @@ void on_buttonExportSeq_clicked(GtkButton *button, gpointer user_data) { - // add a trailing '_' for multiple-files sequences - args->basename = format_basename(args->basename, TRUE); - if (args->output == EXPORT_TIFF) { -+#ifdef HAVE_LIBTIFF - args->tiff_compression = get_tiff_compression(); -+#endif - } - } - // Display a useful warning because I always forget to remove selection --- -GitLab - diff --git a/sci-astronomy/siril/files/siril-prototypes.patch b/sci-astronomy/siril/files/siril-prototypes.patch deleted file mode 100644 index 8b72fef41b49..000000000000 --- a/sci-astronomy/siril/files/siril-prototypes.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 6c06d62579234e1d0030bad985a9cfcf7249b5d7 Mon Sep 17 00:00:00 2001 -From: Mario Haustein <mario.haust...@hrz.tu-chemnitz.de> -Date: Mon, 27 Feb 2023 17:49:41 +0100 -Subject: [PATCH 1/2] fix prototypes for functions with parameters -Bug: https://bugs.gentoo.org/898108 -Upstream: https://gitlab.com/free-astro/siril/-/merge_requests/443 - ---- - src/core/processing.h | 2 +- - src/gui/save_dialog.h | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/core/processing.h b/src/core/processing.h -index 1eba970b..89f24bd3 100644 ---- a/src/core/processing.h -+++ b/src/core/processing.h -@@ -162,7 +162,7 @@ void wait_for_script_thread(); - gboolean end_generic(gpointer arg); - guint siril_add_idle(GSourceFunc idle_function, gpointer data); - --struct generic_seq_args *create_default_seqargs(); -+struct generic_seq_args *create_default_seqargs(sequence *seq); - - int check_threading(threading_type *threads); - int limit_threading(threading_type *threads, int min_iterations_per_thread, size_t total_iterations); -diff --git a/src/gui/save_dialog.h b/src/gui/save_dialog.h -index c724abb1..586a2ca3 100644 ---- a/src/gui/save_dialog.h -+++ b/src/gui/save_dialog.h -@@ -20,7 +20,7 @@ enum { - }; - - void on_header_save_as_button_clicked(); --void on_header_snapshot_button_clicked(); -+void on_header_snapshot_button_clicked(gboolean clipboard); - void on_header_save_button_clicked(); - - #endif /* SRC_GUI_SAVE_DIALOG_H_ */ --- -2.39.2 - diff --git a/sci-astronomy/siril/siril-1.0.6-r2.ebuild b/sci-astronomy/siril/siril-1.0.6-r2.ebuild deleted file mode 100644 index 293b7cbc6638..000000000000 --- a/sci-astronomy/siril/siril-1.0.6-r2.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature toolchain-funcs xdg - -DESCRIPTION="A free astronomical image processing software" -HOMEPAGE="https://www.siril.org/" - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git" -else - SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2" - KEYWORDS="amd64 ~x86" - S="${WORKDIR}/${PN}-${PV/_/-}" -fi - -LICENSE="GPL-3+ Boost-1.0" -SLOT="0" -IUSE="curl ffmpeg heif jpeg openmp png raw tiff wcs" - -DEPEND=" - >=dev-libs/glib-2.56.0:2 - >=dev-libs/json-glib-1.2.6 - >=dev-libs/libconfig-1.4[cxx] - >=media-gfx/exiv2-0.25 - media-libs/librtprocess:= - >=media-libs/opencv-4.4.0:= - sci-libs/cfitsio - sci-libs/fftw:3.0= - sci-libs/gsl:= - x11-libs/cairo - >=x11-libs/gtk+-3.20.0:3 - curl? ( net-misc/curl ) - ffmpeg? ( media-video/ffmpeg:= ) - heif? ( media-libs/libheif ) - jpeg? ( media-libs/libjpeg-turbo:= ) - png? ( >=media-libs/libpng-1.6.0 ) - raw? ( media-libs/libraw ) - tiff? ( media-libs/tiff:= ) - wcs? ( >=sci-astronomy/wcslib-7.7 ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND="x11-base/xorg-proto" - -PATCHES=( - "${FILESDIR}/${PN}-docfiles.patch" - "${FILESDIR}/${PN}-$(ver_cut 1-2)-dependencies.patch" - "${FILESDIR}/${PN}-$(ver_cut 1-2)-execinfo-r2.patch" - "${FILESDIR}/${PN}-prototypes.patch" -) - -DOCS=( README.md NEWS ChangeLog AUTHORS ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local emesonargs=( - -Dffms2=false - -Dcriterion=false - $(meson_use ffmpeg) - $(meson_use heif libheif) - $(meson_use jpeg libjpeg) - $(meson_use openmp) - $(meson_use png libpng) - $(meson_use raw libraw) - $(meson_use tiff libtiff) - $(meson_use wcs wcslib) - $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) - ) - meson_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update - optfeature "gnuplot support" sci-visualization/gnuplot -} diff --git a/sci-astronomy/siril/siril-1.2.0_rc1-r1.ebuild b/sci-astronomy/siril/siril-1.2.0_rc1-r1.ebuild deleted file mode 100644 index 3898b724624f..000000000000 --- a/sci-astronomy/siril/siril-1.2.0_rc1-r1.ebuild +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature toolchain-funcs xdg - -DESCRIPTION="A free astronomical image processing software" -HOMEPAGE="https://siril.org/" - -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/free-astro/${PN}.git" -else - SRC_URI="https://gitlab.com/free-astro/siril/-/archive/${PV/_/-}/${PN}-${PV/_/-}.tar.bz2" - KEYWORDS="amd64 ~x86" - S="${WORKDIR}/${PN}-${PV/_/-}" -fi - -LICENSE="GPL-3+ Boost-1.0" -SLOT="0" -IUSE="curl exif ffmpeg heif jpeg libconfig openmp png raw tiff wcs" - -DEPEND=" - >=dev-libs/glib-2.56.0:2 - >=dev-libs/json-glib-1.2.6 - media-libs/librtprocess - >=media-libs/opencv-4.4.0:= - sci-libs/cfitsio:= - sci-libs/fftw:3.0= - sci-libs/gsl:= - x11-libs/gdk-pixbuf:2 - x11-libs/cairo - x11-libs/pango - >=x11-libs/gtk+-3.20.0:3 - curl? ( net-misc/curl ) - exif? ( >=media-gfx/exiv2-0.25:= ) - ffmpeg? ( media-video/ffmpeg:= ) - heif? ( media-libs/libheif:= ) - jpeg? ( media-libs/libjpeg-turbo:= ) - libconfig? ( >=dev-libs/libconfig-1.4:=[cxx] ) - png? ( >=media-libs/libpng-1.6.0:= ) - raw? ( media-libs/libraw:= ) - tiff? ( media-libs/tiff:= ) - wcs? ( >=sci-astronomy/wcslib-7.7:= ) -" -RDEPEND=" - ${DEPEND} -" -BDEPEND="dev-util/cmake - x11-base/xorg-proto" - -PATCHES=( - "${FILESDIR}/${PN}-docfiles.patch" - "${FILESDIR}/${PN}-1.2-stdint.patch" - "${FILESDIR}/${PN}-1.2-tiff.patch" - "${FILESDIR}/${PN}-1.2-exiv2-0.28.patch" # bug 906499 -) - -DOCS=( README.md NEWS ChangeLog AUTHORS ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local emesonargs=( - -Dffms2=false - -Dcriterion=false - $(meson_use exif exiv2) - $(meson_use ffmpeg) - $(meson_use heif libheif) - $(meson_use jpeg libjpeg) - $(meson_use libconfig) - $(meson_use openmp) - $(meson_use png libpng) - $(meson_use raw libraw) - $(meson_use tiff libtiff) - $(meson_use wcs wcslib) - $(usex curl -Denable-libcurl=yes -Denable-libcurl=no) - ) - meson_src_configure -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - xdg_mimeinfo_database_update - optfeature "gnuplot support" sci-visualization/gnuplot -}