1 |
scarabeus 13/06/04 12:05:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: vigra-1.9.0.ebuild |
5 |
Log: |
6 |
Version bump to 1.9.0. |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8) |
9 |
|
10 |
Revision Changes Path |
11 |
1.61 media-libs/vigra/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?rev=1.61&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?rev=1.61&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/ChangeLog?r1=1.60&r2=1.61 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v |
20 |
retrieving revision 1.60 |
21 |
retrieving revision 1.61 |
22 |
diff -u -r1.60 -r1.61 |
23 |
--- ChangeLog 28 Apr 2013 15:42:20 -0000 1.60 |
24 |
+++ ChangeLog 4 Jun 2013 12:05:47 -0000 1.61 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-libs/vigra |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.60 2013/04/28 15:42:20 grozin Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/ChangeLog,v 1.61 2013/06/04 12:05:47 scarabeus Exp $ |
30 |
+ |
31 |
+*vigra-1.9.0 (04 Jun 2013) |
32 |
+ |
33 |
+ 04 Jun 2013; Tomáš Chvátal <scarabeus@g.o> |
34 |
+ +files/vigra-1.9.0-automagicness.patch, +vigra-1.9.0.ebuild: |
35 |
+ Version bump to 1.9.0. |
36 |
|
37 |
28 Apr 2013; Andrey Grozin <grozin@g.o> vigra-1.8.0-r1.ebuild, |
38 |
+files/vigra-1.8.0-doxygen.patch: |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/vigra/vigra-1.9.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: vigra-1.9.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/vigra/vigra-1.9.0.ebuild,v 1.1 2013/06/04 12:05:47 scarabeus Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
PYTHON_COMPAT=( python2_7 ) |
56 |
PYTHON_REQ_USE="threads,xml" |
57 |
|
58 |
# This ebuild could use python-r1 in the future when upstream gets Python 3.x |
59 |
# support working |
60 |
inherit cmake-utils eutils multilib python-single-r1 |
61 |
|
62 |
MY_P=${P}-src |
63 |
|
64 |
DESCRIPTION="C++ computer vision library with emphasize on customizable algorithms and data structures" |
65 |
HOMEPAGE="http://hci.iwr.uni-heidelberg.de/vigra/" |
66 |
SRC_URI="http://hci.iwr.uni-heidelberg.de/vigra/${MY_P}.tar.gz" |
67 |
|
68 |
LICENSE="MIT" |
69 |
SLOT="0" |
70 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris" |
71 |
IUSE="doc +fftw +hdf5 +jpeg openexr +png +python test +tiff" |
72 |
|
73 |
# Pull in dev-lang/python:2.7 for vigra-config which is always installed |
74 |
RDEPEND="dev-lang/python:2.7 |
75 |
>=dev-libs/boost-1.52.0-r6[python?,${PYTHON_USEDEP}] |
76 |
fftw? ( sci-libs/fftw:3.0 ) |
77 |
hdf5? ( sci-libs/hdf5 ) |
78 |
jpeg? ( virtual/jpeg ) |
79 |
openexr? ( media-libs/openexr:= ) |
80 |
png? ( media-libs/libpng:0= ) |
81 |
python? ( ${PYTHON_DEPS} ) |
82 |
tiff? ( media-libs/tiff:0= )" |
83 |
DEPEND="${RDEPEND} |
84 |
doc? ( |
85 |
app-doc/doxygen |
86 |
python? ( >=dev-python/sphinx-1.1.3-r5[${PYTHON_USEDEP}] ) |
87 |
) |
88 |
test? ( |
89 |
python? ( >=dev-python/nose-1.1.2-r1[${PYTHON_USEDEP}] ) |
90 |
)" |
91 |
REQUIRED_USE="doc? ( hdf5 fftw ) |
92 |
python? ( hdf5 ) |
93 |
test? ( hdf5 python fftw )" |
94 |
|
95 |
DOCS=( README.txt ) |
96 |
|
97 |
pkg_setup() { |
98 |
use python && python-single-r1_pkg_setup |
99 |
} |
100 |
|
101 |
src_prepare() { |
102 |
epatch "${FILESDIR}"/${P}-automagicness.patch |
103 |
|
104 |
# Don't build nor install API docs when not requested |
105 |
use doc || { sed -i -e '/ADD_SUBDIRECTORY(docsrc)/d' CMakeLists.txt || die; } |
106 |
|
107 |
# Don't use python_fix_shebang because we can't put this behind USE="python" |
108 |
sed -i -e '/env/s:python:python2:' config/vigra-config.in || die |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
local libdir=$(get_libdir) |
113 |
|
114 |
# required for ddocdir |
115 |
_check_build_dir init |
116 |
local mycmakeargs=( |
117 |
-DDOCDIR="${CMAKE_BUILD_DIR}"/doc |
118 |
-DLIBDIR_SUFFIX=${libdir/lib} |
119 |
-DDOCINSTALL=share/doc/${PF} |
120 |
-DWITH_VALGRIND=OFF |
121 |
$(cmake-utils_use_with python VIGRANUMPY) |
122 |
$(cmake-utils_use_with png) |
123 |
$(cmake-utils_use_with jpeg) |
124 |
$(cmake-utils_use_with openexr) |
125 |
$(cmake-utils_use_with tiff) |
126 |
$(cmake-utils_use_with fftw FFTW3) |
127 |
$(cmake-utils_use_with hdf5) |
128 |
$(cmake-utils_use_build test TESTING) |
129 |
$(cmake-utils_use test CREATE_CTEST_TARGETS) |
130 |
$(cmake-utils_use test AUTOBUILD_TESTS) |
131 |
) |
132 |
|
133 |
cmake-utils_src_configure |
134 |
} |
135 |
|
136 |
src_compile() { |
137 |
cmake-utils_src_compile |
138 |
use doc && cmake-utils_src_make doc |
139 |
} |
140 |
|
141 |
src_test() { :; } #390447 |
142 |
|
143 |
src_install() { |
144 |
cmake-utils_src_install |
145 |
|
146 |
use python && python_optimize |
147 |
} |