diff options
author | Sam James <sam@gentoo.org> | 2021-09-12 22:26:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-12 22:29:12 +0100 |
commit | 7be91abf427f12fae7b1ba9a17944e14e1fc1ec4 (patch) | |
tree | 517c199b4e55c24dd1cc7d2f782a9c3d26fe0065 /media-libs/libexif | |
parent | media-libs/gd: add 2.3.3 (diff) | |
download | gentoo-7be91abf427f12fae7b1ba9a17944e14e1fc1ec4.tar.gz gentoo-7be91abf427f12fae7b1ba9a17944e14e1fc1ec4.tar.bz2 gentoo-7be91abf427f12fae7b1ba9a17944e14e1fc1ec4.zip |
media-libs/libexif: add 0.6.23
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/libexif')
-rw-r--r-- | media-libs/libexif/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libexif/libexif-0.6.23.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest index bc21d723f6f9..0c0f3de4fa5b 100644 --- a/media-libs/libexif/Manifest +++ b/media-libs/libexif/Manifest @@ -1 +1,2 @@ DIST libexif-0.6.22_p20201105.tar.gz 1111695 BLAKE2B d4eb856ad950f8ae068a27088e54311789c7b8b646dd1c4851ef637b626015119b3b5ac9cbac58f9c79c37c07ba7d3e9a9a67dc52715187495aa824846ec2335 SHA512 5472bf2531d9147be5c6e681d0257325f6609d6aa3935243f887df0ab32e51242ff9d853fc2c183cf5c2709c89d5c52d8fecb9144343d6f959f4bed1062098ab +DIST libexif-0.6.23.tar.gz 2764684 BLAKE2B 517eaadc71b6ccaa7899b89b770a14fc051f365c728d5518fe6f0c05aa14690eaa6a33323c9305d02398df6ba2fceb806537202224a3c00018f7bcf835a3ff84 SHA512 c382b5f36e4fc1501664e3bad18553abb1b18f752f93111af5081e996bcc37b425ac9f0b0e1ffd7145270254ac44a4adb7875d5b0d8379113da6162b17442e23 diff --git a/media-libs/libexif/libexif-0.6.23.ebuild b/media-libs/libexif/libexif-0.6.23.ebuild new file mode 100644 index 000000000000..f8e8ac1b6299 --- /dev/null +++ b/media-libs/libexif/libexif-0.6.23.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools multilib-minimal + +DESCRIPTION="Library for parsing, editing, and saving EXIF data" +HOMEPAGE="https://libexif.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="doc nls static-libs" + +RDEPEND="nls? ( virtual/libintl )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch +) + +src_prepare() { + default + sed -i -e '/FLAGS=/s:-g::' configure.ac || die #390249 + # Previously elibtoolize for BSD + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable doc docs) \ + $(use_enable nls) \ + $(use_enable static-libs static) \ + --with-doc-dir="${EPREFIX}"/usr/share/doc/${PF} +} + +multilib_src_install() { + emake DESTDIR="${D}" install +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die +} |