mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/libexif: add 0.6.25
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST libexif-0.6.24.tar.bz2 1992163 BLAKE2B 75d3a2b4fefd7b7706226e70d31250ef7e99eeb81a4839ddc36cc9e3180534542d8a02851f8e6fd5034bbc925a616ead8c4bfb0cce8bc5886c3ec54811914a6b SHA512 35c9e7af2c3d44a638dc6bbe8f96962d41c0f3fe4a257494f7a73baefab9aba507477175289ccf9002a66cc16ca53d5d1f44d6fef9e014b27f687ecdc58f5111
|
||||
DIST libexif-0.6.25.tar.xz 1291276 BLAKE2B 8c9aa7d6b36b7d1a7f66ad9fa62ac4eb2f708f7df9917a6563230de7642e8ae961c41439f5948aece17942f167ada40d3850a63b7bbc5833bc647a12a27a6d46 SHA512 99fc1aa468968cbf2dd69a53ec451d3524b80fb01ad3abe4188d9c295b10812f531271655475bce681558745652a8c8b977e682f240e65e4f7e97992fdbfdcd2
|
||||
|
||||
57
media-libs/libexif/libexif-0.6.25.ebuild
Normal file
57
media-libs/libexif/libexif-0.6.25.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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.xz"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc nls"
|
||||
|
||||
RDEPEND="nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-text/doxygen )
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
|
||||
)
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
localtime_s # bug #898318
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug #390249
|
||||
sed -i -e '/FLAGS=/s:-g::' configure.ac || die
|
||||
|
||||
# Previously elibtoolize for BSD
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
$(multilib_native_use_enable doc docs) \
|
||||
$(use_enable nls) \
|
||||
--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
|
||||
}
|
||||
Reference in New Issue
Block a user