1 |
aballier 08/01/02 13:59:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libquicktime-1.0.1-r1.ebuild |
5 |
Log: |
6 |
Fix pkg-config initialisation when alsa is not used, fix nls build with as-needed on non glibc systems, add missing dep on virtual/libintl for non glibc systems |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.99 media-libs/libquicktime/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.99&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?rev=1.99&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/ChangeLog?r1=1.98&r2=1.99 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v |
19 |
retrieving revision 1.98 |
20 |
retrieving revision 1.99 |
21 |
diff -u -r1.98 -r1.99 |
22 |
--- ChangeLog 25 Dec 2007 17:19:28 -0000 1.98 |
23 |
+++ ChangeLog 2 Jan 2008 13:59:35 -0000 1.99 |
24 |
@@ -1,6 +1,16 @@ |
25 |
# ChangeLog for media-libs/libquicktime |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.98 2007/12/25 17:19:28 phreak Exp $ |
28 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/ChangeLog,v 1.99 2008/01/02 13:59:35 aballier Exp $ |
30 |
+ |
31 |
+*libquicktime-1.0.1-r1 (02 Jan 2008) |
32 |
+ |
33 |
+ 02 Jan 2008; Alexis Ballier <aballier@g.o> |
34 |
+ +files/libquicktime-1.0.1-nls-asneeded.patch, |
35 |
+ +files/libquicktime-1.0.1-pkgconfig_init.patch, |
36 |
+ +libquicktime-1.0.1-r1.ebuild: |
37 |
+ Fix pkg-config initialisation when alsa is not used, fix nls build with |
38 |
+ as-needed on non glibc systems, add missing dep on virtual/libintl for non |
39 |
+ glibc systems |
40 |
|
41 |
25 Dec 2007; Christian Heim <phreak@g.o> metadata.xml: |
42 |
Removing zypher from metadata.xml as per #26909. |
43 |
|
44 |
|
45 |
|
46 |
1.1 media-libs/libquicktime/libquicktime-1.0.1-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.1-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.1-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: libquicktime-1.0.1-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libquicktime/libquicktime-1.0.1-r1.ebuild,v 1.1 2008/01/02 13:59:35 aballier Exp $ |
56 |
|
57 |
WANT_AUTOMAKE="latest" |
58 |
WANT_AUTOCONF="latest" |
59 |
inherit libtool eutils autotools |
60 |
|
61 |
DESCRIPTION="A library based on quicktime4linux with extensions" |
62 |
HOMEPAGE="http://libquicktime.sourceforge.net/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
64 |
|
65 |
LICENSE="LGPL-2.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
68 |
|
69 |
IUSE="mmx X opengl dv gtk alsa aac encode png jpeg vorbis lame x264 ffmpeg" |
70 |
|
71 |
RDEPEND="dv? ( media-libs/libdv ) |
72 |
gtk? ( >=x11-libs/gtk+-2.4.0 ) |
73 |
aac? ( |
74 |
media-libs/faad2 |
75 |
encode? ( media-libs/faac ) |
76 |
) |
77 |
alsa? ( media-libs/alsa-lib ) |
78 |
png? ( media-libs/libpng ) |
79 |
jpeg? ( media-libs/jpeg ) |
80 |
vorbis? ( media-libs/libvorbis media-libs/libogg ) |
81 |
lame? ( media-sound/lame ) |
82 |
ffmpeg? ( media-video/ffmpeg ) |
83 |
x264? ( >=media-libs/x264-svn-20060810 ) |
84 |
X? ( x11-libs/libXaw |
85 |
x11-libs/libXv |
86 |
x11-libs/libXext |
87 |
x11-libs/libX11 |
88 |
opengl? ( media-libs/mesa ) |
89 |
) |
90 |
virtual/libintl |
91 |
!virtual/quicktime" |
92 |
DEPEND="${RDEPEND} |
93 |
X? ( |
94 |
x11-proto/videoproto |
95 |
x11-proto/xextproto |
96 |
) |
97 |
dev-util/pkgconfig |
98 |
sys-devel/gettext" |
99 |
|
100 |
PROVIDE="virtual/quicktime" |
101 |
|
102 |
|
103 |
src_unpack() { |
104 |
unpack ${A} |
105 |
cd "${S}" |
106 |
epatch "${FILESDIR}/${P}-pkgconfig_init.patch" |
107 |
epatch "${FILESDIR}/${P}-nls-asneeded.patch" |
108 |
# Copy config.rapth to avoid failures.. |
109 |
cp /usr/share/gettext/config.rpath . |
110 |
AT_M4DIR="m4" eautoreconf |
111 |
} |
112 |
src_compile() { |
113 |
local MY_OPTS="" |
114 |
if use !encode || use !aac; then |
115 |
MY_OPTS="--without-faac" |
116 |
fi |
117 |
|
118 |
econf --enable-shared \ |
119 |
--enable-static \ |
120 |
--enable-gpl \ |
121 |
$(use_enable mmx) \ |
122 |
$(use_with X x) \ |
123 |
$(use_with gtk) \ |
124 |
$(use_with dv libdv) \ |
125 |
$(use_with alsa) \ |
126 |
$(use_with aac faad2) \ |
127 |
$(use_with png libpng) \ |
128 |
$(use_with jpeg libjpeg) \ |
129 |
$(use vorbis || echo "--without-vorbis") \ |
130 |
$(use_with lame) \ |
131 |
$(use_with x264) \ |
132 |
$(use_with ffmpeg) \ |
133 |
$(use_with opengl) \ |
134 |
${MY_OPTS} \ |
135 |
--without-cpuflags || die "econf failed" |
136 |
|
137 |
emake || die "emake failed" |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
emake DESTDIR="${D}" install || die "emake install failed" |
142 |
|
143 |
dodoc README TODO ChangeLog |
144 |
# Compatibility with software that uses quicktime prefix, but |
145 |
# don't do that when building for Darwin/MacOS |
146 |
[[ ${CHOST} != *-darwin* ]] && \ |
147 |
dosym /usr/include/lqt /usr/include/quicktime |
148 |
} |
149 |
|
150 |
pkg_preinst() { |
151 |
if [[ -d /usr/include/quicktime && ! -L /usr/include/quicktime ]]; then |
152 |
elog "For compatibility with other quicktime libraries, ${PN} was" |
153 |
elog "going to create a /usr/include/quicktime symlink, but for some" |
154 |
elog "reason that is a directory on your system." |
155 |
|
156 |
elog "Please check that is empty, and remove it, or submit a bug" |
157 |
elog "telling us which package owns the directory." |
158 |
die "/usr/include/quicktime is a directory." |
159 |
fi |
160 |
} |
161 |
|
162 |
|
163 |
|
164 |
-- |
165 |
gentoo-commits@g.o mailing list |