Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/
Date: Mon, 04 Jan 2016 17:28:28
Message-Id: 1451928487.6a8482a2cbefeded388eb96c08fba3d0d4c0b669.kensington@gentoo
1 commit: 6a8482a2cbefeded388eb96c08fba3d0d4c0b669
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 4 17:27:50 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 4 17:28:07 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a8482a2
7
8 media-libs/taglib: version bump
9
10 Gentoo-bug: 570610
11
12 Package-Manager: portage-2.2.26
13
14 media-libs/taglib/Manifest | 1 +
15 media-libs/taglib/taglib-1.10.ebuild | 59 ++++++++++++++++++++++++++++++++++++
16 2 files changed, 60 insertions(+)
17
18 diff --git a/media-libs/taglib/Manifest b/media-libs/taglib/Manifest
19 index 0c6d069..fa8a1ae 100644
20 --- a/media-libs/taglib/Manifest
21 +++ b/media-libs/taglib/Manifest
22 @@ -1 +1,2 @@
23 +DIST taglib-1.10.tar.gz 1233893 SHA256 2cd09ac6d4c4ec610aa5a0a488466bd0e0f78576581ef1f344090e397ecb9c52 SHA512 bf3256b08c4fa35d9416b50d700a6634222485e481528bd2a711ae7ec0d48ee99aed66286199f30e5391218aa818a692b92c779b5fcf40617a78b767bfd9b9a5 WHIRLPOOL ae55b391a69416877674ba9bdf01fcca06a216589c620785a4d7a489b548969bf317ce8d08aab9309325564f7ebe8e4b0c51f8bf2269c6d995f2a1ad8b430790
24 DIST taglib-1.9.1.tar.gz 654074 SHA256 d4da9aaaddf590ff15273b9b2c4622b6ce8377de0f40bab40155d471ede9c585 SHA512 17523b7ebdd089520289ae817b07f291be93fd0b9d3b2891eb4860a24e45943e94d25b99250c1ac477de5e51b08c39887ca13fdcc2dce17867eb60d1edb26154 WHIRLPOOL 962ec0508d8256a54ea686d4fb8d366f23f82bf10df6406c8012295ceda8416a5f23db6e450551b685798d628623eb5247e6ab7b658f955d897b86340baa5e8e
25
26 diff --git a/media-libs/taglib/taglib-1.10.ebuild b/media-libs/taglib/taglib-1.10.ebuild
27 new file mode 100644
28 index 0000000..540b69b
29 --- /dev/null
30 +++ b/media-libs/taglib/taglib-1.10.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +inherit cmake-multilib
39 +
40 +DESCRIPTION="A library for reading and editing audio meta data"
41 +HOMEPAGE="https://taglib.github.io/"
42 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2.1 MPL-1.1"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
46 +SLOT="0"
47 +IUSE="+asf debug examples +mp4 test"
48 +
49 +RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
50 +DEPEND="${RDEPEND}
51 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
52 + test? ( >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] )
53 +"
54 +
55 +PATCHES=(
56 + "${FILESDIR}"/${PN}-1.6.1-install-examples.patch
57 +)
58 +
59 +DOCS=( AUTHORS NEWS )
60 +
61 +MULTILIB_CHOST_TOOLS=(
62 + /usr/bin/taglib-config
63 +)
64 +
65 +multilib_src_configure() {
66 + local mycmakeargs=(
67 + $(multilib_is_native_abi && cmake-utils_use_build examples)
68 + $(cmake-utils_use_build test TESTS)
69 + $(cmake-utils_use_with asf)
70 + $(cmake-utils_use_with mp4)
71 + )
72 +
73 + cmake-utils_src_configure
74 +}
75 +
76 +multilib_src_test() {
77 + # ctest does not work
78 + emake -C "${BUILD_DIR}" check
79 +}
80 +
81 +pkg_postinst() {
82 + if ! use asf; then
83 + elog "You've chosen to disable the asf use flag, thus taglib won't include"
84 + elog "support for Microsoft's 'advanced systems format' media container"
85 + fi
86 + if ! use mp4; then
87 + elog "You've chosen to disable the mp4 use flag, thus taglib won't include"
88 + elog "support for the MPEG-4 part 14 / MP4 media container"
89 + fi
90 +}