1 |
aballier 08/03/01 18:58:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xvid-1.1.3-r3.ebuild |
5 |
Log: |
6 |
Textrel patch update from the PaX team, part of bug #211652; fixes a segfault when using mpeg quantization |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.98 media-libs/xvid/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xvid/ChangeLog?rev=1.98&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xvid/ChangeLog?rev=1.98&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xvid/ChangeLog?r1=1.97&r2=1.98 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v |
19 |
retrieving revision 1.97 |
20 |
retrieving revision 1.98 |
21 |
diff -u -r1.97 -r1.98 |
22 |
--- ChangeLog 17 Dec 2007 09:17:02 -0000 1.97 |
23 |
+++ ChangeLog 1 Mar 2008 18:58:02 -0000 1.98 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-libs/xvid |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.97 2007/12/17 09:17:02 aballier Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/ChangeLog,v 1.98 2008/03/01 18:58:02 aballier Exp $ |
30 |
+ |
31 |
+*xvid-1.1.3-r3 (01 Mar 2008) |
32 |
+ |
33 |
+ 01 Mar 2008; Alexis Ballier <aballier@g.o> +xvid-1.1.3-r3.ebuild: |
34 |
+ Textrel patch update from the PaX team, part of bug #211652; fixes a |
35 |
+ segfault when using mpeg quantization |
36 |
|
37 |
*xvid-1.1.3-r2 (17 Dec 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/xvid/xvid-1.1.3-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xvid/xvid-1.1.3-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xvid/xvid-1.1.3-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xvid-1.1.3-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/xvid/xvid-1.1.3-r3.ebuild,v 1.1 2008/03/01 18:58:02 aballier Exp $ |
52 |
|
53 |
inherit eutils fixheadtails autotools |
54 |
|
55 |
MY_P=${PN}core-${PV} |
56 |
|
57 |
DESCRIPTION="XviD, a high performance/quality MPEG-4 video de-/encoding solution" |
58 |
HOMEPAGE="http://www.xvid.org" |
59 |
SRC_URI="http://downloads.xvid.org/downloads/${MY_P}.tar.bz2 |
60 |
mirror://gentoo/${PN}-1.1.2-noexec-stack.patch.bz2 |
61 |
mirror://gentoo/${P}-textrel-3.patch.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="1" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
IUSE="examples altivec" |
67 |
|
68 |
# once yasm-0.6.0+ comes out, we can switch this to |
69 |
# dev-lang/nasm >=dev-lang/yasm-0.6.0 |
70 |
# and then drop the quotes from section in the noexec-stack.patch |
71 |
|
72 |
# yasm < 0.6.2 has a bug when computing pic adresses. |
73 |
# See http://www.tortall.net/projects/yasm/ticket/114 |
74 |
# the build system prefers yasm if it finds it |
75 |
# thus if we intend to have || (yasm nasm) for building |
76 |
# we need to make it block yasm < 0.6.2 on x86 |
77 |
# otherwise it will compile wrong code |
78 |
NASM=">=dev-lang/yasm-0.6.2" |
79 |
DEPEND="x86? ( ${NASM} ) |
80 |
amd64? ( ${NASM} )" |
81 |
RDEPEND="" |
82 |
|
83 |
S="${WORKDIR}"/${MY_P}/build/generic |
84 |
|
85 |
src_unpack() { |
86 |
unpack ${A} |
87 |
cd "${WORKDIR}"/${MY_P} |
88 |
epatch "${FILESDIR}"/${PN}-1.1.0_beta2-altivec.patch |
89 |
epatch "${WORKDIR}"/${PN}-1.1.2-noexec-stack.patch |
90 |
epatch "${FILESDIR}"/${PN}-1.1.0-3dnow-2.patch |
91 |
epatch "${FILESDIR}"/${P}-ia64-build.patch |
92 |
epatch "${WORKDIR}/${P}-textrel-3.patch" |
93 |
cd "${S}" |
94 |
eautoreconf |
95 |
} |
96 |
|
97 |
src_compile() { |
98 |
econf $(use_enable altivec) |
99 |
emake || die "emake failed." |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
emake DESTDIR="${D}" install || die "emake install failed." |
104 |
|
105 |
dodoc "${S}"/../../{AUTHORS,ChangeLog*,README,TODO} |
106 |
|
107 |
if [[ ${CHOST} == *-darwin* ]]; then |
108 |
local mylib=$(basename $(ls "${D}"/usr/$(get_libdir)/libxvidcore.*.dylib)) |
109 |
dosym ${mylib} /usr/$(get_libdir)/libxvidcore.dylib |
110 |
else |
111 |
local mylib=$(basename $(ls "${D}"/usr/$(get_libdir)/libxvidcore.so*)) |
112 |
dosym ${mylib} /usr/$(get_libdir)/libxvidcore.so |
113 |
dosym ${mylib} /usr/$(get_libdir)/${mylib/.1} |
114 |
fi |
115 |
|
116 |
if use examples; then |
117 |
dodoc "${S}"/../../CodingStyle |
118 |
insinto /usr/share/${PN} |
119 |
doins -r "${S}"/../../examples |
120 |
fi |
121 |
} |
122 |
|
123 |
|
124 |
|
125 |
-- |
126 |
gentoo-commits@l.g.o mailing list |