From e34589d0eb68061e44f169cd38d4b8ed81658de7 Mon Sep 17 00:00:00 2001 From: espie Date: Tue, 23 Aug 2022 12:15:45 +0000 Subject: [PATCH] librtprocess repackages the rawtherapee algorithms as a library dependency for siril okay op@ --- graphics/librtprocess/Makefile | 24 ++++++++++++++++++++++++ graphics/librtprocess/distinfo | 2 ++ graphics/librtprocess/pkg/DESCR | 18 ++++++++++++++++++ graphics/librtprocess/pkg/PLIST | 9 +++++++++ 4 files changed, 53 insertions(+) create mode 100644 graphics/librtprocess/Makefile create mode 100644 graphics/librtprocess/distinfo create mode 100644 graphics/librtprocess/pkg/DESCR create mode 100644 graphics/librtprocess/pkg/PLIST diff --git a/graphics/librtprocess/Makefile b/graphics/librtprocess/Makefile new file mode 100644 index 00000000000..f7bd9a9f252 --- /dev/null +++ b/graphics/librtprocess/Makefile @@ -0,0 +1,24 @@ +COMMENT = RawTherapee algorithms as a library + +GH_ACCOUNT = CarVac +GH_PROJECT = librtprocess +GH_TAGNAME = 0.12.0 + +SHARED_LIBS += rtprocess 0.0 # 0.0 + +CATEGORIES = graphics + +# GPLv3 +PERMIT_PACKAGE = Yes + +# same as rawtherapee, obviously +COMPILER = base-clang ports-gcc + +WANTLIB += ${COMPILER_LIBCXX} m + +MODULES = devel/cmake +CONFIGURE_ARGS = -DOPTION_OMP=OFF + +NO_TEST = Yes + +.include diff --git a/graphics/librtprocess/distinfo b/graphics/librtprocess/distinfo new file mode 100644 index 00000000000..4f115c2432e --- /dev/null +++ b/graphics/librtprocess/distinfo @@ -0,0 +1,2 @@ +SHA256 (librtprocess-0.12.0.tar.gz) = 7WhisUkVWecdvr6MuymQCPsW4jCs87udQr1SlCZExNk= +SIZE (librtprocess-0.12.0.tar.gz) = 158244 diff --git a/graphics/librtprocess/pkg/DESCR b/graphics/librtprocess/pkg/DESCR new file mode 100644 index 00000000000..7f6de188f85 --- /dev/null +++ b/graphics/librtprocess/pkg/DESCR @@ -0,0 +1,18 @@ +This project's goal is to make some of RawTherapee's highly optimized +raw processing routines readily available for other FOSS photo +editing software. + +The following routines are available: +- ahd_demosaic +- amaze_demosaic +- bayerfast_demosaic +- dcb_demosaic +- hphd_demosaic +- igv_demosaic +- lmmse_demosaic +- rcd_demosaic +- vng4_demosaic +- markesteijn_demosaic +- xtransfast_demosaic +- CA_correct +- HLRecovery_inpaint diff --git a/graphics/librtprocess/pkg/PLIST b/graphics/librtprocess/pkg/PLIST new file mode 100644 index 00000000000..300ae0bb726 --- /dev/null +++ b/graphics/librtprocess/pkg/PLIST @@ -0,0 +1,9 @@ +include/rtprocess/ +include/rtprocess/librtprocess.h +lib/cmake/ +lib/cmake/rtprocess/ +lib/cmake/rtprocess/rtprocess-config${MODCMAKE_BUILD_SUFFIX} +lib/cmake/rtprocess/rtprocess-config-version.cmake +lib/cmake/rtprocess/rtprocess-config.cmake +@lib lib/librtprocess.so.${LIBrtprocess_VERSION} +lib/pkgconfig/rtprocess.pc