mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
media-libs/libsndfile: Sync live ebuild
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -3,23 +3,23 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit autotools git-r3
|
||||
EGIT_REPO_URI="https://github.com/erikd/libsndfile.git"
|
||||
EGIT_REPO_URI="https://github.com/libsndfile/libsndfile.git"
|
||||
else
|
||||
SRC_URI="https://github.com/erikd/libsndfile/releases/download/v${PV}/${P}.tar.bz2"
|
||||
SRC_URI="https://github.com/libsndfile/libsndfile/releases/download/${PV}/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
inherit python-any-r1 multilib-minimal
|
||||
|
||||
DESCRIPTION="C library for reading and writing files containing sampled sound"
|
||||
HOMEPAGE="http://www.mega-nerd.com/libsndfile"
|
||||
HOMEPAGE="http://libsndfile.github.io/libsndfile/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="alsa minimal sqlite static-libs test"
|
||||
IUSE="alsa minimal sqlite test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
@@ -57,8 +57,8 @@ src_prepare() {
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-octave \
|
||||
--disable-static \
|
||||
--disable-werror \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable !minimal external-libs) \
|
||||
$(multilib_native_enable full-suite) \
|
||||
$(multilib_native_use_enable alsa) \
|
||||
@@ -69,6 +69,6 @@ multilib_src_configure() {
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
# package provides .pc files
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
# no static archives
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user