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/flac: flac-1.2.1-r5.ebuild ChangeLog
Date: Wed, 01 May 2013 21:40:04
Message-Id: 20130501214000.CD45A2171D@flycatcher.gentoo.org
1 mgorny 13/05/01 21:40:00
2
3 Modified: ChangeLog
4 Added: flac-1.2.1-r5.ebuild
5 Log:
6 Convert to multilib, wrt bug #464490. Add doc hack thanks to Karl Lindén. Add USE=doc to control doc install.
7
8 (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
9
10 Revision Changes Path
11 1.154 media-libs/flac/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?rev=1.154&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?rev=1.154&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?r1=1.153&r2=1.154
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v
20 retrieving revision 1.153
21 retrieving revision 1.154
22 diff -u -r1.153 -r1.154
23 --- ChangeLog 25 Apr 2013 19:02:23 -0000 1.153
24 +++ ChangeLog 1 May 2013 21:40:00 -0000 1.154
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/flac
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.153 2013/04/25 19:02:23 radhermit Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.154 2013/05/01 21:40:00 mgorny Exp $
30 +
31 +*flac-1.2.1-r5 (01 May 2013)
32 +
33 + 01 May 2013; Michał Górny <mgorny@g.o> +flac-1.2.1-r5.ebuild:
34 + Convert to multilib, wrt bug #464490. Add doc hack thanks to Karl Lindén. Add
35 + USE=doc to control doc install.
36
37 25 Apr 2013; Tim Harder <radhermit@g.o> flac-1.2.1-r4.ebuild:
38 Fix autoreconf failures with automake-1.13 (bug #466990).
39 @@ -582,5 +588,3 @@
40
41 08 Jul 2002; Daniel Robbins <drobbins@g.o> : New version of FLAC with
42 better faster decoding and new C++ API.
43 -
44 -
45
46
47
48 1.1 media-libs/flac/flac-1.2.1-r5.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/flac-1.2.1-r5.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/flac-1.2.1-r5.ebuild?rev=1.1&content-type=text/plain
52
53 Index: flac-1.2.1-r5.ebuild
54 ===================================================================
55 # Copyright 1999-2013 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r5.ebuild,v 1.1 2013/05/01 21:40:00 mgorny Exp $
58
59 EAPI=5
60
61 AUTOTOOLS_AUTORECONF=1
62 WANT_AUTOMAKE=1.12
63 inherit autotools-multilib
64
65 DESCRIPTION="free lossless audio encoder and decoder"
66 HOMEPAGE="http://flac.sourceforge.net"
67 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
68 mirror://gentoo/${P}-embedded-m4.tar.bz2"
69
70 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
71 SLOT="0"
72 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
73 IUSE="3dnow altivec +cxx debug doc ogg sse static-libs"
74
75 RDEPEND="ogg? ( >=media-libs/libogg-1.1.3[${MULTILIB_USEDEP}] )
76 abi_x86_32? ( !<=app-emulation/emul-linux-x86-soundlibs-20130224 )"
77 DEPEND="${RDEPEND}
78 abi_x86_32? ( dev-lang/nasm )
79 !elibc_uclibc? ( sys-devel/gettext )
80 virtual/pkgconfig"
81
82 PATCHES=(
83 "${FILESDIR}"/${P}-asneeded.patch
84 "${FILESDIR}"/${P}-cflags.patch
85 "${FILESDIR}"/${P}-asm.patch
86 "${FILESDIR}"/${P}-dontbuild-tests.patch
87 "${FILESDIR}"/${P}-dontbuild-examples.patch
88 "${FILESDIR}"/${P}-gcc-4.3-includes.patch
89 "${FILESDIR}"/${P}-ogg-m4.patch
90 )
91
92 src_prepare() {
93 cp "${WORKDIR}"/*.m4 m4 || die
94
95 # html docgen seems to cause trouble
96 sed -i -e '/SUBDIRS/s:html::' doc/Makefile.am || die
97
98 AT_M4DIR="m4" \
99 autotools-multilib_src_prepare
100 }
101
102 src_configure() {
103 local myeconfargs=(
104 $(use_enable debug)
105 $(use_enable sse)
106 $(use_enable 3dnow)
107 $(use_enable altivec)
108 --disable-doxygen-docs
109 --disable-xmms-plugin
110 $(use_enable cxx cpplibs)
111 $(use_enable ogg)
112 --disable-examples
113 )
114 autotools-multilib_src_configure
115 }
116
117 src_test() {
118 if [[ ${UID} != 0 ]]; then
119 autotools-multilib_src_test
120 else
121 ewarn "Tests will fail if ran as root, skipping."
122 fi
123 }
124
125 src_install() {
126 use doc && local HTML_DOCS=( doc/html/. )
127
128 autotools-multilib_src_install
129
130 rm -rf "${D}"/usr/share/doc/${P}
131 }