From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/, media-libs/taglib/files/
Date: Fri, 28 Oct 2022 16:57:30 +0000 (UTC) [thread overview]
Message-ID: <1666975734.31d7e83d128bcbff85fbac24852f8594ae7cb312.asturm@gentoo> (raw)
commit: 31d7e83d128bcbff85fbac24852f8594ae7cb312
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 16:32:57 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 16:48:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31d7e83d
media-libs/taglib: add 1.13
See also:
https://mail.kde.org/pipermail/taglib-devel/2022-October/003054.html
https://taglib.org/#taglib-113-release---oct-27-2022
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
media-libs/taglib/Manifest | 1 +
media-libs/taglib/files/taglib-1.13-cmake.patch | 37 +++++++++++++++
media-libs/taglib/taglib-1.13.ebuild | 60 +++++++++++++++++++++++++
3 files changed, 98 insertions(+)
diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest
index 5a275aba3316..71d1b6ea1e04 100644
--- a/media-libs/taglib/Manifest
+++ b/media-libs/taglib/Manifest
@@ -1 +1,2 @@
DIST taglib-1.12.tar.gz 1364231 BLAKE2B 414a61a302fbdd1af8dae70fcec96311023d3ef85a659b8dc598c8c73cf31142b4a254c843f4d415eff0fda84e62e18f1bb63921f1868400990f023aa01b1a41 SHA512 63c96297d65486450908bda7cc1583ec338fa5a56a7c088fc37d6e125e1ee76e6d20343556a8f3d36f5b7e5187c58a5d15be964c996e3586ea1438910152b1a6
+DIST taglib-1.13.tar.gz 1371504 BLAKE2B 844aacec1a5a6baf69cc849cd09c53778b618acffc4bffb0b80835e0a0b6481c0492a5b66b51ef6fd15350b3a392f4a473410696534a7c2129cf045de6108156 SHA512 b6e3253d158b41173073c0da1915f5e4a3de947db918660817cb1c755fba7e3723ea1a335fbbc30b0dcf942348a471b493fe2ce1d52d1a808578edee14e1bfc7
diff --git a/media-libs/taglib/files/taglib-1.13-cmake.patch b/media-libs/taglib/files/taglib-1.13-cmake.patch
new file mode 100644
index 000000000000..5bda305db103
--- /dev/null
+++ b/media-libs/taglib/files/taglib-1.13-cmake.patch
@@ -0,0 +1,37 @@
+From 8aa7dd81d8b89bfa48bb32f6cab7df20f79f3562 Mon Sep 17 00:00:00 2001
+From: Ryan Schmidt <git@ryandesign.com>
+Date: Thu, 27 Oct 2022 20:02:04 -0500
+Subject: [PATCH] Fix macOS dylib install name to be absolute path
+
+Closes #1065
+---
+ bindings/c/CMakeLists.txt | 2 +-
+ taglib/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bindings/c/CMakeLists.txt b/bindings/c/CMakeLists.txt
+index 15f4e440a..b517da7b6 100644
+--- a/bindings/c/CMakeLists.txt
++++ b/bindings/c/CMakeLists.txt
+@@ -58,7 +58,7 @@ set_target_properties(tag_c PROPERTIES
+ VERSION 0.0.0
+ SOVERSION 0
+ DEFINE_SYMBOL MAKE_TAGLIB_C_LIB
+- INSTALL_NAME_DIR ${CMAKE_INSTALL_LIBDIR}
++ INSTALL_NAME_DIR ${CMAKE_INSTALL_FULL_LIBDIR}
+ )
+ install(TARGETS tag_c
+ FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
+diff --git a/taglib/CMakeLists.txt b/taglib/CMakeLists.txt
+index 527c00738..ea1ab8388 100644
+--- a/taglib/CMakeLists.txt
++++ b/taglib/CMakeLists.txt
+@@ -344,7 +344,7 @@ endif()
+ set_target_properties(tag PROPERTIES
+ VERSION ${TAGLIB_SOVERSION_MAJOR}.${TAGLIB_SOVERSION_MINOR}.${TAGLIB_SOVERSION_PATCH}
+ SOVERSION ${TAGLIB_SOVERSION_MAJOR}
+- INSTALL_NAME_DIR ${CMAKE_INSTALL_LIBDIR}
++ INSTALL_NAME_DIR ${CMAKE_INSTALL_FULL_LIBDIR}
+ DEFINE_SYMBOL MAKE_TAGLIB_LIB
+ LINK_INTERFACE_LIBRARIES ""
+ PUBLIC_HEADER "${tag_HDRS}"
diff --git a/media-libs/taglib/taglib-1.13.ebuild b/media-libs/taglib/taglib-1.13.ebuild
new file mode 100644
index 000000000000..d5cbedc1aa37
--- /dev/null
+++ b/media-libs/taglib/taglib-1.13.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib
+
+DESCRIPTION="Library for reading and editing audio meta data"
+HOMEPAGE="https://taglib.github.io/"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1 MPL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE="doc examples test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen[dot] )
+"
+
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/taglib-config
+)
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DBUILD_EXAMPLES=$(multilib_native_usex examples)
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
+
+multilib_src_compile() {
+ cmake_src_compile
+
+ if multilib_is_native_abi; then
+ use doc && cmake_build docs
+ fi
+}
+
+multilib_src_test() {
+ eninja check
+}
+
+multilib_src_install() {
+ cmake_src_install
+
+ if multilib_is_native_abi && use doc; then
+ HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
+ fi
+}
next reply other threads:[~2022-10-28 16:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 16:57 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-30 20:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/, media-libs/taglib/files/ Andreas Sturmlechner
2021-04-15 22:36 Andreas Sturmlechner
2021-02-16 0:24 Andreas Sturmlechner
2019-10-20 14:21 Andreas Sturmlechner
2018-11-17 23:10 Andreas Sturmlechner
2017-08-08 17:29 Andreas Sturmlechner
2016-07-20 21:35 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1666975734.31d7e83d128bcbff85fbac24852f8594ae7cb312.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox