Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/darktable/
Date: Thu, 24 Dec 2020 12:33:51
Message-Id: 1608813209.084f6f12215ffaf3d8198eb65ac607c3ace7d0fb.marecki@gentoo
1 commit: 084f6f12215ffaf3d8198eb65ac607c3ace7d0fb
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 24 12:33:29 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 24 12:33:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=084f6f12
7
8 media-gfx/darktable: remove old 3.2.1 revisions
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 media-gfx/darktable/darktable-3.2.1-r1.ebuild | 160 --------------------------
13 media-gfx/darktable/darktable-3.2.1.ebuild | 150 ------------------------
14 2 files changed, 310 deletions(-)
15
16 diff --git a/media-gfx/darktable/darktable-3.2.1-r1.ebuild b/media-gfx/darktable/darktable-3.2.1-r1.ebuild
17 deleted file mode 100644
18 index 05d2a6634f2..00000000000
19 --- a/media-gfx/darktable/darktable-3.2.1-r1.ebuild
20 +++ /dev/null
21 @@ -1,160 +0,0 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=7
26 -
27 -LUA_COMPAT=( lua5-3 )
28 -
29 -inherit cmake flag-o-matic lua-single toolchain-funcs xdg
30 -
31 -DOC_PV="3.0.0"
32 -MY_PV="${PV/_/}"
33 -MY_P="${P/_/.}"
34 -
35 -DESCRIPTION="A virtual lighttable and darkroom for photographers"
36 -HOMEPAGE="https://www.darktable.org/"
37 -SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
38 - doc? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )"
39 -
40 -LICENSE="GPL-3 CC-BY-3.0"
41 -SLOT="0"
42 -KEYWORDS="amd64 ~arm64"
43 -LANGS=" de es fr he it pl pt-BR ru sl"
44 -IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
45 - lto lua nls opencl openmp openexr system-lua tools webp
46 - ${LANGS// / l10n_}"
47 -
48 -REQUIRED_USE="system-lua? ( lua ${LUA_REQUIRED_USE} )"
49 -
50 -BDEPEND="
51 - dev-util/intltool
52 - virtual/pkgconfig
53 - nls? ( sys-devel/gettext )
54 -"
55 -COMMON_DEPEND="
56 - dev-db/sqlite:3
57 - dev-libs/json-glib
58 - dev-libs/libxml2:2
59 - >=dev-libs/pugixml-1.8:0=
60 - gnome-base/librsvg:2
61 - >=media-gfx/exiv2-0.25-r2:0=[xmp]
62 - media-libs/lcms:2
63 - >=media-libs/lensfun-0.2.3:0=
64 - media-libs/libpng:0=
65 - media-libs/tiff:0
66 - net-libs/libsoup:2.4
67 - net-misc/curl
68 - sys-libs/zlib:=
69 - virtual/jpeg:0
70 - x11-libs/cairo
71 - >=x11-libs/gtk+-3.22:3
72 - x11-libs/pango
73 - colord? ( x11-libs/colord-gtk:0= )
74 - cups? ( net-print/cups )
75 - flickr? ( media-libs/flickcurl )
76 - geolocation? ( >=sci-geosciences/osm-gps-map-1.1.0 )
77 - gnome-keyring? ( >=app-crypt/libsecret-0.18 )
78 - gphoto2? ( media-libs/libgphoto2:= )
79 - graphicsmagick? ( media-gfx/graphicsmagick )
80 - jpeg2k? ( media-libs/openjpeg:2= )
81 - opencl? ( virtual/opencl )
82 - openexr? ( media-libs/openexr:0= )
83 - system-lua? ( ${LUA_DEPS} )
84 - webp? ( media-libs/libwebp:0= )
85 -"
86 -DEPEND="${COMMON_DEPEND}
87 - opencl? (
88 - >=sys-devel/clang-4
89 - >=sys-devel/llvm-4
90 - )
91 -"
92 -RDEPEND="${COMMON_DEPEND}
93 - kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
94 -"
95 -
96 -PATCHES=(
97 - "${FILESDIR}"/"${PN}"-find-opencl-header.patch
98 - "${FILESDIR}"/${PN}-3.0.2_cmake-march-autodetection.patch
99 - "${FILESDIR}"/${PN}-3.0.2_jsonschema-automagic.patch
100 -)
101 -
102 -S="${WORKDIR}/${P/_/~}"
103 -
104 -pkg_pretend() {
105 - if [[ ${MERGE_TYPE} != binary ]]; then
106 - # Bug #695658
107 - if tc-is-gcc; then
108 - test-flags-CC -floop-block &> /dev/null || \
109 - die "Please switch to a gcc version built with USE=graphite"
110 - fi
111 -
112 - if use openmp ; then
113 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
114 - fi
115 - fi
116 -}
117 -
118 -src_prepare() {
119 - use cpu_flags_x86_sse3 && append-flags -msse3
120 -
121 - sed -i -e 's:/appdata:/metainfo:g' data/CMakeLists.txt || die
122 -
123 - cmake_src_prepare
124 -}
125 -
126 -src_configure() {
127 - # As of darktable-3.2.1, AVIF support is not compatible with >=media-libs/libavif-0.8.0; see Bug #751352.
128 - # GMIC support mostly works but there are several problems with the media-gfx/gmic ebuilds currently
129 - # in the tree, and the package itself has got no maintainer.
130 - local mycmakeargs=(
131 - -DBUILD_CURVE_TOOLS=$(usex tools)
132 - -DBUILD_NOISE_TOOLS=$(usex tools)
133 - -DBUILD_PRINT=$(usex cups)
134 - -DCUSTOM_CFLAGS=ON
135 - -DDONT_USE_INTERNAL_LUA=$(usex system-lua)
136 - -DRAWSPEED_ENABLE_LTO=$(usex lto)
137 - -DUSE_AVIF=no
138 - -DUSE_CAMERA_SUPPORT=$(usex gphoto2)
139 - -DUSE_COLORD=$(usex colord)
140 - -DUSE_FLICKR=$(usex flickr)
141 - -DUSE_GMIC=no
142 - -DUSE_GRAPHICSMAGICK=$(usex graphicsmagick)
143 - -DUSE_KWALLET=$(usex kwallet)
144 - -DUSE_LIBSECRET=$(usex gnome-keyring)
145 - -DUSE_LUA=$(usex lua)
146 - -DUSE_MAP=$(usex geolocation)
147 - -DUSE_NLS=$(usex nls)
148 - -DUSE_OPENCL=$(usex opencl)
149 - -DUSE_OPENEXR=$(usex openexr)
150 - -DUSE_OPENJPEG=$(usex jpeg2k)
151 - -DUSE_OPENMP=$(usex openmp)
152 - -DUSE_WEBP=$(usex webp)
153 - )
154 - CMAKE_BUILD_TYPE="RELWITHDEBINFO"
155 - cmake_src_configure
156 -}
157 -
158 -src_install() {
159 - cmake_src_install
160 - use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
161 -
162 - if use nls ; then
163 - for lang in ${LANGS} ; do
164 - if ! use l10n_${lang}; then
165 - rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
166 - fi
167 - done
168 - fi
169 -}
170 -
171 -pkg_postinst() {
172 - xdg_pkg_postinst
173 -
174 - elog
175 - elog "When updating a major version,"
176 - elog "please bear in mind that your edits will be preserved during this process,"
177 - elog "but it will not be possible to downgrade any more."
178 - elog
179 - ewarn "It will not be possible to downgrade!"
180 - ewarn
181 -}
182
183 diff --git a/media-gfx/darktable/darktable-3.2.1.ebuild b/media-gfx/darktable/darktable-3.2.1.ebuild
184 deleted file mode 100644
185 index 49e44beeb08..00000000000
186 --- a/media-gfx/darktable/darktable-3.2.1.ebuild
187 +++ /dev/null
188 @@ -1,150 +0,0 @@
189 -# Copyright 1999-2020 Gentoo Authors
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=7
193 -
194 -inherit cmake flag-o-matic toolchain-funcs xdg
195 -
196 -DOC_PV="3.0.0"
197 -MY_PV="${PV/_/}"
198 -MY_P="${P/_/.}"
199 -
200 -DESCRIPTION="A virtual lighttable and darkroom for photographers"
201 -HOMEPAGE="https://www.darktable.org/"
202 -SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
203 - doc? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )"
204 -
205 -LICENSE="GPL-3 CC-BY-3.0"
206 -SLOT="0"
207 -KEYWORDS="~amd64 ~arm64"
208 -LANGS=" de es fr he it pl pt-BR ru sl"
209 -# TODO add lua once dev-lang/lua-5.2 is unmasked
210 -IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
211 - lto nls opencl openmp openexr tools webp
212 - ${LANGS// / l10n_}"
213 -
214 -BDEPEND="
215 - dev-util/intltool
216 - virtual/pkgconfig
217 - nls? ( sys-devel/gettext )
218 -"
219 -COMMON_DEPEND="
220 - dev-db/sqlite:3
221 - dev-libs/json-glib
222 - dev-libs/libxml2:2
223 - >=dev-libs/pugixml-1.8:0=
224 - gnome-base/librsvg:2
225 - >=media-gfx/exiv2-0.25-r2:0=[xmp]
226 - media-libs/lcms:2
227 - >=media-libs/lensfun-0.2.3:0=
228 - media-libs/libpng:0=
229 - media-libs/tiff:0
230 - net-libs/libsoup:2.4
231 - net-misc/curl
232 - sys-libs/zlib:=
233 - virtual/jpeg:0
234 - x11-libs/cairo
235 - >=x11-libs/gtk+-3.22:3
236 - x11-libs/pango
237 - colord? ( x11-libs/colord-gtk:0= )
238 - cups? ( net-print/cups )
239 - flickr? ( media-libs/flickcurl )
240 - geolocation? ( >=sci-geosciences/osm-gps-map-1.1.0 )
241 - gnome-keyring? ( >=app-crypt/libsecret-0.18 )
242 - gphoto2? ( media-libs/libgphoto2:= )
243 - graphicsmagick? ( media-gfx/graphicsmagick )
244 - jpeg2k? ( media-libs/openjpeg:2= )
245 - opencl? ( virtual/opencl )
246 - openexr? ( media-libs/openexr:0= )
247 - webp? ( media-libs/libwebp:0= )
248 -"
249 -DEPEND="${COMMON_DEPEND}
250 - opencl? (
251 - >=sys-devel/clang-4
252 - >=sys-devel/llvm-4
253 - )
254 -"
255 -RDEPEND="${COMMON_DEPEND}
256 - kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )
257 -"
258 -
259 -PATCHES=(
260 - "${FILESDIR}"/"${PN}"-find-opencl-header.patch
261 - "${FILESDIR}"/${PN}-3.0.2_cmake-march-autodetection.patch
262 - "${FILESDIR}"/${PN}-3.0.2_jsonschema-automagic.patch
263 -)
264 -
265 -S="${WORKDIR}/${P/_/~}"
266 -
267 -pkg_pretend() {
268 - if [[ ${MERGE_TYPE} != binary ]]; then
269 - # Bug #695658
270 - if tc-is-gcc; then
271 - test-flags-CC -floop-block &> /dev/null || \
272 - die "Please switch to a gcc version built with USE=graphite"
273 - fi
274 -
275 - if use openmp ; then
276 - tc-has-openmp || die "Please switch to an openmp compatible compiler"
277 - fi
278 - fi
279 -}
280 -
281 -src_prepare() {
282 - use cpu_flags_x86_sse3 && append-flags -msse3
283 -
284 - sed -i -e 's:/appdata:/metainfo:g' data/CMakeLists.txt || die
285 -
286 - cmake_src_prepare
287 -}
288 -
289 -src_configure() {
290 - local mycmakeargs=(
291 - -DBUILD_CURVE_TOOLS=$(usex tools)
292 - -DBUILD_NOISE_TOOLS=$(usex tools)
293 - -DBUILD_PRINT=$(usex cups)
294 - -DCUSTOM_CFLAGS=ON
295 - -DRAWSPEED_ENABLE_LTO=$(usex lto)
296 - -DUSE_CAMERA_SUPPORT=$(usex gphoto2)
297 - -DUSE_COLORD=$(usex colord)
298 - -DUSE_FLICKR=$(usex flickr)
299 - -DUSE_GRAPHICSMAGICK=$(usex graphicsmagick)
300 - -DUSE_KWALLET=$(usex kwallet)
301 - -DUSE_LIBSECRET=$(usex gnome-keyring)
302 - -DUSE_LUA=OFF
303 - -DUSE_MAP=$(usex geolocation)
304 - -DUSE_NLS=$(usex nls)
305 - -DUSE_OPENCL=$(usex opencl)
306 - -DUSE_OPENEXR=$(usex openexr)
307 - -DUSE_OPENJPEG=$(usex jpeg2k)
308 - -DUSE_OPENMP=$(usex openmp)
309 - -DUSE_WEBP=$(usex webp)
310 - )
311 - CMAKE_BUILD_TYPE="RELWITHDEBINFO"
312 - cmake_src_configure
313 -}
314 -
315 -src_install() {
316 - cmake_src_install
317 - use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
318 -
319 - if use nls ; then
320 - for lang in ${LANGS} ; do
321 - if ! use l10n_${lang}; then
322 - rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
323 - fi
324 - done
325 - fi
326 -}
327 -
328 -pkg_postinst() {
329 - xdg_pkg_postinst
330 -
331 - elog
332 - elog "When updating a major version,"
333 - elog "please bear in mind that your edits will be preserved during this process,"
334 - elog "but it will not be possible to downgrade any more."
335 - elog
336 - ewarn "It will not be possible to downgrade!"
337 - ewarn
338 -}