From: Kalin KOZHUHAROV Date: Tue, 19 Nov 2019 11:41:15 +0000 (+0100) Subject: media-libs/vidstab: cleaning old ebuilds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=01318666dbe96fd0811e06655de02ebe4a6cfb40;p=gentoo.git media-libs/vidstab: cleaning old ebuilds Closes: https://bugs.gentoo.org/700302 Signed-off-by: Kalin KOZHUHAROV Signed-off-by: Craig Andrews --- diff --git a/media-libs/vidstab/vidstab-1.1.0-r1.ebuild b/media-libs/vidstab/vidstab-1.1.0-r1.ebuild deleted file mode 100644 index 229007a4aa8d..000000000000 --- a/media-libs/vidstab/vidstab-1.1.0-r1.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 2018-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -: ${CMAKE_MAKEFILE_GENERATOR:=ninja} - -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 ~ppc ~ppc64 ~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" -) -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-utils_src_prepare -} - -src_configure() { - use openmp && tc-check-openmp - 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-utils_src_configure - cmake-utils_src_make - "${BUILD_DIR}"/tests || die -} diff --git a/media-libs/vidstab/vidstab-1.1.0.ebuild b/media-libs/vidstab/vidstab-1.1.0.ebuild deleted file mode 100644 index 71caeda13785..000000000000 --- a/media-libs/vidstab/vidstab-1.1.0.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 2018-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils 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="~amd64 ~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" -) -src_prepare() { - # USE=cpu_flags_x86_sse2 instead - sed -E 's#include (FindSSE)##' -i CMakeLists.txt - # strip some CFLAGS - for FILE_TO_PATCH in {,transcode/,tests/}CMakeLists.txt; do - sed -E 's#(add_definitions.* )-g #\1#' -i ${FILE_TO_PATCH} - sed -E 's#(add_definitions.* )-O3 #\1#' -i ${FILE_TO_PATCH} - done - cmake-utils_src_prepare -} - -src_configure() { - use openmp && tc-check-openmp - local mycmakeargs=( - -DUSE_OMP="$(usex openmp)" - -DSSE2_FOUND="$(usex cpu_flags_x86_sse2)" - ) - cmake-utils_src_configure -} - -src_test() { - cd tests || die - local mycmakeargs=( - -DUSE_OMP="$(usex openmp)" - ) - local CMAKE_USE_DIR="${CMAKE_USE_DIR}/tests" - local BUILD_DIR="${BUILD_DIR}/tests" - cmake-utils_src_configure - cmake-utils_src_make - "${BUILD_DIR}"/tests || die -}