diff options
Diffstat (limited to 'media-libs/charls/charls-2.3.4.ebuild')
-rw-r--r-- | media-libs/charls/charls-2.3.4.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/charls/charls-2.3.4.ebuild b/media-libs/charls/charls-2.3.4.ebuild new file mode 100644 index 000000000..155e910a8 --- /dev/null +++ b/media-libs/charls/charls-2.3.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ JPEG-LS library implementation" +HOMEPAGE="https://github.com/team-charls/charls" +SRC_URI="https://github.com/team-charls/charls/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + # It doesn't seem like there is an automated way to run the test programs + # The samples option builds them, but do not install the resulting binaries + local mycmakeargs=( + -DCHARLS_BUILD_TESTS=OFF + -DCHARLS_BUILD_FUZZ_TEST=OFF + -DCHARLS_BUILD_SAMPLES=OFF + -DBUILD_SHARED_LIBS=ON + ) + cmake_src_configure +} |