summaryrefslogtreecommitdiff
path: root/media-libs/vidstab
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-10 23:37:47 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-10 23:37:47 +0100
commit6990d0600970cefe6aa2c17668f9028b08d23441 (patch)
treeb106c69cf74dd70e162c879310bdf2fd49a16f6a /media-libs/vidstab
parentc7c8d625ecbe5f95c445995303ed9b0e1f0de507 (diff)
gentoo auto-resync : 10:04:2023 - 23:37:47
Diffstat (limited to 'media-libs/vidstab')
-rw-r--r--media-libs/vidstab/Manifest5
-rw-r--r--media-libs/vidstab/files/vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch26
-rw-r--r--media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch25
-rw-r--r--media-libs/vidstab/files/vidstab-1.1.0-tests-use-sse2-only-if-available.patch33
-rw-r--r--media-libs/vidstab/vidstab-1.1.0-r2.ebuild67
5 files changed, 0 insertions, 156 deletions
diff --git a/media-libs/vidstab/Manifest b/media-libs/vidstab/Manifest
index 9ee67950d8ae..d10fc76b3d78 100644
--- a/media-libs/vidstab/Manifest
+++ b/media-libs/vidstab/Manifest
@@ -1,9 +1,4 @@
-AUX vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch 804 BLAKE2B 69c70f8b9dcefb9f1f4696d7911b34d2a4b9abea43a283cbc66faa923d5e566cf04ec996f7073a2440356a2f5889684cdcae2bb42787695b762045948b58ce18 SHA512 6ff92765e21a9f883d5ebbcd647c17f443fe4e47bda32899c7950a63e74427ffe939021adc1bd74f9fb9c72d7c11300cbe46d8ce4ee662036f93c68ee7c5b934
-AUX vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch 903 BLAKE2B 5eb6f0970a6d3a3ead1f7efbd6746a5de1feb0db57cc03e62d7670633fb0ddf8d810b5913e5c819c6ba57204b566f5592c4d8b86368f7776d1d7bb4eac83d39b SHA512 c8f59b8c954f4207c1c946db88c1af2f1110ed37d68ad7cc1962be9d6b1659b4833ae4257b359b25d5f1ede65ff87447a94d2d39c0028f9a3bbd7cf4a69d5bd7
-AUX vidstab-1.1.0-tests-use-sse2-only-if-available.patch 1047 BLAKE2B 198d481a781186583b0f842f677e540e0f58fbf0f146d32ed1d5c47675f02ef3e7d7457674ef87104e28d0afd5931c9c082569fd86c0e594302e1513f9a9f281 SHA512 a09f845947bc9c22700a998e2fa985f735d42146745de0b6686d61b14ef7aecb4229842b35caab8a79f874c5875241a87e0a9556ca326d54358648b515be5e5d
-DIST vidstab-1.1.0.tar.gz 77736 BLAKE2B 382cec922e9e7d521f49b431a5ddb246e331e186bf11707221a6bae0ce6544278a4c855c35e0346a78e4be105057c01ad7d53671ea22cbd2500aba4640cc96c7 SHA512 e82a4b6dd854b8415952cc0a8bdea06c01ff40a497c8e98177831e29031ec535b9f47cc30d5444c47bfd91871615a1662e3991185e9eb179acf37ea601073cdf
DIST vidstab-1.1.1.tar.gz 80717 BLAKE2B e2ce03d24358404c617816466ad3fd715999ef4d391617e9cec7923353ba2ce4ac3b3eedce67f3fadf3bd6fdfb2e4516a5b95c3fca9f613e367b1490ec78ae0a SHA512 b27ac95ab5302e9500af5a52cb09f557b9dacbdc4dc57a9781e2f9ae65a6ffea396f9819bca1f6a103f9d1896bf3061f1cb647166b14b8de8e89a1b15f010e5c
-EBUILD vidstab-1.1.0-r2.ebuild 1860 BLAKE2B 44b319f2b9cd52e18a26bbd52f87ac752d30c40d8eaa89e3ab190336af53d834012be025e524ef7039288ef99c3477994b30472daaa5e54c517a3f2b37e6ea68 SHA512 c8c56f5255e2646bc83a29bfac65cb9acb0400345133f235f49691072f7d33b41e47fac3735eb1e15f9bec902ee9dac0b7a49d4d022630bd6fd0b89a2a344f59
EBUILD vidstab-1.1.1.ebuild 1621 BLAKE2B 4f5faa5bab28e0747b3ef437c4707b4f134a7f624a15b63161d8a00fb89617b235642b5707c7e846c0363ff94d6464b6214715a3659f5d5dc0f9503bd85f9119 SHA512 903d34e5f59be6976429b1d3d6eaa78fb4adc2611853352025f8f84bd61b60d71e99b7ea1cb8c9066561e3aa655cfc09822abdcde74b25b65125cd46b2b9bfbd
EBUILD vidstab-9999.ebuild 1620 BLAKE2B 9dc117950d5c2180df1d7d180f96b58ebff642fa0c1d6ce55c8f28693003a1a05ebdbe6e8b03cab6ba49b2c03ae03437b20d08a218549a27427e6978304d4e8d SHA512 1c69e752c7dba8fb6f9374a685474429a2f57566ec9a8a094201025948b44627942865d97dfd8a68ea5a8552ac58e9cb486fc300dfafabeb695850e5ebc2ba5d
MISC metadata.xml 615 BLAKE2B 9260db65c08e6d6284fff960a229259d5d62672b5014697e0503a39f7e48b82955396fec6f608611306b2c586a39532fc61ebde8fe06ad0e9fb8c150f6d914f7 SHA512 8ffb575f589d09954230457a7d7b100a6f5fa9886a0a99bfb6813c0174c74817a3670957b09afedeaf9afe74451e8dd8da55bd1eb6d6fce36c655bce14fb21ac
diff --git a/media-libs/vidstab/files/vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch b/media-libs/vidstab/files/vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch
deleted file mode 100644
index 88d260f429ca..000000000000
--- a/media-libs/vidstab/files/vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From a6438c4b3ea5a00f2896b903a4bda0a4efa241f4 Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Tue, 12 Feb 2019 16:39:06 -0500
-Subject: [PATCH] Use OpenMP only if available in test_motiondetect
-
-Only call `omp_set_dynamic( 1 );` if `USE_OMP`
-
-Fixes `undefined reference to `omp_set_dynamic'` when not using OpenMP
----
- tests/test_motiondetect.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tests/test_motiondetect.c b/tests/test_motiondetect.c
-index 0f37def..125f4bd 100644
---- a/tests/test_motiondetect.c
-+++ b/tests/test_motiondetect.c
-@@ -19,7 +19,9 @@ void test_motionDetect(TestData* testdata){
- int i;
-
- int start = timeOfDayinMS();
-+#ifdef USE_OMP
- omp_set_dynamic( 1 );
-+#endif
- md.conf.numThreads=threads;
-
- for(i=0; i<numruns; i++){
diff --git a/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch b/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch
deleted file mode 100644
index 1f73c50a49ed..000000000000
--- a/media-libs/vidstab/files/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/georgmartius/vid.stab/pull/69
-
-From dff58ee5a26569a7eeb881d204b428ee5da40746 Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Thu, 10 Jan 2019 13:47:10 -0500
-Subject: [PATCH] tests should exit with code 0 on success
-
-Exit code 0 indicates success, anything else indicates failure. Therefore, unittest_summary() should return 0 if no tests failed.
----
- tests/testframework.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/testframework.c b/tests/testframework.c
-index a38851c..a889560 100644
---- a/tests/testframework.c
-+++ b/tests/testframework.c
-@@ -36,7 +36,7 @@ int unittest_summary(){
- fprintf(stderr, "UNIT TESTs succeeded:\t %s%i/%i\033[0m\n",
- units_failed>0 ? "\033[1;31m" : "\033[1;32m",
- units_success, units_success + units_failed);
-- return units_failed==0;
-+ return units_failed!=0;
-
- }
-
diff --git a/media-libs/vidstab/files/vidstab-1.1.0-tests-use-sse2-only-if-available.patch b/media-libs/vidstab/files/vidstab-1.1.0-tests-use-sse2-only-if-available.patch
deleted file mode 100644
index fc7deca503e6..000000000000
--- a/media-libs/vidstab/files/vidstab-1.1.0-tests-use-sse2-only-if-available.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 80932fbd1e77d397a7b503697c78fd888ede396a Mon Sep 17 00:00:00 2001
-From: Craig Andrews <candrews@integralblue.com>
-Date: Mon, 14 Jan 2019 11:08:30 -0500
-Subject: [PATCH] In tests, use sse2 only if it is available
-
-Use FindSSE and SSE2_FOUND in the same way as done in the main CMakeLists.txt in commit 0f41dfb89ba3fa7d20f45cbeb02cc1ff37c89c27
----
- tests/CMakeLists.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
-index 9597141..6812916 100644
---- a/tests/CMakeLists.txt
-+++ b/tests/CMakeLists.txt
-@@ -7,6 +7,8 @@ project (vid.stab)
-
- set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../CMakeModules/")
-
-+include (FindSSE)
-+
- option(USE_OMP "use parallelization use OMP" ON)
-
- # Default to debug builds if no explicit build type specified.
-@@ -23,7 +25,9 @@ else()
- add_definitions( -DDISABLE_ORC)
- endif()
-
-+if(SSE2_FOUND)
- add_definitions( -DUSE_SSE2 -msse2 -ffast-math -fno-show-column ) # -DUSE_SSE2_ASM
-+endif()
-
- if(USE_OMP)
- add_definitions(-fopenmp -DUSE_OMP)
diff --git a/media-libs/vidstab/vidstab-1.1.0-r2.ebuild b/media-libs/vidstab/vidstab-1.1.0-r2.ebuild
deleted file mode 100644
index a4d043b2fa01..000000000000
--- a/media-libs/vidstab/vidstab-1.1.0-r2.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 2018-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-multilib toolchain-funcs
-
-DESCRIPTION="Video stabilization library"
-HOMEPAGE="http://public.hronopik.de/vid.stab/"
-
-if [[ ${PV} == *9999 ]] ; then
- EGIT_REPO_URI="https://github.com/georgmartius/vid.stab.git"
- inherit git-r3
-else
- SRC_URI="https://github.com/georgmartius/vid.stab/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
- S="${WORKDIR}/vid.stab-${PV}"
-fi
-
-LICENSE="GPL-2+"
-SLOT="0"
-IUSE="openmp cpu_flags_x86_sse2"
-PATCHES=(
- "${FILESDIR}/vidstab-1.1.0-tests-should-exit-with-code-0-on-success.patch"
- "${FILESDIR}/vidstab-1.1.0-tests-use-sse2-only-if-available.patch"
- "${FILESDIR}/vidstab-1.1.0-tests-1.1.0-fix-test_motiondetect-without-openmp.patch"
-)
-
-pkg_pretend() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-pkg_setup() {
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
- # USE=cpu_flags_x86_sse2 instead
- sed -E 's#include (FindSSE)##' -i CMakeLists.txt || die
- sed -E 's#include (FindSSE)##' -i tests/CMakeLists.txt || die
- # strip some CFLAGS
- for FILE_TO_PATCH in {,transcode/,tests/}CMakeLists.txt; do
- sed -E 's#(add_definitions.* )-g #\1#' -i ${FILE_TO_PATCH} || die
- sed -E 's#(add_definitions.* )-O3 #\1#' -i ${FILE_TO_PATCH} || die
- done
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DUSE_OMP="$(usex openmp)"
- -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)"
- )
- cmake-multilib_src_configure
-}
-
-multilib_src_test() {
- local mycmakeargs=(
- -DUSE_OMP="$(usex openmp)"
- -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)"
- )
- local CMAKE_USE_DIR="${CMAKE_USE_DIR}/tests"
- local BUILD_DIR="${BUILD_DIR}/tests"
- cmake_src_configure
- cmake_build
- "${BUILD_DIR}"/tests || die
-}