commit:     211161380f1ac12f6c00b3d12b89e585d69cdb31
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Wed Dec 18 20:20:30 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 00:04:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21116138

media-libs/taglib: Fix redirect HOMEPAGE, fix src_test and src_compile

Cleanup deps

Referred to upstream: 2.0 is mostly source-compatible if no deprecated
features are used.
See list of removed deprecated functions:
https://github.com/taglib/taglib/releases/tag/v2.0

Bug: https://bugs.gentoo.org/931264
Closes: https://github.com/gentoo/gentoo/pull/39775
Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-libs/taglib/taglib-2.0.2.ebuild | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/media-libs/taglib/taglib-2.0.2.ebuild 
b/media-libs/taglib/taglib-2.0.2.ebuild
index 5a378136d74c..5fef3540f0a5 100644
--- a/media-libs/taglib/taglib-2.0.2.ebuild
+++ b/media-libs/taglib/taglib-2.0.2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 inherit cmake-multilib
 
 DESCRIPTION="Library for reading and editing audio meta data"
-HOMEPAGE="https://taglib.github.io/";
+HOMEPAGE="https://taglib.org";
 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="LGPL-2.1 MPL-1.1"
@@ -16,10 +16,10 @@ IUSE="doc examples test"
 
 RESTRICT="!test? ( test )"
 
-RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
+RDEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
 DEPEND="${RDEPEND}
        dev-libs/utfcpp
-       test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] )
+       test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
 "
 BDEPEND="
        virtual/pkgconfig
@@ -41,19 +41,18 @@ multilib_src_configure() {
 multilib_src_compile() {
        cmake_src_compile
 
-       if multilib_is_native_abi; then
-               use doc && cmake_build docs
+       if multilib_is_native_abi && use doc; then
+               cmake_build docs
        fi
 }
 
 multilib_src_test() {
-       eninja check
+       eninja -C "${BUILD_DIR}" check
 }
 
 multilib_src_install() {
-       cmake_src_install
-
        if multilib_is_native_abi && use doc; then
                HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
        fi
+       cmake_src_install
 }

Reply via email to