From 447524ac574fd6e5299b4a831a251674073e4d3f Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 1 Feb 2024 12:53:56 +0100 Subject: [PATCH] frei0r, bump version (#10032) --- media-plugins/frei0r/frei0r-1.6.1.recipe | 72 ------------- media-plugins/frei0r/frei0r-2.3.2.recipe | 125 +++++++++++++++++++++++ 2 files changed, 125 insertions(+), 72 deletions(-) delete mode 100644 media-plugins/frei0r/frei0r-1.6.1.recipe create mode 100644 media-plugins/frei0r/frei0r-2.3.2.recipe diff --git a/media-plugins/frei0r/frei0r-1.6.1.recipe b/media-plugins/frei0r/frei0r-1.6.1.recipe deleted file mode 100644 index a302f4fe9..000000000 --- a/media-plugins/frei0r/frei0r-1.6.1.recipe +++ /dev/null @@ -1,72 +0,0 @@ -SUMMARY="A minimalistic plugin API for video effects" -DESCRIPTION="Frei0r is a minimalistic plugin API for video effects. - -The main emphasis is on simplicity for an API that will round up the most \ -common video effects into simple filters, sources and mixers that can be \ -controlled by parameters. - -It's our hope that this way these simple effects can be shared between \ -many applications, avoiding their reimplementation by different projects." -HOMEPAGE="https://frei0r.dyne.org/" -COPYRIGHT="2004-2019 Akito Iwakura, Albert Frisch, Brian Matherly, Burkhard Plaum, Carlo E. Prelz, Dan Dennedy, Denis Jaromil Roio, Filippo Giunchedi, Gabriel Finch, Georg Seidel, Hedde Bosman, IOhannes M. Zmölnig, Janne Liljeblad, Jean-Sebastien Senecal, Joshua M. Doe, Luca Bigliardi, Maksim Golovkin (Максим Головкин), Marko Cebokli, Martin Bayer, Mathieu Guindon, Phillip Promesberger, Richard Spindler, Samuel Mimram, Simon A. Eugster, Stefano Sabatini, Steinar H. Gunderson, Till Theato." -LICENSE="GNU GPL v2" -REVISION="1" -SOURCE_URI="https://files.dyne.org/frei0r/frei0r-plugins-1.6.1.tar.gz" -CHECKSUM_SHA256="e0c24630961195d9bd65aa8d43732469e8248e8918faa942cfb881769d11515e" -SOURCE_DIR="frei0r-plugins-$portVersion" - -ARCHITECTURES="all !x86_gcc2" -SECONDARY_ARCHITECTURES="x86" - -PROVIDES=" - frei0r$secondaryArchSuffix = $portVersion - " -REQUIRES=" - haiku$secondaryArchSuffix - lib:libcairo$secondaryArchSuffix - #lib:libopencv_face$secondaryArchSuffix - #lib:libopencv_highgui$secondaryArchSuffix - " - -PROVIDES_devel=" - frei0r${secondaryArchSuffix}_devel = $portVersion - " - -REQUIRES_devel=" - frei0r$secondaryArchSuffix == $portVersion base - " - -BUILD_REQUIRES=" - haiku${secondaryArchSuffix}_devel - devel:libcairo$secondaryArchSuffix - #devel:libopencv_face$secondaryArchSuffix - #devel:libopencv_highgui$secondaryArchSuffix - " -BUILD_PREREQUIRES=" - cmd:aclocal - cmd:autom4te - cmd:autoreconf - cmd:awk - cmd:find - cmd:gcc$secondaryArchSuffix - cmd:make - cmd:pkg_config$secondaryArchSuffix - " - -BUILD() -{ - #./autogen.sh - runConfigure ./configure - # TODO: fix configure.ac for docsdir - make $jobArgs docsdir=$docDir -} - -INSTALL() -{ - make install docsdir=$docDir - - fixPkgconfig - - packageEntries devel \ - $developDir -} diff --git a/media-plugins/frei0r/frei0r-2.3.2.recipe b/media-plugins/frei0r/frei0r-2.3.2.recipe new file mode 100644 index 000000000..6245b50b2 --- /dev/null +++ b/media-plugins/frei0r/frei0r-2.3.2.recipe @@ -0,0 +1,125 @@ +SUMMARY="A minimalistic plugin API for video effects" +DESCRIPTION="Frei0r is a minimalistic plugin API for video effects. + +The main emphasis is on simplicity for an API that will round up the most \ +common video effects into simple filters, sources and mixers that can be \ +controlled by parameters. + +It's our hope that this way these simple effects can be shared between \ +many applications, avoiding their reimplementation by different projects." +HOMEPAGE="https://frei0r.dyne.org/" +COPYRIGHT="2004-2019 Akito Iwakura, Albert Frisch, Brian Matherly, Burkhard Plaum, Carlo E. Prelz, Dan Dennedy, Denis Jaromil Roio, Filippo Giunchedi, Gabriel Finch, Georg Seidel, Hedde Bosman, IOhannes M. Zmölnig, Janne Liljeblad, Jean-Sebastien Senecal, Joshua M. Doe, Luca Bigliardi, Maksim Golovkin (Максим Головкин), Marko Cebokli, Martin Bayer, Mathieu Guindon, Phillip Promesberger, Richard Spindler, Samuel Mimram, Simon A. Eugster, Stefano Sabatini, Steinar H. Gunderson, Till Theato." +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/dyne/frei0r/archive/refs/tags/v$portVersion.tar.gz" +CHECKSUM_SHA256="304291e0ecb456a8b054fe04e14adc50ace54d0223b7b29165ff5343e820ef9d" +SOURCE_DIR="frei0r-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + frei0r$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libcairo$secondaryArchSuffix + lib:libopencv_alphamat$secondaryArchSuffix + lib:libopencv_aruco$secondaryArchSuffix + lib:libopencv_bgsegm$secondaryArchSuffix + lib:libopencv_bioinspired$secondaryArchSuffix + lib:libopencv_calib3d$secondaryArchSuffix + lib:libopencv_ccalib$secondaryArchSuffix + lib:libopencv_core$secondaryArchSuffix + lib:libopencv_cvv$secondaryArchSuffix + lib:libopencv_datasets$secondaryArchSuffix + lib:libopencv_dnn_objdetect$secondaryArchSuffix + lib:libopencv_dnn_superres$secondaryArchSuffix + lib:libopencv_dnn$secondaryArchSuffix + lib:libopencv_dpm$secondaryArchSuffix + lib:libopencv_face$secondaryArchSuffix + lib:libopencv_features2d$secondaryArchSuffix + lib:libopencv_flann$secondaryArchSuffix + lib:libopencv_freetype$secondaryArchSuffix + lib:libopencv_fuzzy$secondaryArchSuffix + lib:libopencv_gapi$secondaryArchSuffix + lib:libopencv_hdf$secondaryArchSuffix + lib:libopencv_hfs$secondaryArchSuffix + lib:libopencv_highgui$secondaryArchSuffix + lib:libopencv_img_hash$secondaryArchSuffix + lib:libopencv_imgcodecs$secondaryArchSuffix + lib:libopencv_imgproc$secondaryArchSuffix + lib:libopencv_intensity_transform$secondaryArchSuffix + lib:libopencv_line_descriptor$secondaryArchSuffix + lib:libopencv_mcc$secondaryArchSuffix + lib:libopencv_ml$secondaryArchSuffix + lib:libopencv_objdetect$secondaryArchSuffix + lib:libopencv_optflow$secondaryArchSuffix + lib:libopencv_phase_unwrapping$secondaryArchSuffix + lib:libopencv_photo$secondaryArchSuffix + lib:libopencv_plot$secondaryArchSuffix + lib:libopencv_quality$secondaryArchSuffix + lib:libopencv_rapid$secondaryArchSuffix + lib:libopencv_reg$secondaryArchSuffix + lib:libopencv_rgbd$secondaryArchSuffix + lib:libopencv_saliency$secondaryArchSuffix + lib:libopencv_shape$secondaryArchSuffix + lib:libopencv_stereo$secondaryArchSuffix + lib:libopencv_stitching$secondaryArchSuffix + lib:libopencv_structured_light$secondaryArchSuffix + lib:libopencv_superres$secondaryArchSuffix + lib:libopencv_surface_matching$secondaryArchSuffix + lib:libopencv_text$secondaryArchSuffix + lib:libopencv_tracking$secondaryArchSuffix + lib:libopencv_video$secondaryArchSuffix + lib:libopencv_videoio$secondaryArchSuffix + lib:libopencv_videostab$secondaryArchSuffix + lib:libopencv_xfeatures2d$secondaryArchSuffix + lib:libopencv_ximgproc$secondaryArchSuffix + lib:libopencv_xobjdetect$secondaryArchSuffix + lib:libopencv_xphoto$secondaryArchSuffix + lib:libopencv_wechat_qrcode$secondaryArchSuffix + " + +PROVIDES_devel=" + frei0r${secondaryArchSuffix}_devel = $portVersion + devel:frei0r$secondaryArchSuffix = $portVersion + " + +REQUIRES_devel=" + frei0r$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libcairo$secondaryArchSuffix + devel:libopencv_face$secondaryArchSuffix + devel:libopencv_highgui$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc$secondaryArchSuffix + cmd:make + cmd:pkg_config$secondaryArchSuffix + " + +BUILD() +{ + cmake -Bbuild -S. $cmakeDirArgs \ + -DCMAKE_BUILD_TYPE=Release + make -Cbuild $jobArgs +} + +INSTALL() +{ + make -Cbuild install + + mkdir -p $includeDir + mv $prefix/include/* $includeDir + rm -rf $prefix/include + + fixPkgconfig + + packageEntries devel \ + $developDir +}