diff options
author | Nicolas PARLANT <nicolas.parlant@parhuet.fr> | 2024-12-18 20:20:30 +0000 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-12-28 01:04:53 +0100 |
commit | 211161380f1ac12f6c00b3d12b89e585d69cdb31 (patch) | |
tree | 7d72b3b9bd68055d95f147bc512d4ec1bf819b71 /media-libs/taglib | |
parent | media-libs/taglib: add 2.0.2 (diff) | |
download | gentoo-211161380f1ac12f6c00b3d12b89e585d69cdb31.tar.gz gentoo-211161380f1ac12f6c00b3d12b89e585d69cdb31.tar.bz2 gentoo-211161380f1ac12f6c00b3d12b89e585d69cdb31.zip |
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@parhuet.fr>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/taglib')
-rw-r--r-- | media-libs/taglib/taglib-2.0.2.ebuild | 15 |
1 files 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 } |