Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/flac: ChangeLog flac-1.3.1.ebuild
Date: Thu, 27 Nov 2014 13:45:37
Message-Id: 20141127134534.9B916FD6@oystercatcher.gentoo.org
1 radhermit 14/11/27 13:45:34
2
3 Modified: ChangeLog
4 Added: flac-1.3.1.ebuild
5 Log:
6 Version bump (bug #530848) and fix prefix support (bug #529566).
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.180 media-libs/flac/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?rev=1.180&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?rev=1.180&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/ChangeLog?r1=1.179&r2=1.180
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v
20 retrieving revision 1.179
21 retrieving revision 1.180
22 diff -u -r1.179 -r1.180
23 --- ChangeLog 27 Sep 2014 22:16:21 -0000 1.179
24 +++ ChangeLog 27 Nov 2014 13:45:34 -0000 1.180
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/flac
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.179 2014/09/27 22:16:21 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.180 2014/11/27 13:45:34 radhermit Exp $
30 +
31 +*flac-1.3.1 (27 Nov 2014)
32 +
33 + 27 Nov 2014; Tim Harder <radhermit@g.o> +flac-1.3.1.ebuild:
34 + Version bump (bug #530848) and fix prefix support (bug #529566).
35
36 *flac-1.3.0-r1 (27 Sep 2014)
37
38
39
40
41 1.1 media-libs/flac/flac-1.3.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/flac-1.3.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/flac/flac-1.3.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: flac-1.3.1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.3.1.ebuild,v 1.1 2014/11/27 13:45:34 radhermit Exp $
51
52 EAPI=5
53 AUTOTOOLS_AUTORECONF=1
54 AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
55
56 inherit autotools-multilib
57
58 DESCRIPTION="free lossless audio encoder and decoder"
59 HOMEPAGE="http://flac.sourceforge.net"
60 SRC_URI="http://downloads.xiph.org/releases/${PN}/${P}.tar.xz"
61
62 LICENSE="BSD FDL-1.2 GPL-2 LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
65 IUSE="3dnow altivec +cxx debug ogg sse static-libs"
66
67 RDEPEND="ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] )
68 abi_x86_32? (
69 !<=app-emulation/emul-linux-x86-soundlibs-20130224-r1
70 !app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
71 )"
72 DEPEND="${RDEPEND}
73 app-arch/xz-utils
74 abi_x86_32? ( dev-lang/nasm )
75 !elibc_uclibc? ( sys-devel/gettext )
76 virtual/pkgconfig"
77
78 src_prepare() {
79 local PATCHES=(
80 "${FILESDIR}"/${PN}-1.3.0-asneeded.patch
81 "${FILESDIR}"/${PN}-1.3.0-dontbuild-tests.patch
82 "${FILESDIR}"/${PN}-1.3.0-dontbuild-examples.patch
83 )
84
85 AT_M4DIR="m4" autotools-multilib_src_prepare
86 }
87
88 src_configure() {
89 local myeconfargs=(
90 $(use_enable debug)
91 $(use_enable sse)
92 $(use_enable 3dnow)
93 $(use_enable altivec)
94 --disable-doxygen-docs
95 --disable-xmms-plugin
96 $(use_enable cxx cpplibs)
97 $(use_enable ogg)
98 --disable-examples
99 $([[ ${CHOST} == *-darwin* ]] && echo "--disable-asm-optimizations")
100 )
101 autotools-multilib_src_configure
102 }
103
104 src_test() {
105 if [[ ${UID} != 0 ]]; then
106 autotools-multilib_src_test -j1
107 else
108 ewarn "Tests will fail if ran as root, skipping."
109 fi
110 }
111
112 src_install() {
113 autotools-multilib_src_install \
114 docdir="${EPREFIX}"/usr/share/doc/${PF}/html
115 }