diff options
author | Sam James <sam@gentoo.org> | 2020-11-15 09:24:15 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-15 09:24:24 +0000 |
commit | 2a59b09f96fe636adc1fa857c1fa7d52d6c6f28b (patch) | |
tree | f86bbf18e7edac68afc1ce3ae2a76d2b25729ac6 /media-libs/libexif | |
parent | dev-python/pylint: Remove obsolete pylint-gui message (diff) | |
download | gentoo-2a59b09f96fe636adc1fa857c1fa7d52d6c6f28b.tar.gz gentoo-2a59b09f96fe636adc1fa857c1fa7d52d6c6f28b.tar.bz2 gentoo-2a59b09f96fe636adc1fa857c1fa7d52d6c6f28b.zip |
media-libs/libexif: security bump to 20201105 snapshot
Bug: https://bugs.gentoo.org/754681
Package-Manager: Portage-3.0.8, Repoman-3.0.2
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.22_p20201105.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/media-libs/libexif/Manifest b/media-libs/libexif/Manifest index 52a1e78a8561..8aae44788f22 100644 --- a/media-libs/libexif/Manifest +++ b/media-libs/libexif/Manifest @@ -1 +1,2 @@ DIST libexif-0.6.22.tar.gz 2741296 BLAKE2B df57aa0ff7d20faa47ea34f4d8164c33b113887bc2179405481b2c12c0d0336dc9e5321a260ffda64d974bfa9ac6af55c0cfb4cc9a57a941c17944a3d049befd SHA512 e399804c9d67072861988638349115c585546be20f15c4d26bb6f411ff4ee5bce979c1a41305c1456ecc2f830837349f93cfa4136b7a864e0486cecd3607b469 +DIST libexif-0.6.22_p20201105.tar.gz 1111695 BLAKE2B d4eb856ad950f8ae068a27088e54311789c7b8b646dd1c4851ef637b626015119b3b5ac9cbac58f9c79c37c07ba7d3e9a9a67dc52715187495aa824846ec2335 SHA512 5472bf2531d9147be5c6e681d0257325f6609d6aa3935243f887df0ab32e51242ff9d853fc2c183cf5c2709c89d5c52d8fecb9144343d6f959f4bed1062098ab diff --git a/media-libs/libexif/libexif-0.6.22_p20201105.ebuild b/media-libs/libexif/libexif-0.6.22_p20201105.ebuild new file mode 100644 index 000000000000..e4162afac52a --- /dev/null +++ b/media-libs/libexif/libexif-0.6.22_p20201105.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit libtool multilib-minimal + +COMMIT="9266d14b5ca4e29b970fa03272318e5f99386e06" +DESCRIPTION="Library for parsing, editing, and saving EXIF data" +HOMEPAGE="https://libexif.github.io/ https://github.com/libexif/libexif" +SRC_URI="https://github.com/libexif/libexif/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +#SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PN}-${PV//./_}-release/${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 + elibtoolize + + multilib_copy_sources +} + +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="${ED}" install +} + +multilib_src_install_all() { + find "${ED}" -name '*.la' -delete || die + rm -f "${ED}"/usr/share/doc/${PF}/{ABOUT-NLS,COPYING} || die +} |