Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-video/mpeg-tools: ChangeLog mpeg-tools-1.5b-r3.ebuild
Date: Mon, 24 Aug 2009 19:27:41
Message-Id: E1MffCU-0006nj-ND@stork.gentoo.org
1 ssuominen 09/08/24 19:27:30
2
3 Modified: ChangeLog
4 Added: mpeg-tools-1.5b-r3.ebuild
5 Log:
6 Fix building with >=media-libs/jpeg-7 wrt #282588, thanks to Christian Becke for reporting.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.20 media-video/mpeg-tools/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 22 Jul 2007 08:46:49 -0000 1.19
23 +++ ChangeLog 24 Aug 2009 19:27:30 -0000 1.20
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-video/mpeg-tools
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.19 2007/07/22 08:46:49 dberkholz Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/ChangeLog,v 1.20 2009/08/24 19:27:30 ssuominen Exp $
30 +
31 +*mpeg-tools-1.5b-r3 (24 Aug 2009)
32 +
33 + 24 Aug 2009; Samuli Suominen <ssuominen@g.o>
34 + +mpeg-tools-1.5b-r3.ebuild, +files/mpeg-tools-1.5b-system-jpeg-7.patch:
35 + Fix building with >=media-libs/jpeg-7 wrt #282588, thanks to Christian
36 + Becke for reporting.
37
38 22 Jul 2007; Donnie Berkholz <dberkholz@g.o>;
39 mpeg-tools-1.5b-r2.ebuild:
40
41
42
43 1.1 media-video/mpeg-tools/mpeg-tools-1.5b-r3.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mpeg-tools-1.5b-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2009 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-video/mpeg-tools/mpeg-tools-1.5b-r3.ebuild,v 1.1 2009/08/24 19:27:30 ssuominen Exp $
53
54 inherit eutils toolchain-funcs
55
56 MY_PN=mpeg_encode
57 DESCRIPTION="Tools for MPEG video"
58 HOMEPAGE="http://bmrc.berkeley.edu/research/mpeg/mpeg_encode.html"
59 SRC_URI="ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/encode/${MY_PN}-${PV}-src.tar.gz"
60
61 LICENSE="BSD"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 RDEPEND="x11-libs/libX11
67 >=media-libs/jpeg-7"
68 DEPEND="${RDEPEND}"
69
70 S=${WORKDIR}/${MY_PN}
71
72 src_unpack () {
73 unpack ${A}
74 cd "${WORKDIR}"
75 epatch "${FILESDIR}"/${P}-build.patch
76 epatch "${FILESDIR}"/${P}-64bit_fixes.patch
77 epatch "${FILESDIR}"/${P}-tempfile-convert.patch
78 cd "${S}"
79 rm -r jpeg
80 epatch "${FILESDIR}"/${P}-system-jpeg.patch
81 epatch "${FILESDIR}"/${P}-system-jpeg-7.patch
82 epatch "${FILESDIR}"/${P}-tempfile-mpeg-encode.patch
83 epatch "${FILESDIR}"/${P}-tempfile-tests.patch
84 }
85
86 src_compile() {
87 emake CC="$(tc-getCC)" || die "emake failed"
88 emake -C convert || die "emake convert failed"
89 emake -C convert/mtv || die "emake convert/mtv failed"
90 }
91
92 src_install () {
93 dobin mpeg_encode || die "dobin mpeg_encode"
94 doman docs/*.1
95 dodoc BUGS CHANGES README TODO VERSION
96 dodoc docs/EXTENSIONS docs/INPUT.FORMAT docs/*.param docs/param-summary
97 docinto examples
98 dodoc examples/*
99
100 cd ../convert
101 dobin eyuvtojpeg jmovie2jpeg mpeg_demux mtv/movieToVid || die "dobin convert utils"
102 newdoc README README.convert
103 newdoc mtv/README README.mtv
104 }
105
106 pkg_postinst() {
107 if [[ -z $(best_version media-libs/netpbm) ]] ; then
108 elog "If you are looking for eyuvtoppm or ppmtoeyuv, please"
109 elog "emerge the netpbm package. It has updated versions."
110 fi
111 }