media-libs/grok - 11.0.0 (guru)

Search

Install

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

Package Information

Description:
World's Leading Open Source JPEG 2000 Codec
Homepage:
https://github.com/GrokImageCompression/grok
License:
AGPL-3 BSD-2

Ebuild Details

Version EAPI Keywords Slot
11.0.0 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

	app-arch/zstd:=
	media-libs/libjpeg-turbo:=
	media-libs/libwebp:=
	media-libs/exiftool

RDEPEND

	app-arch/zstd:=
	media-libs/libjpeg-turbo:=
	media-libs/libwebp:=
	media-libs/exiftool

Manifest for 11.0.0

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