summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-18 19:10:51 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-18 19:10:51 +0000
commit3a33857d73679f670502e2a6490ffef5771e53f7 (patch)
treee0a0e4fa39114514dfd36a86d33a7a4e544b7ead /media-libs
parent7db68c1e73545d1f0f88d8dd71425864a63d0faa (diff)
downloadbaldeagleos-repo-3a33857d73679f670502e2a6490ffef5771e53f7.tar.gz
baldeagleos-repo-3a33857d73679f670502e2a6490ffef5771e53f7.tar.xz
baldeagleos-repo-3a33857d73679f670502e2a6490ffef5771e53f7.zip
Adding metadata
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/lcms/Manifest3
-rw-r--r--media-libs/lcms/files/lcms-2.15-meson-big-endian.patch21
-rw-r--r--media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch15
-rw-r--r--media-libs/lcms/files/lcms-2.15-meson-samples.patch26
-rw-r--r--media-libs/lcms/files/lcms-2.15-pthread-linking.patch25
-rw-r--r--media-libs/lcms/lcms-2.15.ebuild53
-rw-r--r--media-libs/lcms/lcms-2.18.ebuild (renamed from media-libs/lcms/lcms-2.16-r1.ebuild)8
7 files changed, 6 insertions, 145 deletions
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest
index d78ddea35a4e..cd013eda7fac 100644
--- a/media-libs/lcms/Manifest
+++ b/media-libs/lcms/Manifest
@@ -1,3 +1,2 @@
-DIST lcms2-2.15.tar.gz 7548405 BLAKE2B 97ce1e87c8de17e7d0dd1b00e1b49cf4e3c6912c74ff16d5afb9979565ad830fd8b3f08f7535ae8b5e763fbd22d2a058c577536ddb7487b7aa8fb25d585f8c84 SHA512 ab038c369e66736e0dd3810fbac6cf5381bc3102c4dd693819367b1224f59d9e853ede081388464c0e7c213d92e6cddc48c23020953af10ad6c6802cfa17e213
-DIST lcms2-2.16.tar.gz 7632822 BLAKE2B cf4d10908e6b8e6cf15ec8a99f0a299a9bcb7082f0df5ab1c9d84fcb739132855edf717c2ab746040fc09bace7afaaa8a39538e7ceabd0e68cdb3b4fb5627c6d SHA512 638dd6ad6787456c8145510d18b2d0727bd0a446a13ac2934aabc9531d1156eca2a2c0fd780a453823fbd35a1895f9d8de5dc4b3cab505459dd3f0535b4e837d
DIST lcms2-2.17.tar.gz 5245319 BLAKE2B 746b0bdff61cbb12f4b27b42a17136a64fd6c437a9f6e620e0a27ba24ebeac595635c3e79929ae4f425b98fba7df1ce1e4a05ebd8bc2e03d23c99cf246fb46e0 SHA512 81885c70fb26a9b7d37a398f43ccb0d1d3ab8f43de7da8f760b26d053a0d7e0543e7d3b0cdcaf9b3b681a1b88f032134c5a3c1a6774a9abc66a8a3f10ba64398
+DIST lcms2-2.18.tar.gz 5599928 BLAKE2B 16096647d5b6e91c7785159f841a90c94887497bd21117b539d7c5eac6a5f495efbc2cc06afc9a0cebb6af6d18e8ce7fafd346efad126f15110e663e2dc2d6ab SHA512 a738459c8a14dee633d98d893c23c7e97a6ffe317dcc8fa4fb5daa1ece305de431464ef8b762169f7a1ce16399c29f39d46c9da742cf843cfb15050c4820aa71
diff --git a/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch b/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch
deleted file mode 100644
index a40690862d6b..000000000000
--- a/media-libs/lcms/files/lcms-2.15-meson-big-endian.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://github.com/mm2/Little-CMS/pull/360
-
-From 4e55c55802e4aee5f65be120291f5f4785483d98 Mon Sep 17 00:00:00 2001
-From: psykose <alice@ayaya.dev>
-Date: Thu, 2 Mar 2023 02:22:01 +0000
-Subject: [PATCH] meson: fix big endian cargs
-
-otherwise they are a string and appending with + [""]
-later fails in
-plugins/fast_float/testbed/meson.build:5:0: ERROR: The `+` operator of str does not accept objects of type list (['-DPROFILES_DIR="/home/buildozer/aports/main/lcms2/src/lcms2-2.15/plugins/test_profiles/"'])
---- a/meson.build
-+++ b/meson.build
-@@ -27,7 +27,7 @@ if cc.has_function_attribute('visibility:hidden')
- endif
-
- if host_machine.endian() == 'big'
-- cargs = '-DWORDS_BIGENDIAN=1'
-+ cargs += '-DWORDS_BIGENDIAN=1'
- endif
-
-
diff --git a/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch b/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch
deleted file mode 100644
index 665f53d8a594..000000000000
--- a/media-libs/lcms/files/lcms-2.15-meson-psicc-man-page.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-https://github.com/mm2/Little-CMS/pull/361
-
-From a88767e99bc1b856946229796faf780ec2d5cbef Mon Sep 17 00:00:00 2001
-From: Biswapriyo Nath <nathbappai@gmail.com>
-Date: Thu, 2 Mar 2023 15:16:45 +0530
-Subject: [PATCH] meson: Install psicc man page
-
---- a/utils/psicc/meson.build
-+++ b/utils/psicc/meson.build
-@@ -12,3 +12,5 @@ psicc_exe = executable(
- psicc_man = files(
- 'psicc.1',
- )
-+
-+install_man(psicc_man)
diff --git a/media-libs/lcms/files/lcms-2.15-meson-samples.patch b/media-libs/lcms/files/lcms-2.15-meson-samples.patch
deleted file mode 100644
index 0b451c3922ef..000000000000
--- a/media-libs/lcms/files/lcms-2.15-meson-samples.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://github.com/mm2/Little-CMS/pull/362
-
-From 8849dd87ae44216b56c48db2b441f3906e085596 Mon Sep 17 00:00:00 2001
-From: Richard Hughes <richard@hughsie.com>
-Date: Thu, 2 Mar 2023 11:54:46 +0000
-Subject: [PATCH] Fix compiling the samples using meson
-
---- a/utils/samples/meson.build
-+++ b/utils/samples/meson.build
-@@ -5,7 +5,7 @@ wtpt_srcs = files(
- wtpt_exe = executable(
- 'wtpt',
- wtpt_srcs,
-- dependencies: [liblcms2_dep, common_dep],
-+ dependencies: [liblcms2_dep, common_dep, m_dep],
- )
-
- wtpt_man = files(
-@@ -28,6 +28,6 @@ foreach exe, srcs : examples
- executable(
- exe,
- srcs,
-- dependencies: [liblcms2_dep],
-+ dependencies: [liblcms2_dep, m_dep],
- )
- endforeach
diff --git a/media-libs/lcms/files/lcms-2.15-pthread-linking.patch b/media-libs/lcms/files/lcms-2.15-pthread-linking.patch
deleted file mode 100644
index 613d43415b3d..000000000000
--- a/media-libs/lcms/files/lcms-2.15-pthread-linking.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/mm2/Little-CMS/commit/1cb1e12fc298b86168ff5606d4ae8d5adb478021
-
-From 1cb1e12fc298b86168ff5606d4ae8d5adb478021 Mon Sep 17 00:00:00 2001
-From: Daniel Engberg <daniel.engberg.lists@pyret.net>
-Date: Sun, 19 Mar 2023 13:19:14 +0100
-Subject: [PATCH] meson: Link pthread library to threaded plugin
-
-Fixes
-```
-cc -o plugins/threaded/src/liblcms2_threaded.so plugins/threaded/src/liblcms2_threaded.so.p/threaded_core.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_main.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_scheduler.c.o plugins/threaded/src/liblcms2_threaded.so.p/threaded_split.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,liblcms2_threaded.so -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing '-Wl,-rpath,$ORIGIN/../../../src' -Wl,-rpath-link,/usr/ports/graphics/lcms2/work/lcms2-2.15/_build/src src/liblcms2.so.2.0.15 -Wl,--end-group
-ld: error: undefined symbol: pthread_create
-```
-OS: FreeBSD 13.2-BETA1 (amd64)
---- a/plugins/threaded/src/meson.build
-+++ b/plugins/threaded/src/meson.build
-@@ -21,7 +21,7 @@ liblcms2_threaded = library(
- 'lcms2_threaded',
- liblcms2_threaded_sources,
- include_directories: lcms2_threaded_incdir,
-- dependencies: liblcms2_dep,
-+ dependencies: [ liblcms2_dep, threads_dep ],
- c_args: cargs,
- install: true,
- )
-
diff --git a/media-libs/lcms/lcms-2.15.ebuild b/media-libs/lcms/lcms-2.15.ebuild
deleted file mode 100644
index 3d7f49c72e00..000000000000
--- a/media-libs/lcms/lcms-2.15.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson-multilib
-
-DESCRIPTION="A lightweight, speed optimized color management engine"
-HOMEPAGE="https://www.littlecms.com/"
-SRC_URI="https://github.com/mm2/Little-CMS/releases/download/lcms${PV/_}/${PN}2-${PV/_}.tar.gz"
-S="${WORKDIR}/lcms2-${PV/_}"
-
-# GPL-3 for the threaded & fastfloat plugins, see meson_options.txt
-LICENSE="GPL-3 MIT"
-SLOT="2"
-if [[ ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
-fi
-IUSE="doc jpeg static-libs tiff"
-
-RDEPEND="
- jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
- tiff? ( >=media-libs/tiff-4.0.3-r6:=[${MULTILIB_USEDEP}] )
-"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.15-meson-big-endian.patch
- "${FILESDIR}"/${PN}-2.15-meson-samples.patch
- "${FILESDIR}"/${PN}-2.15-meson-psicc-man-page.patch
- "${FILESDIR}"/${PN}-2.15-pthread-linking.patch
-)
-
-multilib_src_configure() {
- local emesonargs=(
- -Ddefault_library=$(multilib_native_usex static-libs both shared)
- -Dthreaded=true
- -Dfastfloat=true
- $(meson_feature jpeg)
- $(meson_feature tiff)
- )
-
- meson_src_configure
-}
-
-multilib_src_test() {
- # fast_float_testbed on hppa -> 1458s from default timeout of 600, #913067
- meson_src_test --timeout-multiplier=3
-}
-
-multilib_src_install_all() {
- use doc && dodoc doc/*.pdf
-}
diff --git a/media-libs/lcms/lcms-2.16-r1.ebuild b/media-libs/lcms/lcms-2.18.ebuild
index 1d353b0a0ae3..8ccdfe27a969 100644
--- a/media-libs/lcms/lcms-2.16-r1.ebuild
+++ b/media-libs/lcms/lcms-2.18.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -14,9 +14,10 @@ S="${WORKDIR}/lcms2-${PV/_}"
LICENSE="GPL-3 MIT"
SLOT="2"
if [[ ${PV} != *_rc* ]] ; then
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
fi
-IUSE="doc jpeg static-libs tiff"
+IUSE="doc jpeg static-libs test tiff"
+RESTRICT="!test? ( test )"
RDEPEND="
jpeg? ( media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}] )
@@ -30,6 +31,7 @@ multilib_src_configure() {
-Dthreaded=true
-Dfastfloat=true
$(meson_feature jpeg)
+ $(meson_feature test tests)
$(meson_feature tiff)
$(meson_native_true utils)
)