# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 if [[ ${PV} == *9999 ]]; then inherit autotools git-r3 EGIT_REPO_URI="https://github.com/svanderburg/SDL_8SVX.git" else SRC_URI="https://github.com/svanderburg/SDL_8SVX/archives/master.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" fi DESCRIPTION="A library and player for handling 8SVX instruments in SDL applications" HOMEPAGE="http://github.com/svanderburg/SDL_8SVX" MAKEOPTS="-j1" LICENSE="ZLIB" SLOT="0" IUSE="static-libs test" RDEPEND="" DEPEND="${RDEPEND}" BDEPEND=" virtual/pkgconfig sys-devel/autogen media-libs/libsdl2 media-libs/sdl2-mixer media-libs/libiff media-libs/lib8svx media-libs/libresample" src_prepare() { default [[ ${PV} == *9999 ]] && eautoreconf } multilib_src_configure() { ECONF_SOURCE="${S}" econf \ $(use_enable static-libs static) } multilib_src_install_all() { einstalldocs # package provides .pc files find "${D}" -name '*.la' -delete || die }