Install this version:
emerge -a =media-libs/grok-11.0.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/grok-11.0.0
Or alternatively:
emerge --autounmask-write -a =media-libs/grok-11.0.0
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="World's Leading Open Source JPEG 2000 Codec"
HOMEPAGE="https://github.com/GrokImageCompression/grok"
SRC_URI="https://github.com/GrokImageCompression/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="AGPL-3 BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
app-arch/zstd:=
media-libs/libjpeg-turbo:=
media-libs/libwebp:=
media-libs/exiftool
"
RDEPEND="${DEPEND}"
src_configure() {
# Need -DGRK_BUILD_JPEG=OFF, otherwise will pull libjpeg-turbo from github
# (see https://github.com/GrokImageCompression/grok/issues/351)
local mycmakeargs=(
-DBUILD_TESTING=OFF
-DBUILD_SHARED_LIBS=ON
-DGRK_BUILD_JPEG=OFF
)
cmake_src_configure
}
app-arch/zstd:= media-libs/libjpeg-turbo:= media-libs/libwebp:= media-libs/exiftool
app-arch/zstd:= media-libs/libjpeg-turbo:= media-libs/libwebp:= media-libs/exiftool
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | grok-11.0.0.gh.tar.gz | 9536740 bytes | https://github.com/GrokImageCompression/grok/archive/refs/tags/v11.0.0.tar.gz |