Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libid3tag: libid3tag-0.15.1b-r4.ebuild ChangeLog
Date: Wed, 31 Jul 2013 17:35:04
Message-Id: 20130731173501.3D9322171C@flycatcher.gentoo.org
1 aballier 13/07/31 17:35:01
2
3 Modified: ChangeLog
4 Added: libid3tag-0.15.1b-r4.ebuild
5 Log:
6 convert to multilib and stack it for medialibs -r7
7
8 (Portage version: 2.2.0_alpha191/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.48 media-libs/libid3tag/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?rev=1.48&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?rev=1.48&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/ChangeLog?r1=1.47&r2=1.48
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v
20 retrieving revision 1.47
21 retrieving revision 1.48
22 diff -u -r1.47 -r1.48
23 --- ChangeLog 21 Jul 2013 21:37:15 -0000 1.47
24 +++ ChangeLog 31 Jul 2013 17:35:01 -0000 1.48
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/libid3tag
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v 1.47 2013/07/21 21:37:15 ottxor Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/ChangeLog,v 1.48 2013/07/31 17:35:01 aballier Exp $
30 +
31 +*libid3tag-0.15.1b-r4 (31 Jul 2013)
32 +
33 + 31 Jul 2013; Alexis Ballier <aballier@g.o>
34 + +libid3tag-0.15.1b-r4.ebuild:
35 + convert to multilib and stack it for medialibs -r7
36
37 *libid3tag-0.15.1b-r3 (21 Jul 2013)
38
39
40
41
42 1.1 media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libid3tag-0.15.1b-r4.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libid3tag/libid3tag-0.15.1b-r4.ebuild,v 1.1 2013/07/31 17:35:01 aballier Exp $
52
53 EAPI=5
54 inherit eutils multilib libtool multilib-minimal
55
56 DESCRIPTION="The MAD id3tag library"
57 HOMEPAGE="http://www.underbit.com/products/mad/"
58 SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
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 ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
63 IUSE="debug static-libs"
64
65 RDEPEND=">=sys-libs/zlib-1.1.3[${MULTILIB_USEDEP}]
66 abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r6
67 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
68 DEPEND="${RDEPEND}
69 dev-util/gperf"
70
71 src_prepare() {
72 epunt_cxx #74489
73 epatch "${FILESDIR}/${PV}"/*.patch
74 elibtoolize #sane .so versionning on fbsd and .so -> .so.version symlink
75 }
76
77 multilib_src_configure() {
78 ECONF_SOURCE="${S}" econf \
79 $(use_enable static-libs static) \
80 $(use_enable debug debugging)
81 }
82
83 multilib_src_install() {
84 default
85
86 # This file must be updated with every version update
87 insinto /usr/$(get_libdir)/pkgconfig
88 doins "${FILESDIR}"/id3tag.pc
89 sed -i \
90 -e "s:prefix=.*:prefix=${EPREFIX}/usr:" \
91 -e "s:libdir=\${exec_prefix}/lib:libdir=${EPREFIX}/usr/$(get_libdir):" \
92 -e "s:0.15.0b:${PV}:" \
93 "${ED}"/usr/$(get_libdir)/pkgconfig/id3tag.pc || die
94 }
95
96 multilib_src_install_all() {
97 find "${ED}" -name '*.la' -exec rm -f '{}' +
98 }