diff options
author | Sam James <sam@gentoo.org> | 2023-09-07 21:14:59 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-09-07 21:14:59 +0100 |
commit | 23661898cc791925507cf98fd9d706537ef47f4a (patch) | |
tree | 2c2375adb59f43232487efefbab02ac6a627ab1a /media-libs/libopenraw | |
parent | media-libs/exempi: add 2.6.4 (diff) | |
download | gentoo-23661898cc791925507cf98fd9d706537ef47f4a.tar.gz gentoo-23661898cc791925507cf98fd9d706537ef47f4a.tar.bz2 gentoo-23661898cc791925507cf98fd9d706537ef47f4a.zip |
media-libs/libopenraw: add 0.3.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r-- | media-libs/libopenraw/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libopenraw/libopenraw-0.3.7.ebuild | 69 |
2 files changed, 70 insertions, 0 deletions
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest index fcfdb204e1f7..455b48ce71c1 100644 --- a/media-libs/libopenraw/Manifest +++ b/media-libs/libopenraw/Manifest @@ -17,6 +17,7 @@ DIST libopenraw-0.1.3.tar.bz2 565458 BLAKE2B dec7cda78b6ff4b1411b93c0d48758920b7 DIST libopenraw-0.3.3.tar.xz 570284 BLAKE2B 3c0902e4d525aab919e8856041c563c4a56a58db70771b24d3c12bc9db268bb0a7a32a9a64604dcf6d1719c632663bea8e1d9c94c160ba3468466f333598ab93 SHA512 8c4894a0119c7f58fe965002b69cb2caa0c5b9d2e3656dddc0da0c07674290b155d50338a3f4b62e4faccaa908028ecf4c26a80b8a95d51638bf4bd7bec6c9e1 DIST libopenraw-0.3.5.tar.xz 2533200 BLAKE2B 8d708640951c9dae1bf0c809219d7fbf94cb4df6d0568cbaf6927968b63d3ce32d054766e0708ddd4d492f8d54cbd8797fdf8a67ceb8985ddde644ebbc45fa4b SHA512 deaa5e8c95be4eba0d0bd6f8cbb38e16ab6dd0ea0a93885ef79719154ece0bb2d1ca13b2ef75481ced4a282c9c788c5372f01df51d0f3ebc965e85dddf423a58 DIST libopenraw-0.3.6.tar.xz 2536224 BLAKE2B 675e31773db55d00843779f7e42b11f51b2060e6a9cc30e70b0cc34da6821241616e9e6f2f4f9d441464760643ef124e857b732ba3752ecae40b69753ca4911b SHA512 be6de3b264145297801513bccc49f18684242db71fcbdbc288132b05b805d9c0e1f194db3baab3f233ca3ca98df865bcc4f0b41812afbd5b3957843026293536 +DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1 DIST log-0.4.17.crate 38028 BLAKE2B b46be3719fc0a53e50b1f342762e188587e9f1ceb692c72473ce2663edfb8253742d30024e68c1444780ab7fc0e2d5b0601b8ea7228dc3405a9342a57548e605 SHA512 2477d88db42b1d92c30708d88823212e236f613b3465e85eb425f83f8d16fadfaf0352f06c2999a1852102edd2f6ffb10ecb539d8a3b6c48f552a25622ccffa2 DIST memchr-2.5.0.crate 65812 BLAKE2B 57966413a1f933dcb2d2d4ccb29c247070f65a83299b2a9f5aa83f5a48a5c5f1c4c7c632fa63bd19f9508e9291e7258db2f16e2813a56fd84e0856f70f1e67ab SHA512 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa DIST num-traits-0.2.15.crate 49262 BLAKE2B 942ab170b2acce1cb40e6847f766bf810a79edd293d34f3a27864f464c16fe2b99fb13171ba429cc6d584248de879434beaadf1b231a4001b0e8389ed6c1be04 SHA512 5228498af0f15daeac3c9210f3e6e71cfaaeb30beea81dd37f8eb06b9592c8bf3226a47597cd8592ad4c513964a9a40f1ab2c33102ef3dfe3800d22c8d4528e8 diff --git a/media-libs/libopenraw/libopenraw-0.3.7.ebuild b/media-libs/libopenraw/libopenraw-0.3.7.ebuild new file mode 100644 index 000000000000..983e99ac325e --- /dev/null +++ b/media-libs/libopenraw/libopenraw-0.3.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2023 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_preinst() { + use gtk && gnome2_gdk_pixbuf_savelist +} + +pkg_postinst() { + use gtk && gnome2_gdk_pixbuf_update +} + +pkg_postrm() { + use gtk && gnome2_gdk_pixbuf_update +} |