diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-29 11:38:31 +0100 |
commit | 90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch) | |
tree | 83fc5facb6b12be510a37bc3d241cc63e965b13a /media-libs/libcddb/libcddb-1.3.2-r1.ebuild | |
parent | feb0daf81d888e9160f9f94502de09b66f2a63fd (diff) |
gentoo resync : 29.06.2020
Diffstat (limited to 'media-libs/libcddb/libcddb-1.3.2-r1.ebuild')
-rw-r--r-- | media-libs/libcddb/libcddb-1.3.2-r1.ebuild | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild b/media-libs/libcddb/libcddb-1.3.2-r1.ebuild index 06c26b854504..527e22390ba0 100644 --- a/media-libs/libcddb/libcddb-1.3.2-r1.ebuild +++ b/media-libs/libcddb/libcddb-1.3.2-r1.ebuild @@ -1,11 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -AUTOTOOLS_PRUNE_LIBTOOL_FILES=all - -inherit autotools-multilib +inherit autotools multilib-minimal DESCRIPTION="A library for accessing a CDDB server" HOMEPAGE="http://libcddb.sourceforge.net/" @@ -17,7 +15,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-lin IUSE="doc static-libs" RDEPEND=">=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]" -DEPEND="doc? ( app-doc/doxygen )" +RDEPEND="${DEPEND}" +BDEPEND="doc? ( app-doc/doxygen )" RESTRICT="test" @@ -25,22 +24,36 @@ DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) MULTILIB_WRAPPED_HEADERS=( /usr/include/cddb/version.h ) -src_configure() { - local myeconfargs=( --without-cdio ) - autotools-multilib_src_configure +src_prepare() { + default + # Required for CONFIG_SHELL != bash (bug #528012) + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --without-cdio + $(use_enable static-libs static) + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } -src_compile() { - autotools-multilib_src_compile +multilib_src_compile() { + default - if use doc; then - cd "${S}"/doc + if use doc ; then + cd "${S}"/doc || die doxygen doxygen.conf || die fi } -src_install() { - autotools-multilib_src_install +multilib_src_install_all() { + default - use doc && dohtml "${S}"/doc/html/* + find "${ED}" -type f -name "*.la" -delete || die + + if use doc ; then + docinto html + dodoc "${S}"/doc/html/* + fi } |