diff options
Diffstat (limited to 'kde-apps/libkface/libkface-16.08.1.ebuild')
-rw-r--r-- | kde-apps/libkface/libkface-16.08.1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/kde-apps/libkface/libkface-16.08.1.ebuild b/kde-apps/libkface/libkface-16.08.1.ebuild new file mode 100644 index 000000000000..ea2fa9551b2c --- /dev/null +++ b/kde-apps/libkface/libkface-16.08.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_BLOCK_SLOT4="false" +inherit kde5 + +DESCRIPTION="Qt/C++ wrapper around LibFace to perform face recognition and detection" +HOMEPAGE="https://projects.kde.org/projects/kde/kdegraphics/libs/libkface" + +LICENSE="BSD GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_qt_dep qtgui) + $(add_qt_dep qtsql) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + media-libs/opencv:=[contrib(+)] +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-15.12.2-opencv3.1.patch" ) + +src_configure() { + local mycmakeargs=( + -DENABLE_OPENCV3=$(has_version ">=media-libs/opencv-3" && echo yes || echo no) + ) + + kde5_src_configure +} |