summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-10-14 04:04:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-10-14 04:04:03 +0100
commit2916cf6049cf9d3092021e247d56c580df6029a7 (patch)
treec796a6fc8b6fd0e4fd5ac06b009000b438fed7d9 /media-libs
parent7b5306e0d287565138e8b051e32f57e6af6ae0ed (diff)
gentoo auto-resync : 14:10:2024 - 04:04:03
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/Manifest.gzbin69428 -> 69456 bytes
-rw-r--r--media-libs/giflib/Manifest2
-rw-r--r--media-libs/giflib/giflib-5.2.1-r1.ebuild76
-rw-r--r--media-libs/lcms/Manifest2
-rw-r--r--media-libs/lcms/lcms-2.16-r1.ebuild2
-rw-r--r--media-libs/libass/Manifest2
-rw-r--r--media-libs/libass/libass-0.17.1-r2.ebuild (renamed from media-libs/libass/libass-0.17.1-r1.ebuild)4
-rw-r--r--media-libs/libiptcdata/Manifest2
-rw-r--r--media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild7
-rw-r--r--media-libs/libopenraw/Manifest2
-rw-r--r--media-libs/libopenraw/libopenraw-0.3.6.ebuild65
11 files changed, 13 insertions, 151 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz
index 09bd1d01c062..92d028eea3b3 100644
--- a/media-libs/Manifest.gz
+++ b/media-libs/Manifest.gz
Binary files differ
diff --git a/media-libs/giflib/Manifest b/media-libs/giflib/Manifest
index 7df770cc6abd..eca470e7597b 100644
--- a/media-libs/giflib/Manifest
+++ b/media-libs/giflib/Manifest
@@ -2,8 +2,6 @@ AUX giflib-5.1.9-gentoo.patch 200 BLAKE2B 0d3e9e349b8ef00a09743ac1424c0f53d29357
AUX giflib-5.2.1-fix-missing-quantize-API-symbols.patch 920 BLAKE2B a559e326851cc937977f7b91295b218b444deddb8d03350406be706722139005a01160be6f558064239ef6f245b6dbfbb9836899dc72cc1c3106d7900234cabc SHA512 5de1e8724f5221fa3637b4e6a482f650f7608673e2c9200233290018ec8a0bf1beea049b3979b5f57dbf2b2a5fda409324e636e9af10582fd01c71d92d4de3b3
AUX giflib-5.2.2-fortify.patch 868 BLAKE2B 3abefc79d531ba086817c233709d16e842dc7751dc6ef013f999ece74dfce76a7536ff0982dccb946c9317f8f1517cbc41eed80c491f311259da0e4583fedf7e SHA512 475cf618ed43e346794d027cb53eed54a9d363f8c76f5ad5ed4b830db63f3970cccad197a79c658290c6df148d23bc18d3d196ec8fbcf1b43e9b258d15cafa13
AUX giflib-5.2.2-verbose-tests.patch 2343 BLAKE2B ef6591b6ded7e0502700d80df92486e0a7245c5861b539a9c0625a0fa790492486ee88306349f1616d21f72d98615bba45b2014cad0b1a8c70837b0ae1fff810 SHA512 a3e38ecfbe13c9351ee93d92d1064104bb06e63e63674bdde880ea61d4191f498d74aab7a7a3978b56a02d3c5ac3bfd875c0315a72de7e84e41198a2213f6381
-DIST giflib-5.2.1.tar.gz 444187 BLAKE2B 8c1e105bbb65dc7ab103976caed70834356440f381ec5118311882fb1c558bb65f6c1081e5767f9835087860de44df5dfcd2826f89744dded548d535736f27f0 SHA512 4550e53c21cb1191a4581e363fc9d0610da53f7898ca8320f0d3ef6711e76bdda2609c2df15dc94c45e28bff8de441f1227ec2da7ea827cb3c0405af4faa4736
DIST giflib-5.2.2.tar.gz 447175 BLAKE2B 5729628044f1bd9227856c76f67b673760c7c93860d9131ab0f67d900b8090fa24693ce16555ff65cfd839c6c960630d49a19ee26e03bdc9d2b4626f9efac393 SHA512 0865ab2b1904fa14640c655fdb14bb54244ad18a66e358565c00287875d00912343f9be8bfac7658cc0146200d626f7ec9160d7a339f20ba3be6b9941d73975f
-EBUILD giflib-5.2.1-r1.ebuild 1847 BLAKE2B e7f9a3ef815e73b75883d1cbf644fc290842eea6087bdcf3114d036ae0e88cb8e78892f3db20ec6032b35034ed2df692a8f827f5d945dfd602d02ff30ec94fe2 SHA512 f61f42cd73421a038a94a72ef8ff7f41db73d06c6aa15d58f62e889dac68af2dd89fe669fb25d35c1796e44017d79b07eb04998ddd192f331f0a1f12cd026c0e
EBUILD giflib-5.2.2.ebuild 1642 BLAKE2B bb6ec41761c6beee280758795f0fb0d1d32bdcdc1eaeec75f5621b64a179c3cc173bf5ba089c2be53629d61bc8b02b35a1659e1af52c39f35112a9900b425406 SHA512 140e390cab40b812f6cff5d6a2ed6ff2778931d3bdea7a364d183a573141ae57e62ecc3a2b62143e5be46e7fd96d2dc1e2640494c171d9a68eaa6c53c14e8378
MISC metadata.xml 407 BLAKE2B 1cd650ccc597cbc965db8c5ff6ca1303740b2b36024b9d211c6126fa359a28d8f358d32f077b79ecf127f3afda8c0d40121b3a33c67304e135aba4673dfcee9d SHA512 d9bfaf6524644d68fd54d434772c2ff7ca85c2eaf86a59828b620e8af21b47c3c8121cfb6eafa28d314c6036089c549eb04b4b47f912350a7adb8120720c8cea
diff --git a/media-libs/giflib/giflib-5.2.1-r1.ebuild b/media-libs/giflib/giflib-5.2.1-r1.ebuild
deleted file mode 100644
index 265e7e403a83..000000000000
--- a/media-libs/giflib/giflib-5.2.1-r1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-minimal toolchain-funcs
-
-DESCRIPTION="Library to handle, display and manipulate GIF images"
-HOMEPAGE="https://sourceforge.net/projects/giflib/"
-SRC_URI="https://downloads.sourceforge.net/giflib/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/7"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
-IUSE="doc static-libs"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-5.1.9-gentoo.patch
- "${FILESDIR}"/${PN}-5.2.1-fix-missing-quantize-API-symbols.patch
-)
-
-src_prepare() {
- default
- multilib_copy_sources
-}
-
-multilib_src_compile() {
- # Use reallocarray() from libc if available.
- if $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -D_GNU_SOURCE -o "${T}/reallocarray_test" -x c - <<< $'#include <stdlib.h>\nint main() {void *p = reallocarray(NULL, 0, 0);}' 2> /dev/null; then
- local -x CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE -DHAVE_REALLOCARRAY"
- sed -e "s/ openbsd-reallocarray\.c//" -i Makefile || die
- rm openbsd-reallocarray.c || die
- fi
-
- emake \
- AR="$(tc-getAR)" \
- CC="$(tc-getCC)" \
- CFLAGS="${CFLAGS} -std=gnu99 -fPIC -Wno-format-truncation" \
- LDFLAGS="${LDFLAGS}" \
- OFLAGS="" \
- all
-
- if use doc && multilib_is_native_abi; then
- emake -C doc
- fi
-}
-
-multilib_src_install() {
- emake \
- DESTDIR="${D}" \
- PREFIX="${EPREFIX}/usr" \
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" \
- install
-
- if ! use static-libs ; then
- find "${ED}" -name "*.a" -delete || die
- fi
-
- if use doc && multilib_is_native_abi; then
- docinto html
- dodoc doc/*.html
- fi
-}
-
-multilib_src_install_all() {
- local DOCS=( ChangeLog NEWS README TODO )
- einstalldocs
- if use doc ; then
- docinto html
- dodoc -r doc/{gifstandard,whatsinagif}
- fi
-}
-
-multilib_src_test() {
- emake -j1 check
-}
diff --git a/media-libs/lcms/Manifest b/media-libs/lcms/Manifest
index a28867f74df2..380bce07c037 100644
--- a/media-libs/lcms/Manifest
+++ b/media-libs/lcms/Manifest
@@ -5,5 +5,5 @@ AUX lcms-2.15-pthread-linking.patch 1376 BLAKE2B abeaeca00fb8bd7dcb1eb3616370487
DIST lcms2-2.15.tar.gz 7548405 BLAKE2B 97ce1e87c8de17e7d0dd1b00e1b49cf4e3c6912c74ff16d5afb9979565ad830fd8b3f08f7535ae8b5e763fbd22d2a058c577536ddb7487b7aa8fb25d585f8c84 SHA512 ab038c369e66736e0dd3810fbac6cf5381bc3102c4dd693819367b1224f59d9e853ede081388464c0e7c213d92e6cddc48c23020953af10ad6c6802cfa17e213
DIST lcms2-2.16.tar.gz 7632822 BLAKE2B cf4d10908e6b8e6cf15ec8a99f0a299a9bcb7082f0df5ab1c9d84fcb739132855edf717c2ab746040fc09bace7afaaa8a39538e7ceabd0e68cdb3b4fb5627c6d SHA512 638dd6ad6787456c8145510d18b2d0727bd0a446a13ac2934aabc9531d1156eca2a2c0fd780a453823fbd35a1895f9d8de5dc4b3cab505459dd3f0535b4e837d
EBUILD lcms-2.15.ebuild 1486 BLAKE2B 4b2d395de3775e012b1cc5e98fd30738724e0d5e55f38f729ed07cd4cdf9e4519f08de044b2a67183cfd0b3f4767e8c41db9205be182c40ef309dd4a4b8c2c1a SHA512 d93e431d023af73f6f51286cb70cf3b64652d1ad3912a0693566356a4d0855f28ab2ffabdea3a13e5261a705210271feea662393c5610d29a1bae43c181a1326
-EBUILD lcms-2.16-r1.ebuild 1308 BLAKE2B 0ede7f96d7c404e9c916113ed1c0e1c98a1f052836df9196457d57d65db83e2143ee6a38a02f7c01666572a6d8a8970dc00dcdde519d15450990134fb8564b26 SHA512 623201ead3ce0c6708239b0a151272789350a6c89b8acf9ff98e81c53bb2b7eaad01a011a3955ae24d70b6949b10f19008eea349ee4c83297e9790b243e9091a
+EBUILD lcms-2.16-r1.ebuild 1306 BLAKE2B 1c5fbcb682713ccc0674a31d548d6dd9a101cc89a2f0689b0dee05144ee3cf2b520b324ad39e5f7657f3024efaca4fe3bc85ccead6dce01688ae85cf1a2ae035 SHA512 960ab2942cb036f249f0623600969add2acda16eee1d1fe70a38e5b76ab9f8151aaacf2d144f1c55435af1cb61e88038e3b55a809fe5ffdeca511f9bd7f37e96
MISC metadata.xml 465 BLAKE2B eac440b8a48c75faaa51b0333582740e7e33b0b6222bf5376383764c9395cfa7a7936e19ec2dd22a043e3251ed4e40161c7a594f7f3157b8b809c620dd551430 SHA512 dabeaecc2fed3c2e63f2bb0219711961c51f7da710a5e90629df694c5c89deb9fd26c2329ed5ac577edbf60b51a8efd34f65fdd7e6759912c2513e4d8efa6f35
diff --git a/media-libs/lcms/lcms-2.16-r1.ebuild b/media-libs/lcms/lcms-2.16-r1.ebuild
index 311370885b05..8b9d3ba8f30d 100644
--- a/media-libs/lcms/lcms-2.16-r1.ebuild
+++ b/media-libs/lcms/lcms-2.16-r1.ebuild
@@ -14,7 +14,7 @@ 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 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
+ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
fi
IUSE="doc jpeg static-libs tiff"
diff --git a/media-libs/libass/Manifest b/media-libs/libass/Manifest
index e75b929bf90a..500113334f8f 100644
--- a/media-libs/libass/Manifest
+++ b/media-libs/libass/Manifest
@@ -1,5 +1,5 @@
DIST libass-0.17.1.tar.xz 403160 BLAKE2B b191e8910ddb3e41fb9df79b27517a127c0da2ad74c0a81920bc2cf8843ab18b02a60738024fa8d3594b91bd26ec6ea7f87e17ca5e07825a6017dd29d2b72b32 SHA512 437b4b60db2626e48f438b5138ab4dbf2c2ab4c8f0b587a6e554510c6719544ef2235c601ff1e482d020410f9bab95ad1a9b176d19a3bd54880499a576b41f23
DIST libass-0.17.1.tar.xz.asc 228 BLAKE2B 0e70c104438be4409239f435d7872737fde1aba4485816ad0e35f0de743ee303662e66334425d0d511af4974e03443ba6d33ac44f941de9b0da17a56f204edea SHA512 a28c8271b4c5b5756620be9baf81b0262eb71c4f20d1aadb24238d1d0ccba44fdb3b25d788a3f7c9039945431a3d31842a7855660cc28a0a8acc36ff8f0c0298
-EBUILD libass-0.17.1-r1.ebuild 1562 BLAKE2B b85b8f012f1418509f179d3a648ee84b6c7cec60def0fb671d55024f79915119ac4371717a653309193bc845f3c9e501869b07b76b533878fa253c17adcb35e2 SHA512 63a94e8eea431ca7e8eb8a02cd4214fadfca716263de5a2c92263023d473c31d2b8c4356d812a761bada84709c605245bb76708ebb16d359d840024a9006fe03
+EBUILD libass-0.17.1-r2.ebuild 1578 BLAKE2B e7eefd464cc3b7e12d73b887deea2204cb52bb328115fff72f1ffa055ccc09690bc20aef28ba6b7f176be194f5de02f18169646706441766bdbee4b1341a25fb SHA512 1f73d225e84ae7d42a703a7d860d4ee7b6df165b65a78755f119d4c8a06dac772ac61365ef6ca29d7a2eac1fef0fdb4dddeccbec76ef23b93e57a05efec21f8c
EBUILD libass-0.17.1.ebuild 1472 BLAKE2B 6c50eb39b4bf41d818fd76463701f3672cd900420803457a936740d10b4ac9cfba6116b79171a4238622e47e7080942602aede0558ad8bc7d6923de0e869c2cb SHA512 c28d93e656d362284b43d3902f3d5bf5c2ae3ca014867d80bf99211d27bfd953f977670432d0283d76a9cbb92cd7d89d06da0d94691b1739d25d24dc7be6c41c
MISC metadata.xml 435 BLAKE2B 28ce115edcd9e3cd8a50a75a83395b4d2d9c7b8c88a7a4f3fba3f6037c7754376fb2736c1a4b61161f7656647f6c1b518e7f31c0da07d7a03647da9908033ae8 SHA512 f7873c6c98fc5e39eec3e7709065b680e313a54ab3e1570499371ede7e1c80aa433e509b63dd68ddcaadd6dc9ef5d8e95be01e53fd92edb6665ba63f3a817cad
diff --git a/media-libs/libass/libass-0.17.1-r1.ebuild b/media-libs/libass/libass-0.17.1-r2.ebuild
index ea718aecd975..eac26bff0857 100644
--- a/media-libs/libass/libass-0.17.1-r1.ebuild
+++ b/media-libs/libass/libass-0.17.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,7 +39,7 @@ DOCS=( Changelog )
multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable fontconfig) \
- $(use_enable libunibreak) \
+ $(multilib_native_use_enable libunibreak) \
$(use_enable test) \
--disable-require-system-font-provider
}
diff --git a/media-libs/libiptcdata/Manifest b/media-libs/libiptcdata/Manifest
index c66b247b4ce3..4324caf5e282 100644
--- a/media-libs/libiptcdata/Manifest
+++ b/media-libs/libiptcdata/Manifest
@@ -1,3 +1,3 @@
DIST libiptcdata-1.0.5.tar.gz 593779 BLAKE2B 7e5226a289fed5c2f4b662efaa693a8b38e95ac34bc1365af05d1af649be876d3e5b58fecea4818255879bd7518aa482cb623540601fb3c8065acd428439a29c SHA512 64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a
-EBUILD libiptcdata-1.0.5-r1.ebuild 1622 BLAKE2B 0a9773eb10ddb5880c59933dfa8fd7e89804c94e284aa0258f60c967627361ebf7e4cb97ef477122cd39a4c24696c1ade6a230c4987fe05462553222501e041f SHA512 70a9668d945772196559242c003644ff0e8512d5ec32be2f152f3f6fd50a898b012479f30e3dfcb19c23ee9b2e082118ec21926a0a8d40894b25270ca6da0a73
+EBUILD libiptcdata-1.0.5-r1.ebuild 2045 BLAKE2B 42d8485c06e3178fed1e68490c0cc4693f1ef63bbfe96cbcd3b0924e74b0d38910c5fa71faca25f55a35894e3ce4114157fe395020d3347cdcd054ccb5376445 SHA512 aa9d5b54834f581e7582faa4dda461071a22ba40db1ad5d11876927b3b0f77c78261e24be0ae692a5e847dd273c3a4e4424a884a9d9341cfe8ac765ec3c4f83c
MISC metadata.xml 948 BLAKE2B 2eb9fc81cf1795cfc57e9b89e5880a3f34b21937bc41e802ab09d3fd508ad9e9c67a6c621558e2cf56683a4641b8160a3cfac3ff6ea578ee12e7543f73e1d9e1 SHA512 8dbf6854415f937c99f88fd1c1159acbc94a40b992c8eeaf5edb855a7830d4d11ea8ae9929e2af3e3d11c8ce5c7163e723110fad5f15259d5a21b7451fbaa9ac
diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
index 6f51a051ba3e..d043c92b131f 100644
--- a/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
+++ b/media-libs/libiptcdata/libiptcdata-1.0.5-r1.ebuild
@@ -41,6 +41,13 @@ src_prepare() {
eautoreconf
if use python; then
cd python || die
+ # Bug #936589: compiling from inside the 'python' sub-directory
+ # might set that as the top source directory, and not ${S}, but
+ # "${S}/libiptcdata" is required to find headers and libraries.
+ # Symbolic linking "../libiptcdata" is a possible fix. Another
+ # way is adding in python/setup.py, under iptcdata's Extension,
+ # "include_dirs=['..']" and "library_dirs=['../libiptcdata']".
+ ln -s "../${PN}" . || die
distutils-r1_src_prepare
fi
}
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest
index 0349594ebb6c..7f856fcbcf79 100644
--- a/media-libs/libopenraw/Manifest
+++ b/media-libs/libopenraw/Manifest
@@ -1,6 +1,4 @@
AUX libopenraw-0.3.7-slibtool.patch 605 BLAKE2B 0369ca04439c0b69548079dc6ce69fd562bb3bcdb15ec2f76eafb76260846af16bbd33c60aed89967b1bd29b4cccd6ec7985b101b7af43c8dc0160569404c385 SHA512 7ee3505a2690777218b558b1016d19e00d63153cfa4a2fdb125327fb0a1f59224703b0af16329936e08e7fca65e615a840cd61e4d24f246dc89d329e1b0c5593
-DIST libopenraw-0.3.6.tar.xz 2536224 BLAKE2B 675e31773db55d00843779f7e42b11f51b2060e6a9cc30e70b0cc34da6821241616e9e6f2f4f9d441464760643ef124e857b732ba3752ecae40b69753ca4911b SHA512 be6de3b264145297801513bccc49f18684242db71fcbdbc288132b05b805d9c0e1f194db3baab3f233ca3ca98df865bcc4f0b41812afbd5b3957843026293536
DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1
-EBUILD libopenraw-0.3.6.ebuild 1180 BLAKE2B ed9db5aa48db8b021d819757185d2eb12484d625164669ad828747d4366de33a1727a54018b2a5dbb0ad1a2300ec36d267bc7efba27f0eb1e079bdbeaa25bd15 SHA512 1ad5d05934499a757ab52ae4100e297475de68bc4ac1cdec6173d3cba6cb33ceb13e884cdf0e5bc4a7eacfa8d521a3930b331a1cdc7d42a6dc42108999854377
EBUILD libopenraw-0.3.7.ebuild 1294 BLAKE2B 2475135c9c6f47dd0901546acccc9290541ab25bf83c5dac29163e47e3216904e5849feb16a40ec7b6310e3f3bf3a1822a857b209e0afabd1c290e4d585d3b2d SHA512 92c7b1c4dffefca22431cf92a0abb9c81f8c976fb475f394b1cb3b61aeb361f6e64a0a217a7b7d71fdce438458e67656fe0bf6e4c545a13bb30fdd6e6a770972
MISC metadata.xml 327 BLAKE2B 535d53760f8b1440558a02aecb8ab27244d3583ded3843a38a8d418ae8a8a55859c08901a6fae91f8d63e7848a173e3e40b7ff168a0f86c710e53bcbe87f4161 SHA512 26f6a6a430380b878feabd5a692aed4cf6994701e935fda0f986b0b071702846389f8ada8f0c666f35a5107484879d7dce9f81b866081b0b06a1df1d02125cdb
diff --git a/media-libs/libopenraw/libopenraw-0.3.6.ebuild b/media-libs/libopenraw/libopenraw-0.3.6.ebuild
deleted file mode 100644
index 47b0d0c24b6d..000000000000
--- a/media-libs/libopenraw/libopenraw-0.3.6.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CRATES=" "
-inherit cargo gnome2-utils
-
-DESCRIPTION="RAW image formats decoding library"
-HOMEPAGE="https://libopenraw.freedesktop.org/"
-SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.xz"
-
-# MPL-2.0 for mp4parse (https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/15)
-LICENSE="GPL-3 LGPL-3 MPL-2.0"
-SLOT="0/9"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="gtk test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- dev-libs/libxml2
- media-libs/libjpeg-turbo:=
- gtk? (
- dev-libs/glib:2
- >=x11-libs/gdk-pixbuf-2.24.0:2
- )
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/boost
-"
-BDEPEND="
- virtual/pkgconfig
- test? ( net-misc/curl )
-"
-
-src_configure() {
- econf \
- --with-boost="${EPREFIX}"/usr \
- $(use_enable gtk gnome)
-}
-
-src_compile() {
- # Avoid cargo_src_compile
- default
-}
-
-src_test() {
- # Avoid cargo_src_test
- default
-}
-
-src_install() {
- default
-
- find "${ED}" -name '*.la' -delete || die
-}
-
-pkg_postinst() {
- use gtk && gnome2_gdk_pixbuf_update
-}
-
-pkg_postrm() {
- use gtk && gnome2_gdk_pixbuf_update
-}