Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libquicktime: ChangeLog libquicktime-1.1.4.ebuild
Date: Fri, 08 Jan 2010 13:23:31
Message-Id: E1NTEoH-0001aQ-It@stork.gentoo.org
1 aballier 10/01/08 13:23:25
2
3 Modified: ChangeLog
4 Added: libquicktime-1.1.4.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc61/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.146 media-libs/libquicktime/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.146&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.146&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?r1=1.145&r2=1.146
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v
19 retrieving revision 1.145
20 retrieving revision 1.146
21 diff -u -r1.145 -r1.146
22 --- ChangeLog 26 Oct 2009 11:19:06 -0000 1.145
23 +++ ChangeLog 8 Jan 2010 13:23:25 -0000 1.146
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/libquicktime
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.145 2009/10/26 11:19:06 aballier Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.146 2010/01/08 13:23:25 aballier Exp $
30 +
31 +*libquicktime-1.1.4 (08 Jan 2010)
32 +
33 + 08 Jan 2010; Alexis Ballier <aballier@g.o>
34 + +libquicktime-1.1.4.ebuild:
35 + version bump
36
37 26 Oct 2009; Alexis Ballier <aballier@g.o>
38 -libquicktime-1.1.1.ebuild, -files/libquicktime-1.1.1-headers.patch,
39
40
41
42 1.1 media-libs/libquicktime/libquicktime-1.1.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libquicktime-1.1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2010 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.1.4.ebuild,v 1.1 2010/01/08 13:23:25 aballier 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://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="LGPL-2.1"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg doc schroedinger"
63
64 RDEPEND="dv? ( media-libs/libdv )
65 gtk? ( >=x11-libs/gtk+-2.4.0 )
66 aac? (
67 media-libs/faad2
68 encode? ( media-libs/faac )
69 )
70 alsa? ( >=media-libs/alsa-lib-1.0.16 )
71 png? ( media-libs/libpng )
72 jpeg? ( media-libs/jpeg )
73 vorbis? ( media-libs/libvorbis media-libs/libogg )
74 lame? ( media-sound/lame )
75 ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20070616 )
76 x264? ( media-libs/x264 )
77 schroedinger? ( >=media-libs/schroedinger-1.0.5 )
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
105 src_compile() {
106 local MY_OPTS=""
107 if use !encode || use !aac; then
108 MY_OPTS="--without-faac"
109 fi
110
111 econf --enable-shared \
112 --enable-static \
113 --enable-gpl \
114 $(use_with doc doxygen) \
115 $(use_enable mmx asm) \
116 $(use_with X x) \
117 $(use_with gtk) \
118 $(use_with dv libdv) \
119 $(use_with alsa) \
120 $(use_with aac faad2) \
121 $(use_with png libpng) \
122 $(use_with jpeg libjpeg) \
123 $(use vorbis || echo "--without-vorbis") \
124 $(use_with lame) \
125 $(use_with x264) \
126 $(use_with ffmpeg) \
127 $(use_with opengl) \
128 $(use_with schroedinger) \
129 ${MY_OPTS} \
130 --without-cpuflags || die "econf failed"
131
132 emake || die "emake failed"
133 }
134
135 src_install() {
136 emake DESTDIR="${D}" install || die "emake install failed"
137
138 dodoc README TODO ChangeLog
139 # Compatibility with software that uses quicktime prefix, but
140 # don't do that when building for Darwin/MacOS
141 [[ ${CHOST} != *-darwin* ]] && \
142 dosym /usr/include/lqt /usr/include/quicktime
143 }
144
145 pkg_preinst() {
146 if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then
147 elog "For compatibility with other quicktime libraries, ${PN} was"
148 elog "going to create a /usr/include/quicktime symlink, but for some"
149 elog "reason that is a directory on your system."
150
151 elog "Please check that is empty, and remove it, or submit a bug"
152 elog "telling us which package owns the directory."
153 die "/usr/include/quicktime is a directory."
154 fi
155 }