aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2022-01-31 21:49:35 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-08-23 12:57:54 +0200
commite73b9457d09591c29102bf5b692eae5ff89aa1d8 (patch)
treea1c50fc72d2142326d11460c4f6d01d84fee4f11
parentprofiles: mask more revdeps (diff)
downloadsci-e73b9457.tar.gz
sci-e73b9457.tar.bz2
sci-e73b9457.zip
media-libs/charls: new package
Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
-rw-r--r--media-libs/charls/Manifest1
-rw-r--r--media-libs/charls/charls-2.3.4.ebuild30
-rw-r--r--media-libs/charls/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/media-libs/charls/Manifest b/media-libs/charls/Manifest
new file mode 100644
index 000000000..5275ba74f
--- /dev/null
+++ b/media-libs/charls/Manifest
@@ -0,0 +1 @@
+DIST charls-2.3.4.tar.gz 9483782 BLAKE2B 655bbe2f143df1c3b86f2bbb033217c9fa30f39cf9b449cb84ffd56ef2e3eb0ceb7088c8757cc1a59d6d9462363e59e62acee7dabcbe5a16fb68be0d5036b3eb SHA512 3f6e1a054d5f7cfa5309e3d1b280d0dbaaeac7f06b08619cefe15677367631d9f6eb96e54b3e5ec921ac50793a570c39178c3e4b52ce9837b731bbccd6a3d0ad
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
+}
diff --git a/media-libs/charls/metadata.xml b/media-libs/charls/metadata.xml
new file mode 100644
index 000000000..3eef65eb8
--- /dev/null
+++ b/media-libs/charls/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>fx.carton91@gmail.com</email>
+ <name>François-Xavier Carton</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">team-charls/charls</remote-id>
+ </upstream>
+</pkgmetadata>