summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-04-10 19:41:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-04-10 20:36:24 +0200
commit112f980daf9b6040e557fe17c623c2e2f43f7125 (patch)
tree5708a9a8ce5ee92ca10033d55fb6aaf46870646b /media-libs/vidstab
parentkde-plasma/xembed-sni-proxy: drop 5.27.3 (diff)
downloadgentoo-112f980daf9b6040e557fe17c623c2e2f43f7125.tar.gz
gentoo-112f980daf9b6040e557fe17c623c2e2f43f7125.tar.bz2
gentoo-112f980daf9b6040e557fe17c623c2e2f43f7125.zip
media-libs/vidstab: drop 1.1.0-r2
Closes: https://bugs.gentoo.org/902763 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/vidstab')
-rw-r--r--media-libs/vidstab/Manifest1
-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, 152 deletions
diff --git a/media-libs/vidstab/Manifest b/media-libs/vidstab/Manifest
index d37af8ce52f7..ba36a164a3e6 100644
--- a/media-libs/vidstab/Manifest
+++ b/media-libs/vidstab/Manifest
@@ -1,2 +1 @@
-DIST vidstab-1.1.0.tar.gz 77736 BLAKE2B 382cec922e9e7d521f49b431a5ddb246e331e186bf11707221a6bae0ce6544278a4c855c35e0346a78e4be105057c01ad7d53671ea22cbd2500aba4640cc96c7 SHA512 e82a4b6dd854b8415952cc0a8bdea06c01ff40a497c8e98177831e29031ec535b9f47cc30d5444c47bfd91871615a1662e3991185e9eb179acf37ea601073cdf
DIST vidstab-1.1.1.tar.gz 80717 BLAKE2B e2ce03d24358404c617816466ad3fd715999ef4d391617e9cec7923353ba2ce4ac3b3eedce67f3fadf3bd6fdfb2e4516a5b95c3fca9f613e367b1490ec78ae0a SHA512 b27ac95ab5302e9500af5a52cb09f557b9dacbdc4dc57a9781e2f9ae65a6ffea396f9819bca1f6a103f9d1896bf3061f1cb647166b14b8de8e89a1b15f010e5c
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
-}