Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libquicktime: ChangeLog libquicktime-1.0.2_p20080621.ebuild
Date: Sat, 21 Jun 2008 20:41:49
Message-Id: E1KA9u3-0003fL-7Y@stork.gentoo.org
1 loki_val 08/06/21 20:41:43
2
3 Modified: ChangeLog
4 Added: libquicktime-1.0.2_p20080621.ebuild
5 Log:
6 Bump to snapshot. Fixes 218101 wrt. libquicktime. Please wait for the correct distfile to propagate.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.23.12-hrt5 i686)
8
9 Revision Changes Path
10 1.112 media-libs/libquicktime/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.112&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.112&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?r1=1.111&r2=1.112
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v
19 retrieving revision 1.111
20 retrieving revision 1.112
21 diff -u -r1.111 -r1.112
22 --- ChangeLog 20 Jun 2008 21:59:10 -0000 1.111
23 +++ ChangeLog 21 Jun 2008 20:41:42 -0000 1.112
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-libs/libquicktime
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.111 2008/06/20 21:59:10 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.112 2008/06/21 20:41:42 loki_val Exp $
29 +
30 +*libquicktime-1.0.2_p20080621 (21 Jun 2008)
31 +
32 + 21 Jun 2008; Peter Alfredsen <loki_val@g.o>
33 + +libquicktime-1.0.2_p20080621.ebuild:
34 + Bump to snapshot. Fixes 218101 wrt. libquicktime. Please wait for the
35 + correct distfile to propagate.
36
37 20 Jun 2008; Alexis Ballier <aballier@g.o>
38 libquicktime-1.0.2.ebuild:
39
40
41
42 1.1 media-libs/libquicktime/libquicktime-1.0.2_p20080621.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.2_p20080621.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.2_p20080621.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libquicktime-1.0.2_p20080621.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/libquicktime/libquicktime-1.0.2_p20080621.ebuild,v 1.1 2008/06/21 20:41:42 loki_val Exp $
52
53 inherit libtool eutils
54
55 DESCRIPTION="A library based on quicktime4linux with extensions"
56 HOMEPAGE="http://libquicktime.sourceforge.net/"
57 SRC_URI="mirror://gentoo/${P}.tar.bz2"
58
59 LICENSE="LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62
63 IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg doc"
64
65 RDEPEND="dv? ( media-libs/libdv )
66 gtk? ( >=x11-libs/gtk+-2.4.0 )
67 aac? (
68 media-libs/faad2
69 encode? ( media-libs/faac )
70 )
71 alsa? ( media-libs/alsa-lib )
72 png? ( media-libs/libpng )
73 jpeg? ( media-libs/jpeg )
74 vorbis? ( media-libs/libvorbis media-libs/libogg )
75 lame? ( media-sound/lame )
76 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080206 )
77 x264? ( media-libs/x264 )
78 X? ( x11-libs/libXaw
79 x11-libs/libXv
80 x11-libs/libXext
81 x11-libs/libX11
82 opengl? ( media-libs/mesa )
83 )
84 virtual/libintl
85 !virtual/quicktime"
86 DEPEND="${RDEPEND}
87 X? (
88 x11-proto/videoproto
89 x11-proto/xextproto
90 )
91 doc? ( app-doc/doxygen )
92 dev-util/pkgconfig
93 sys-devel/gettext"
94
95 PROVIDE="virtual/quicktime"
96
97 src_unpack() {
98 unpack ${A}
99 cd "${S}"
100
101 # Needed for sane .so versionning on g/fbsd
102 elibtoolize
103 }
104 src_compile() {
105 local MY_OPTS=""
106 if use !encode || use !aac; then
107 MY_OPTS="--without-faac"
108 fi
109
110 econf --enable-shared \
111 --enable-static \
112 --enable-gpl \
113 $(use_with doc doxygen) \
114 $(use_enable mmx asm) \
115 $(use_with X x) \
116 $(use_with gtk) \
117 $(use_with dv libdv) \
118 $(use_with alsa) \
119 $(use_with aac faad2) \
120 $(use_with png libpng) \
121 $(use_with jpeg libjpeg) \
122 $(use vorbis || echo "--without-vorbis") \
123 $(use_with lame) \
124 $(use_with x264) \
125 $(use_with ffmpeg) \
126 $(use_with opengl) \
127 ${MY_OPTS} \
128 --without-cpuflags || die "econf failed"
129
130 emake || die "emake failed"
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install || die "emake install failed"
135
136 dodoc README TODO ChangeLog
137 # Compatibility with software that uses quicktime prefix, but
138 # don't do that when building for Darwin/MacOS
139 [[ ${CHOST} != *-darwin* ]] && \
140 dosym /usr/include/lqt /usr/include/quicktime
141 }
142
143 pkg_preinst() {
144 if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
145 elog "For compatibility with other quicktime libraries, ${PN} was"
146 elog "going to create a /usr/include/quicktime symlink, but for some"
147 elog "reason that is a directory on your system."
148
149 elog "Please check that is empty, and remove it, or submit a bug"
150 elog "telling us which package owns the directory."
151 die "/usr/include/quicktime is a directory."
152 fi
153 }
154
155
156
157 --
158 gentoo-commits@l.g.o mailing list