From: | "Christian Parpart (trapni)" <trapni@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libcaptury: ChangeLog libcaptury-0.3.0_pre200712251-r2.ebuild |
Date: | Mon, 13 Oct 2008 19:55:22 |
Message-Id: | E1KpTVf-0003lZ-TY@stork.gentoo.org |
1 | trapni 08/10/13 19:55:19 |
2 | |
3 | Modified: ChangeLog |
4 | Added: libcaptury-0.3.0_pre200712251-r2.ebuild |
5 | Log: |
6 | finally fixes #206822 |
7 | (Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc7 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.7 media-libs/libcaptury/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcaptury/ChangeLog?rev=1.7&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcaptury/ChangeLog?rev=1.7&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcaptury/ChangeLog?r1=1.6&r2=1.7 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v |
19 | retrieving revision 1.6 |
20 | retrieving revision 1.7 |
21 | diff -u -r1.6 -r1.7 |
22 | --- ChangeLog 22 May 2008 10:10:25 -0000 1.6 |
23 | +++ ChangeLog 13 Oct 2008 19:55:19 -0000 1.7 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-libs/libcaptury |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v 1.6 2008/05/22 10:10:25 trapni Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/ChangeLog,v 1.7 2008/10/13 19:55:19 trapni Exp $ |
29 | + |
30 | +*libcaptury-0.3.0_pre200712251-r2 (13 Oct 2008) |
31 | + |
32 | + 13 Oct 2008; Christian Parpart <trapni@g.o> |
33 | + +libcaptury-0.3.0_pre200712251-r2.ebuild: |
34 | + finally fixes #206822 |
35 | |
36 | *libcaptury-0.3.0_pre200712251-r1 (22 May 2008) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: libcaptury-0.3.0_pre200712251-r2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-libs/libcaptury/libcaptury-0.3.0_pre200712251-r2.ebuild,v 1.1 2008/10/13 19:55:19 trapni Exp $ |
51 | |
52 | inherit multilib flag-o-matic |
53 | |
54 | DESCRIPTION="Captury Framework Library" |
55 | HOMEPAGE="http://rm-rf.in/projects/captury/" |
56 | SRC_URI="http://upstream.rm-rf.in./captury/captury-${PV}.tar.bz2" |
57 | LICENSE="LGPL-2.1" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~x86" |
60 | IUSE="debug multilib" |
61 | |
62 | RDEPEND=">=media-libs/capseo-0.3.0_pre200712251 |
63 | x11-libs/libX11 |
64 | x11-libs/libXfixes |
65 | virtual/opengl |
66 | amd64? ( multilib? ( |
67 | app-emulation/emul-linux-x86-xlibs |
68 | app-emulation/emul-linux-x86-medialibs |
69 | ) )" |
70 | |
71 | DEPEND="${RDEPEND} |
72 | dev-util/pkgconfig" |
73 | |
74 | EMULTILIB_PKG="true" |
75 | |
76 | S="${WORKDIR}/captury-${PV}/${PN}" |
77 | |
78 | pkg_setup() { |
79 | # try to turn off distcc and ccache for people that have a problem with it |
80 | export DISTCC_DISABLE=1 |
81 | export CCACHE_DISABLE=1 |
82 | } |
83 | |
84 | setup_env() { |
85 | LD_LIBRARY_PATH= |
86 | LDFLAGS= |
87 | |
88 | # keep backwards compatibility as long as I *have* to. |
89 | if use amd64 && [[ ${ABI} = "x86" ]]; then |
90 | if has_version '<app-emulation/emul-linux-x86-xlibs-7.0-r8'; then |
91 | LDFLAGS="-L/emul/linux/x86/usr/lib" |
92 | LD_LIBRARY_PATH="/emul/linux/x86/usr/lib" |
93 | fi |
94 | fi |
95 | |
96 | export LDFLAGS |
97 | export LD_LIBRARY_PATH |
98 | |
99 | # workaround for users having FEATURES=ccache set, as ccache doesn't, play |
100 | # nice to multilib builds (see bug 206822) |
101 | filter-flags -DABI=* |
102 | append-flags -DABI=${ABI} |
103 | } |
104 | |
105 | src_compile() { |
106 | if [[ -z ${OABI} ]] && has_multilib_profile; then |
107 | use debug && append-flags -O0 -g3 |
108 | use debug || append-flags -DNDEBUG=1 |
109 | |
110 | einfo "Building multilib ${PN} for ABIs: $(get_install_abis)" |
111 | OABI=${ABI} |
112 | for ABI in $(get_install_abis); do |
113 | export ABI=${ABI} |
114 | src_compile |
115 | done |
116 | ABI=${OABI} |
117 | return |
118 | fi |
119 | |
120 | cd "${S}" |
121 | |
122 | if [[ ! -f configure ]]; then |
123 | ./autogen.sh || die "autogen.sh failed" |
124 | fi |
125 | |
126 | ABI=${ABI:-default} |
127 | |
128 | setup_env |
129 | |
130 | mkdir abi-${ABI} |
131 | cd abi-${ABI} |
132 | |
133 | ../configure \ |
134 | --prefix="/usr" \ |
135 | --host="$(get_abi_CHOST ${ABI})" \ |
136 | --libdir="/usr/$(get_libdir)" \ |
137 | || die "./configure for ABI ${ABI} failed" |
138 | |
139 | emake || die "make for ABI ${ABI} failed" |
140 | } |
141 | |
142 | src_install() { |
143 | for ABI in $(get_install_abis); do |
144 | make -C abi-${ABI} install DESTDIR="${D}" || die "make install for ABI ${ABI} failed." |
145 | done |
146 | |
147 | dodoc AUTHORS ChangeLog* NEWS README* TODO |
148 | } |
149 | |
150 | # vim:ai:noet:ts=4:nowrap |