1 |
aballier 13/12/30 07:24:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libmpeg3-1.8-r1.ebuild |
5 |
Log: |
6 |
Convert to multilib, bug #496382. Fix implicit declaration of free(). |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A) |
9 |
|
10 |
Revision Changes Path |
11 |
1.82 media-libs/libmpeg3/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpeg3/ChangeLog?rev=1.82&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpeg3/ChangeLog?rev=1.82&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpeg3/ChangeLog?r1=1.81&r2=1.82 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v |
20 |
retrieving revision 1.81 |
21 |
retrieving revision 1.82 |
22 |
diff -u -r1.81 -r1.82 |
23 |
--- ChangeLog 30 Dec 2013 07:16:15 -0000 1.81 |
24 |
+++ ChangeLog 30 Dec 2013 07:24:22 -0000 1.82 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-libs/libmpeg3 |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.81 2013/12/30 07:16:15 aballier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.82 2013/12/30 07:24:22 aballier Exp $ |
30 |
+ |
31 |
+*libmpeg3-1.8-r1 (30 Dec 2013) |
32 |
+ |
33 |
+ 30 Dec 2013; Alexis Ballier <aballier@g.o> +libmpeg3-1.8-r1.ebuild, |
34 |
+ +files/libmpeg3-1.8-impldecl.patch: |
35 |
+ Convert to multilib, bug #496382. Fix implicit declaration of free(). |
36 |
|
37 |
30 Dec 2013; Alexis Ballier <aballier@g.o> -libmpeg3-1.7.ebuild, |
38 |
-files/libmpeg3-1.7-memcpy.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: libmpeg3-1.8-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.8-r1.ebuild,v 1.1 2013/12/30 07:24:22 aballier Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils autotools toolchain-funcs multilib-minimal |
56 |
|
57 |
DESCRIPTION="An mpeg library for linux" |
58 |
HOMEPAGE="http://heroinewarrior.com/libmpeg3.php" |
59 |
SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2 |
60 |
mirror://gentoo/${PN}-1.7-gentoo.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
65 |
IUSE="mmx" |
66 |
|
67 |
RDEPEND="sys-libs/zlib |
68 |
virtual/jpeg |
69 |
media-libs/a52dec" |
70 |
DEPEND="${RDEPEND} |
71 |
mmx? ( dev-lang/nasm )" |
72 |
|
73 |
src_prepare() { |
74 |
epatch "${WORKDIR}"/${PN}-1.7-mpeg3split.patch |
75 |
epatch "${WORKDIR}"/${PN}-1.7-textrel.patch |
76 |
epatch "${WORKDIR}"/${PN}-1.7-gnustack.patch |
77 |
epatch "${WORKDIR}"/${PN}-1.7-a52.patch |
78 |
epatch "${WORKDIR}"/${PN}-1.7-all_gcc4.patch |
79 |
epatch "${WORKDIR}"/${PN}-1.7-all_pthread.patch |
80 |
|
81 |
epatch "${FILESDIR}/${P}-impldecl.patch" |
82 |
|
83 |
cp -rf "${WORKDIR}"/1.7/* . |
84 |
eautoreconf |
85 |
} |
86 |
|
87 |
multilib_src_configure() { |
88 |
#disabling css since it's a fake one. |
89 |
#One can find in the sources this message : |
90 |
# Stubs for deCSS which can't be distributed in source form |
91 |
|
92 |
ECONF_SOURCE="${S}" econf \ |
93 |
$(use_enable mmx) \ |
94 |
--disable-css |
95 |
} |
96 |
|
97 |
multilib_src_install_all() { |
98 |
dohtml -r docs |
99 |
# This is a workaround, it wants to rebuild |
100 |
# everything if the headers have changed |
101 |
# So we patch them after install... |
102 |
cd "${ED}/usr/include/libmpeg3" |
103 |
# This patch patches the .h files that get installed into /usr/include |
104 |
# to show the correct include syntax '<>' instead of '""' This patch |
105 |
# was also generated using info from SF's src.rpm |
106 |
epatch "${WORKDIR}"/gentoo-p2.patch |
107 |
|
108 |
find "${ED}" -name '*.la' -exec rm -f '{}' + |
109 |
} |