mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-plugins/frei0r-plugins: Drop 1.6.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST frei0r-plugins-1.6.1.tar.gz 1103969 BLAKE2B febcfc0a5918834e38c2aad2016c0b72f3fed731732e482ae8f9564bb5c2e0825ce050149f6728a8263d6caef11810b33ee3edfb697b0f8a212ae996e0085f45 SHA512 843790389e6de83817d1c3744a91d3365864bb0c22cf6598707ccba5ec8933f6209434011cde1303e16edd89f6cde2f22aa1fb6eca3548d892a2c77332c44aac
|
||||
DIST frei0r-plugins-1.7.0.tar.gz 1214323 BLAKE2B 1b571361ced6dfc29c5b487ee78664995aab615b89ac9a0839254c5fc17ddc7147cf9eb7c2d6df33f518fa96b9761a185dba420037e6c9cdf7d0e70416aab76c SHA512 8c80e8e0ce8c302e633ea1f6ff4e2a141fd7a8bcb7fce25dc7f1f6521be11258a3efa1074c224c7323e6a17bc405413385be193a5c787e2f276252b50477ebce
|
||||
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="A minimalistic plugin API for video effects"
|
||||
HOMEPAGE="https://www.dyne.org/software/frei0r/"
|
||||
SRC_URI="https://files.dyne.org/frei0r/releases/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~hppa ppc ~ppc64 x86"
|
||||
IUSE="doc +facedetect +scale0tilt"
|
||||
|
||||
RDEPEND="x11-libs/cairo
|
||||
facedetect? ( >=media-libs/opencv-2.3.0:= )
|
||||
scale0tilt? ( >=media-libs/gavl-1.2.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS=( AUTHORS.txt ChangeLog.txt README.txt TODO.txt )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
local f=CMakeLists.txt
|
||||
|
||||
sed -i \
|
||||
-e '/set(CMAKE_C_FLAGS/d' \
|
||||
-e "/LIBDIR.*frei0r-1/s:lib:$(get_libdir):" \
|
||||
${f} || die
|
||||
|
||||
# https://bugs.gentoo.org/418243
|
||||
sed -i \
|
||||
-e '/set.*CMAKE_C_FLAGS/s:"): ${CMAKE_C_FLAGS}&:' \
|
||||
src/filter/*/${f} || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITHOUT_OPENCV=$(usex !facedetect)
|
||||
-DWITHOUT_GAVL=$(usex !scale0tilt)
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
if use doc; then
|
||||
pushd doc
|
||||
doxygen || die
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
use doc && dodoc -r doc/html
|
||||
}
|
||||
Reference in New Issue
Block a user