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/x264: ChangeLog x264-0.0.20130731.ebuild
Date: Thu, 01 Aug 2013 17:41:04
Message-Id: 20130801174101.167E02171C@flycatcher.gentoo.org
1 aballier 13/08/01 17:41:01
2
3 Modified: ChangeLog
4 Added: x264-0.0.20130731.ebuild
5 Log:
6 new snapshot with the accumulated fixes
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.96 media-libs/x264/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.96&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.96&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?r1=1.95&r2=1.96
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v
20 retrieving revision 1.95
21 retrieving revision 1.96
22 diff -u -r1.95 -r1.96
23 --- ChangeLog 1 Aug 2013 17:24:02 -0000 1.95
24 +++ ChangeLog 1 Aug 2013 17:41:00 -0000 1.96
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/x264
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.95 2013/08/01 17:24:02 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.96 2013/08/01 17:41:00 aballier Exp $
30 +
31 +*x264-0.0.20130731 (01 Aug 2013)
32 +
33 + 01 Aug 2013; Alexis Ballier <aballier@g.o> +x264-0.0.20130731.ebuild:
34 + new snapshot with the accumulated fixes
35
36 01 Aug 2013; Alexis Ballier <aballier@g.o> x264-9999.ebuild:
37 Go multilib and stack for for medialibs r8
38
39
40
41 1.1 media-libs/x264/x264-0.0.20130731.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20130731.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20130731.ebuild?rev=1.1&content-type=text/plain
45
46 Index: x264-0.0.20130731.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20130731.ebuild,v 1.1 2013/08/01 17:41:00 aballier Exp $
51
52 EAPI=5
53
54 inherit flag-o-matic multilib toolchain-funcs eutils multilib-minimal
55
56 DESCRIPTION="A free library for encoding X264/AVC streams"
57 HOMEPAGE="http://www.videolan.org/developers/x264.html"
58 if [[ ${PV} == 9999 ]]; then
59 inherit git-2
60 EGIT_REPO_URI="git://git.videolan.org/x264.git"
61 else
62 inherit versionator
63 MY_P="x264-snapshot-$(get_version_component_range 3)-2245"
64 SRC_URI="http://download.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
66 S="${WORKDIR}/${MY_P}"
67 fi
68
69 SONAME="135"
70 SLOT="0/${SONAME}"
71
72 LICENSE="GPL-2"
73 IUSE="10bit +interlaced pic static-libs sse +threads"
74
75 ASM_DEP=">=dev-lang/yasm-1.2.0"
76 DEPEND="abi_x86_32? ( ${ASM_DEP} )
77 abi_x86_64? ( ${ASM_DEP} )"
78 RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r7
79 !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
80
81 DOCS="AUTHORS doc/*.txt"
82
83 src_prepare() {
84 # Initial support for x32 ABI, bug #420241
85 # Avoid messing too much with CFLAGS.
86 epatch "${FILESDIR}"/x264-cflags.patch
87 }
88
89 multilib_src_configure() {
90 tc-export CC
91 local asm_conf=""
92
93 if [[ ${ABI} == x86* ]] && use pic || [[ ${ABI} == "x32" ]]; then
94 asm_conf=" --disable-asm"
95 fi
96
97 # Upstream uses this, see the cflags patch
98 use sse && append-flags "-msse" "-mfpmath=sse"
99
100 "${S}/configure" \
101 --prefix="${EPREFIX}"/usr \
102 --libdir="${EPREFIX}"/usr/$(get_libdir) \
103 --disable-cli \
104 --disable-avs \
105 --disable-lavf \
106 --disable-swscale \
107 --disable-ffms \
108 --disable-gpac \
109 --enable-pic \
110 --enable-shared \
111 --host="${CHOST}" \
112 $(usex 10bit "--bit-depth=10" "") \
113 $(usex interlaced "" "--disable-interlaced") \
114 $(usex static-libs "" "--enable-static") \
115 $(usex threads "" "--disable-thread") \
116 ${asm_conf} || die
117 }