1 |
gentoofan23 08/06/23 00:27:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: opencv-1.0.0-r1.ebuild |
5 |
Removed: opencv-1.0.0.ebuild |
6 |
Log: |
7 |
Import changes from science overlay, fixes tons of automagic bugs as well as multilib bugs. Keyworded ~amd64 |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 media-libs/opencv/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 20 Jun 2008 12:05:12 -0000 1.3 |
24 |
+++ ChangeLog 23 Jun 2008 00:27:07 -0000 1.4 |
25 |
@@ -1,6 +1,19 @@ |
26 |
# ChangeLog for media-libs/opencv |
27 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v 1.3 2008/06/20 12:05:12 drac Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v 1.4 2008/06/23 00:27:07 gentoofan23 Exp $ |
30 |
+ |
31 |
+*opencv-1.0.0-r1 (23 Jun 2008) |
32 |
+ |
33 |
+ 23 Jun 2008; Thomas Anderson <gentoofan23@g.o> |
34 |
+ +files/opencv-1.0.0-addoptionalsamples.patch, |
35 |
+ +files/opencv-1.0.0-automagicdependencies.patch, |
36 |
+ +files/opencv-1.0.0-cvcapffmpegundefinedsymbols.patch, |
37 |
+ +files/opencv-1.0.0-enableuseflags.patch, |
38 |
+ +files/opencv-1.0.0-fixpythonmultilib.patch, |
39 |
+ +files/opencv-1.0.0-havepngexrdefs.patch, -opencv-1.0.0.ebuild, |
40 |
+ +opencv-1.0.0-r1.ebuild: |
41 |
+ Import changes from science overlay, fixes tons of automagic bugs as well as |
42 |
+ multilib bugs. Keyworded ~amd64 |
43 |
|
44 |
20 Jun 2008; Samuli Suominen <drac@g.o> opencv-1.0.0.ebuild: |
45 |
QAbaddep; pkgconfig is only a build-time depend. |
46 |
|
47 |
|
48 |
|
49 |
1.1 media-libs/opencv/opencv-1.0.0-r1.ebuild |
50 |
|
51 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/opencv-1.0.0-r1.ebuild?rev=1.1&view=markup |
52 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/opencv-1.0.0-r1.ebuild?rev=1.1&content-type=text/plain |
53 |
|
54 |
Index: opencv-1.0.0-r1.ebuild |
55 |
=================================================================== |
56 |
# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/opencv-1.0.0-r1.ebuild,v 1.1 2008/06/23 00:27:07 gentoofan23 Exp $ |
59 |
|
60 |
EAPI="1" |
61 |
inherit eutils flag-o-matic autotools |
62 |
|
63 |
DESCRIPTION="A collection of algorithms and sample code for various computer vision problems." |
64 |
HOMEPAGE="http://www.intel.com/technology/computing/opencv/index.htm" |
65 |
SRC_URI="mirror://sourceforge/${PN}library/${P}.tar.gz" |
66 |
|
67 |
##If video for linux is enabled, add GPL-2, since it will need to use GPL-2 |
68 |
##stuff, same for v4l |
69 |
LICENSE="v4l? ( GPL-2 ) xine? ( GPL-2 ) Intel" |
70 |
SLOT="0" |
71 |
KEYWORDS="~amd64 ~x86" |
72 |
IUSE="debug demos examples ffmpeg gtk ieee1394 jpeg jpeg2k openexr png python tiff xine v4l zlib" |
73 |
|
74 |
COMMON_DEPEND="ffmpeg? ( media-video/ffmpeg ) |
75 |
gtk? ( x11-libs/gtk+:2 ) |
76 |
ieee1394? ( >=sys-libs/libraw1394-1.2.0 media-libs/libdc1394:1 ) |
77 |
jpeg? ( media-libs/jpeg ) |
78 |
jpeg2k? ( media-libs/jasper ) |
79 |
openexr? ( media-libs/openexr ) |
80 |
png? ( media-libs/libpng:1.2 ) |
81 |
python? ( >=dev-lang/python-2.3 >=dev-lang/swig-1.3.30 ) |
82 |
tiff? ( media-libs/tiff ) |
83 |
xine? ( media-libs/xine-lib ) |
84 |
zlib? ( sys-libs/zlib )" |
85 |
|
86 |
DEPEND="${COMMON_DEPEND} |
87 |
gtk? ( dev-util/pkgconfig )" |
88 |
RDEPEND="${COMMON_DEPEND}" |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
cd "${S}" |
93 |
|
94 |
# remove the install-hook that runs ldconfig. |
95 |
sed -i '/install-hook:/,/^$/d' Makefile.am |
96 |
|
97 |
epatch "${FILESDIR}"/${P}-fixpythonmultilib.patch |
98 |
epatch "${FILESDIR}"/${P}-automagicdependencies.patch |
99 |
epatch "${FILESDIR}"/${P}-havepngexrdefs.patch |
100 |
epatch "${FILESDIR}"/${P}-addoptionalsamples.patch |
101 |
epatch "${FILESDIR}"/${P}-cvcapffmpegundefinedsymbols.patch |
102 |
|
103 |
eautoreconf || die "eautoreconf failed" |
104 |
} |
105 |
|
106 |
src_compile() { |
107 |
use debug && filter-ldflags -O1 -Wl --enable-new-dtags -s |
108 |
|
109 |
local myconf="--without-quicktime" |
110 |
use python && myconf="${myconf} --with-swig --with-python" |
111 |
|
112 |
econf \ |
113 |
${myconf} \ |
114 |
$(use_with gtk) \ |
115 |
$(use_with xine) \ |
116 |
$(use_with ffmpeg) \ |
117 |
$(use_with ieee1394 1394libs) \ |
118 |
$(use_with v4l) \ |
119 |
$(use_with v4l v4l2) \ |
120 |
$(use_enable examples samples) \ |
121 |
$(use_enable debug) \ |
122 |
$(use_enable demos apps) \ |
123 |
$(use_enable zlib) \ |
124 |
$(use_enable jpeg) \ |
125 |
$(use_enable png) \ |
126 |
$(use_enable openexr) \ |
127 |
$(use_enable tiff) \ |
128 |
$(use_enable jpeg2k jasper) |
129 |
emake || die "Emake failed" |
130 |
} |
131 |
|
132 |
src_test() { |
133 |
emake check || die "Tests failed" |
134 |
} |
135 |
|
136 |
src_install() { |
137 |
emake DESTDIR="${D}" install || die "Install failed" |
138 |
dodoc AUTHORS ChangeLog README NEWS TODO |
139 |
insinto /usr/share/doc/${P} |
140 |
doins -r docs/ |
141 |
} |
142 |
|
143 |
|
144 |
|
145 |
-- |
146 |
gentoo-commits@l.g.o mailing list |