Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/taglib: taglib-1.9.1-r1.ebuild ChangeLog
Date: Sat, 07 Jun 2014 11:55:12
Message-Id: 20140607115509.290562004E@flycatcher.gentoo.org
1 mgorny 14/06/07 11:55:09
2
3 Modified: ChangeLog
4 Added: taglib-1.9.1-r1.ebuild
5 Log:
6 Enable multilib support, as a dependency of media-plugins/gst-plugins-taglib.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.148 media-libs/taglib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/taglib/ChangeLog?rev=1.148&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/taglib/ChangeLog?rev=1.148&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/taglib/ChangeLog?r1=1.147&r2=1.148
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v
20 retrieving revision 1.147
21 retrieving revision 1.148
22 diff -u -r1.147 -r1.148
23 --- ChangeLog 13 Oct 2013 10:27:45 -0000 1.147
24 +++ ChangeLog 7 Jun 2014 11:55:08 -0000 1.148
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/taglib
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.147 2013/10/13 10:27:45 johu Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/ChangeLog,v 1.148 2014/06/07 11:55:08 mgorny Exp $
31 +
32 +*taglib-1.9.1-r1 (07 Jun 2014)
33 +
34 + 07 Jun 2014; Michał Górny <mgorny@g.o> +taglib-1.9.1-r1.ebuild:
35 + Enable multilib support, as a dependency of media-plugins/gst-plugins-taglib.
36
37 *taglib-1.9.1 (13 Oct 2013)
38
39
40
41
42 1.1 media-libs/taglib/taglib-1.9.1-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/taglib/taglib-1.9.1-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/taglib/taglib-1.9.1-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: taglib-1.9.1-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/taglib/taglib-1.9.1-r1.ebuild,v 1.1 2014/06/07 11:55:08 mgorny Exp $
52
53 EAPI=5
54
55 inherit cmake-multilib
56
57 DESCRIPTION="A library for reading and editing audio meta data"
58 HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html"
59 SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
60
61 LICENSE="LGPL-2.1 MPL-1.1"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
63 SLOT="0"
64 IUSE="+asf debug examples +mp4 test"
65
66 RDEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
67 DEPEND="${RDEPEND}
68 virtual/pkgconfig[${MULTILIB_USEDEP}]
69 test? ( dev-util/cppunit[${MULTILIB_USEDEP}] )
70 "
71
72 PATCHES=(
73 "${FILESDIR}"/${PN}-1.6.1-install-examples.patch
74 )
75
76 DOCS=( AUTHORS NEWS )
77
78 MULTILIB_CHOST_TOOLS=(
79 /usr/bin/taglib-config
80 )
81
82 multilib_src_configure() {
83 mycmakeargs=(
84 $(multilib_is_native_abi && cmake-utils_use_build examples)
85 $(cmake-utils_use_build test TESTS)
86 $(cmake-utils_use_with asf)
87 $(cmake-utils_use_with mp4)
88 )
89
90 cmake-utils_src_configure
91 }
92
93 multilib_src_test() {
94 # ctest does not work
95 emake -C "${BUILD_DIR}" check
96 }
97
98 pkg_postinst() {
99 if ! use asf; then
100 elog "You've chosen to disable the asf use flag, thus taglib won't include"
101 elog "support for Microsoft's 'advanced systems format' media container"
102 fi
103 if ! use mp4; then
104 elog "You've chosen to disable the mp4 use flag, thus taglib won't include"
105 elog "support for the MPEG-4 part 14 / MP4 media container"
106 fi
107 }