diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-09 09:52:08 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-09-09 09:54:09 +0200 |
commit | 7745cc5f54e5045635be11582e65fc470912b275 (patch) | |
tree | fc3ac341f68f3968535d0efcfbae14925f00f558 /media-libs/libopenraw | |
parent | dev-perl/Conf-Libconfig: add 1.0.3, drop 1.0.0 (diff) | |
download | gentoo-7745cc5f54e5045635be11582e65fc470912b275.tar.gz gentoo-7745cc5f54e5045635be11582e65fc470912b275.tar.bz2 gentoo-7745cc5f54e5045635be11582e65fc470912b275.zip |
media-libs/libopenraw: re-add 0.1.3
media-libs/libopenraw[gtk] is still required by:
- xfce-base/tumbler
- media-gfx/raw-thumbnailer
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-libs/libopenraw')
-rw-r--r-- | media-libs/libopenraw/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libopenraw/libopenraw-0.1.3.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest index 78f306e42f29..62a2ad29b816 100644 --- a/media-libs/libopenraw/Manifest +++ b/media-libs/libopenraw/Manifest @@ -13,6 +13,7 @@ DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db86 DIST hermit-abi-0.1.8.crate 7581 BLAKE2B 90fef564dd39973c5ff8ee3d4a9b129f1ca00800ca459c644ee08df1542c5adbc06881a7a59d37fe6e03a72a2df21917e38544759a2833dd8f8c065261cc1512 SHA512 25f7806834ea007174001284200201895f4536d5a447dea6c165b43c30b30871f78da5f3ef0d79579e3195951e6fd7ee5e21ec80811c515fd096f2e7b3bf7b9b DIST humantime-2.1.0.crate 16749 BLAKE2B e2ae8325b037fb175b9200cc5c1944ce579056c6662cce307beb6701894552362a25e371aad65f8fb9384945b48815ca74bb8b544a32e0a5845b7edd30b918c9 SHA512 3bf29ddd1391d82897c22baa0ff3ed58ef6d6959859f1f8ed54d324caba5b6fb4422e56790511ce82f902cd11467f93c8ab7fc7b0e0bdb719308a4d0a446ae0c DIST libc-0.2.126.crate 590481 BLAKE2B 1000de6b9fa2b3ff025b961e504d6d20b401f37cdeda6710187d18ad2dfe8ec89142bba65486d7853f1796897b58f343c5a34dd6381a0d0794b615635ac31175 SHA512 9bbb17f64a7503819616a71076ebe8ee317daf07b17b9fff783a4459da0439aecee535c09e7185bf148b1993e6fc958d182a490fc9c9a7b9fb635429c491ca44 +DIST libopenraw-0.1.3.tar.bz2 565458 BLAKE2B dec7cda78b6ff4b1411b93c0d48758920b73e087eaca3c262a0850eb5a3423fee38ba7537694b1a04bdafa6bbb34b290c059f483a5a6af339b76c132ac77c413 SHA512 c56d84610f0cf5da970c4c0c791fccf2f7e9f7c7dacf2aeac0b2702ce9a0cd3aaa2f6db0794b0466e1dd8316771973db1e64d013f635c1166b7ff2eebdcbf029 DIST libopenraw-0.3.3.tar.xz 570284 BLAKE2B 3c0902e4d525aab919e8856041c563c4a56a58db70771b24d3c12bc9db268bb0a7a32a9a64604dcf6d1719c632663bea8e1d9c94c160ba3468466f333598ab93 SHA512 8c4894a0119c7f58fe965002b69cb2caa0c5b9d2e3656dddc0da0c07674290b155d50338a3f4b62e4faccaa908028ecf4c26a80b8a95d51638bf4bd7bec6c9e1 DIST libopenraw-0.3.6.tar.xz 2536224 BLAKE2B 675e31773db55d00843779f7e42b11f51b2060e6a9cc30e70b0cc34da6821241616e9e6f2f4f9d441464760643ef124e857b732ba3752ecae40b69753ca4911b SHA512 be6de3b264145297801513bccc49f18684242db71fcbdbc288132b05b805d9c0e1f194db3baab3f233ca3ca98df865bcc4f0b41812afbd5b3957843026293536 DIST libopenraw-0.3.7.tar.xz 2536380 BLAKE2B 22aacfb085c59fa4b763abc3454839812327d1b6506b2e531783b0529ca3a5e24605a010e6c510d942741d4f0afc208ca626bdef1a93ad42fbf0f5c1e347f5cb SHA512 0781e9377100e954f8a7f020da537ec2af033b23341a7944fc346a973fecb463ed29b375275ae8b4bd6f40721ee4f12480729df80337d57cac30627e084594d1 diff --git a/media-libs/libopenraw/libopenraw-0.1.3.ebuild b/media-libs/libopenraw/libopenraw-0.1.3.ebuild new file mode 100644 index 000000000000..8b153ba9a75a --- /dev/null +++ b/media-libs/libopenraw/libopenraw-0.1.3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit gnome2-utils + +DESCRIPTION="RAW image formats decoding library" +HOMEPAGE="https://libopenraw.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/download/${P}.tar.bz2" + +LICENSE="GPL-3 LGPL-3" +SLOT="0/7" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-macos" +IUSE="gtk test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libxml2 + virtual/jpeg:0 + 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 \ + --disable-static \ + $(use_enable gtk gnome) +} + +src_install() { + default + find "${D}" -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 +} |