31 |
31 |
)
|
32 |
32 |
)"
|
33 |
33 |
|
34 |
|
KEYWORDS="amd64 ~arm64 -x86"
|
35 |
|
LANGS=" cs de es fi fr he hu it ja nl pl pt-BR ru sl sq tr uk zh-CN zh-TW"
|
|
34 |
KEYWORDS="~amd64 ~arm64 -x86"
|
|
35 |
LANGS=" de es fr he hu ja pl pt-BR sl sq uk zh-CN zh-TW"
|
36 |
36 |
fi
|
37 |
37 |
|
38 |
|
IUSE="avif colord cpu_flags_x86_avx cpu_flags_x86_sse3 cups doc flickr gamepad geolocation gmic keyring gphoto2 graphicsmagick heif jpeg2k kwallet lto lua midi nls opencl openmp openexr test tools webp
|
|
38 |
IUSE="avif colord cpu_flags_x86_avx cpu_flags_x86_sse3 cups doc gamepad geolocation gmic keyring gphoto2 graphicsmagick heif jpeg2k jpegxl kwallet lto lua midi nls opencl openmp openexr test tools webp
|
39 |
39 |
${LANGS// / l10n_}"
|
40 |
40 |
|
41 |
41 |
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
... | ... | |
77 |
77 |
avif? ( >=media-libs/libavif-0.8.2:= )
|
78 |
78 |
colord? ( x11-libs/colord-gtk:= )
|
79 |
79 |
cups? ( net-print/cups )
|
80 |
|
flickr? ( media-libs/flickcurl )
|
81 |
80 |
gamepad? ( media-libs/libsdl2 )
|
82 |
81 |
geolocation? ( >=sci-geosciences/osm-gps-map-1.1.0 )
|
83 |
82 |
gmic? ( media-gfx/gmic )
|
... | ... | |
86 |
85 |
graphicsmagick? ( media-gfx/graphicsmagick )
|
87 |
86 |
heif? ( media-libs/libheif:= )
|
88 |
87 |
jpeg2k? ( media-libs/openjpeg:2= )
|
|
88 |
jpegxl? ( media-libs/libjxl:= )
|
89 |
89 |
lua? ( ${LUA_DEPS} )
|
90 |
90 |
midi? ( media-libs/portmidi )
|
91 |
91 |
opencl? ( virtual/opencl )
|
... | ... | |
95 |
95 |
kwallet? ( >=kde-frameworks/kwallet-5.34.0-r1 )"
|
96 |
96 |
|
97 |
97 |
PATCHES=(
|
98 |
|
"${FILESDIR}"/${PN}-3.0.2_cmake-march-autodetection.patch
|
99 |
98 |
"${FILESDIR}"/${PN}-3.4.0_jsonschema-automagic.patch
|
100 |
99 |
"${FILESDIR}"/${PN}-3.4.1_libxcf-cmake.patch
|
101 |
100 |
"${FILESDIR}"/${PN}-4.2.1_cmake-musl.patch
|
102 |
|
# patch by ArchLinux
|
103 |
|
"${FILESDIR}"/${P}-exiv2-0.28.patch # bug 906466
|
104 |
101 |
)
|
105 |
102 |
|
106 |
103 |
S="${WORKDIR}/${P/_/~}"
|
... | ... | |
148 |
145 |
-DUSE_AVIF=$(usex avif)
|
149 |
146 |
-DUSE_CAMERA_SUPPORT=$(usex gphoto2)
|
150 |
147 |
-DUSE_COLORD=$(usex colord)
|
151 |
|
-DUSE_FLICKR=$(usex flickr)
|
152 |
148 |
-DUSE_GMIC=$(usex gmic)
|
153 |
149 |
-DUSE_GRAPHICSMAGICK=$(usex graphicsmagick)
|
|
150 |
-DUSE_JXL=$(usex jpegxl)
|
154 |
151 |
-DUSE_KWALLET=$(usex kwallet)
|
155 |
152 |
-DUSE_LIBSECRET=$(usex keyring)
|
156 |
153 |
-DUSE_LUA=$(usex lua)
|