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