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: Sat, 26 Dec 2020 23:18:44
Message-Id: 1609024709.82147828d77a5988247aac5008df80b8d9423e5c.marecki@gentoo
1 commit: 82147828d77a5988247aac5008df80b8d9423e5c
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 23:15:49 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 23:18:29 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82147828
7
8 media-gfx/darktable: remove 3.2.1-r2
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 media-gfx/darktable/darktable-3.2.1-r2.ebuild | 159 --------------------------
13 1 file changed, 159 deletions(-)
14
15 diff --git a/media-gfx/darktable/darktable-3.2.1-r2.ebuild b/media-gfx/darktable/darktable-3.2.1-r2.ebuild
16 deleted file mode 100644
17 index 03bc356adc6..00000000000
18 --- a/media-gfx/darktable/darktable-3.2.1-r2.ebuild
19 +++ /dev/null
20 @@ -1,159 +0,0 @@
21 -# Copyright 1999-2020 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -LUA_COMPAT=( lua5-3 )
27 -
28 -inherit cmake flag-o-matic lua-single toolchain-funcs xdg
29 -
30 -DOC_PV="3.0.0"
31 -MY_PV="${PV/_/}"
32 -MY_P="${P/_/.}"
33 -
34 -DESCRIPTION="A virtual lighttable and darkroom for photographers"
35 -HOMEPAGE="https://www.darktable.org/"
36 -SRC_URI="https://github.com/darktable-org/${PN}/releases/download/release-${MY_PV}/${MY_P}.tar.xz
37 - doc? ( https://github.com/darktable-org/${PN}/releases/download/release-${DOC_PV}/${PN}-usermanual.pdf -> ${PN}-usermanual-${DOC_PV}.pdf )"
38 -
39 -LICENSE="GPL-3 CC-BY-3.0"
40 -SLOT="0"
41 -KEYWORDS="~amd64 ~arm64"
42 -LANGS=" de es fr he it pl pt-BR ru sl"
43 -IUSE="colord cups cpu_flags_x86_sse3 doc flickr geolocation gmic gnome-keyring gphoto2 graphicsmagick jpeg2k kwallet
44 - lto lua nls opencl openmp openexr system-lua tools webp
45 - ${LANGS// / l10n_}"
46 -
47 -REQUIRED_USE="system-lua? ( lua ${LUA_REQUIRED_USE} )"
48 -
49 -BDEPEND="
50 - dev-util/intltool
51 - virtual/pkgconfig
52 - nls? ( sys-devel/gettext )
53 -"
54 -COMMON_DEPEND="
55 - dev-db/sqlite:3
56 - dev-libs/json-glib
57 - dev-libs/libxml2:2
58 - >=dev-libs/pugixml-1.8:0=
59 - gnome-base/librsvg:2
60 - >=media-gfx/exiv2-0.25-r2:0=[xmp]
61 - media-libs/lcms:2
62 - >=media-libs/lensfun-0.2.3:0=
63 - media-libs/libpng:0=
64 - media-libs/tiff:0
65 - net-libs/libsoup:2.4
66 - net-misc/curl
67 - sys-libs/zlib:=
68 - virtual/jpeg:0
69 - x11-libs/cairo
70 - >=x11-libs/gtk+-3.22:3
71 - x11-libs/pango
72 - colord? ( x11-libs/colord-gtk:0= )
73 - cups? ( net-print/cups )
74 - flickr? ( media-libs/flickcurl )
75 - geolocation? ( >=sci-geosciences/osm-gps-map-1.1.0 )
76 - gmic? ( media-gfx/gmic )
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 - local mycmakeargs=(
129 - -DBUILD_CURVE_TOOLS=$(usex tools)
130 - -DBUILD_NOISE_TOOLS=$(usex tools)
131 - -DBUILD_PRINT=$(usex cups)
132 - -DCUSTOM_CFLAGS=ON
133 - -DDONT_USE_INTERNAL_LUA=$(usex system-lua)
134 - -DRAWSPEED_ENABLE_LTO=$(usex lto)
135 - -DUSE_AVIF=no
136 - -DUSE_CAMERA_SUPPORT=$(usex gphoto2)
137 - -DUSE_COLORD=$(usex colord)
138 - -DUSE_FLICKR=$(usex flickr)
139 - -DUSE_GMIC=$(usex gmic)
140 - -DUSE_GRAPHICSMAGICK=$(usex graphicsmagick)
141 - -DUSE_KWALLET=$(usex kwallet)
142 - -DUSE_LIBSECRET=$(usex gnome-keyring)
143 - -DUSE_LUA=$(usex lua)
144 - -DUSE_MAP=$(usex geolocation)
145 - -DUSE_NLS=$(usex nls)
146 - -DUSE_OPENCL=$(usex opencl)
147 - -DUSE_OPENEXR=$(usex openexr)
148 - -DUSE_OPENJPEG=$(usex jpeg2k)
149 - -DUSE_OPENMP=$(usex openmp)
150 - -DUSE_WEBP=$(usex webp)
151 - )
152 - CMAKE_BUILD_TYPE="RELWITHDEBINFO"
153 - cmake_src_configure
154 -}
155 -
156 -src_install() {
157 - cmake_src_install
158 - use doc && dodoc "${DISTDIR}"/${PN}-usermanual-${DOC_PV}.pdf
159 -
160 - if use nls ; then
161 - for lang in ${LANGS} ; do
162 - if ! use l10n_${lang}; then
163 - rm -r "${ED}"/usr/share/locale/${lang/-/_} || die
164 - fi
165 - done
166 - fi
167 -}
168 -
169 -pkg_postinst() {
170 - xdg_pkg_postinst
171 -
172 - elog
173 - elog "When updating a major version,"
174 - elog "please bear in mind that your edits will be preserved during this process,"
175 - elog "but it will not be possible to downgrade any more."
176 - elog
177 - ewarn "It will not be possible to downgrade!"
178 - ewarn
179 -}