diff options
author | 2019-02-25 22:18:37 +0100 | |
---|---|---|
committer | 2019-02-25 22:48:46 +0100 | |
commit | 3d108507cfc195c2033dc6afc7488976d8a8d184 (patch) | |
tree | db842f1389ea35a0e45fdda9a9cefdc05e9dbd41 /media-libs/libofa/libofa-0.9.3-r2.ebuild | |
parent | media-video/mplayer: Use the same EGIT_REPO_URI for ffmpeg as value used in m... (diff) | |
download | gentoo-3d108507cfc195c2033dc6afc7488976d8a8d184.tar.gz gentoo-3d108507cfc195c2033dc6afc7488976d8a8d184.tar.bz2 gentoo-3d108507cfc195c2033dc6afc7488976d8a8d184.zip |
media-libs/libofa: EAPI-7 bump, drop unused deps/eutils
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libofa/libofa-0.9.3-r2.ebuild')
-rw-r--r-- | media-libs/libofa/libofa-0.9.3-r2.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-libs/libofa/libofa-0.9.3-r2.ebuild b/media-libs/libofa/libofa-0.9.3-r2.ebuild new file mode 100644 index 000000000000..1e7197c4975e --- /dev/null +++ b/media-libs/libofa/libofa-0.9.3-r2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic multilib-minimal + +DESCRIPTION="Open Fingerprint Architecture" +HOMEPAGE="https://code.google.com/p/musicip-libofa/" +SRC_URI="https://musicip-libofa.googlecode.com/files/${P}.tar.gz" + +LICENSE="|| ( APL-1.0 GPL-2 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +BDEPEND=">=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]" +DEPEND=">=sci-libs/fftw-3.3.3-r2[${MULTILIB_USEDEP}]" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-gcc-4{,.3,.4,.7}.patch ) + +src_prepare() { + default + + # disable building non-installed examples + sed -i -e '/SUBDIRS/s:examples::' Makefile.{am,in} || die + + is-flag -ffast-math && append-flags -fno-fast-math +} + +multilib_src_configure() { + # disable dependencies that were used for the noinst_ example only + ECONF_SOURCE=${S} \ + econf \ + ac_cv_lib_expat_XML_ExpatVersion=yes \ + ac_cv_lib_curl_curl_global_init=yes +} + +multilib_src_install_all() { + einstalldocs + find "${D}" -name '*.la' -type f -delete || die +} |