# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=5 AUTOTOOLS_AUTORECONF=1 inherit autotools-utils DESCRIPTION="MVTools is a set of filters for motion estimation and compensation." HOMEPAGE="https://github.com/dubhater/${PN}" if [[ ${PV} == *9999* ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/dubhater/${PN}.git" else SRC_URI="https://github.com/dubhater/vapoursynth-mvtools/archive/v${PV}.tar.gz" fi LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="sci-libs/fftw:3.0 media-libs/vapoursynth" DEPEND="${RDEPEND}" src_install() { dodoc readme.rst autotools-utils_src_install # Symlink to to vapoursynth-directory to enable plugin autoloading. dosym "${EPREFIX}"/usr/$(get_libdir)/libmvtools.so "${EPREFIX}"/usr/$(get_libdir)/vapoursynth/libmvtools.so }