mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
media-libs/libexif: add 0.6.26, wire up verify-sig
Bug: https://bugs.gentoo.org/972724 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,3 @@
|
||||
DIST libexif-0.6.25.tar.xz 1291276 BLAKE2B 8c9aa7d6b36b7d1a7f66ad9fa62ac4eb2f708f7df9917a6563230de7642e8ae961c41439f5948aece17942f167ada40d3850a63b7bbc5833bc647a12a27a6d46 SHA512 99fc1aa468968cbf2dd69a53ec451d3524b80fb01ad3abe4188d9c295b10812f531271655475bce681558745652a8c8b977e682f240e65e4f7e97992fdbfdcd2
|
||||
DIST libexif-0.6.26.tar.xz 1335488 BLAKE2B be8a2cbc554110e899f55f2ceb80bdda19644c16805bf94d632bbfa5f04358e0e945639f1258172e6ac1d648136b5df3b2ed1ec587be194f8d065cf49964c8ef SHA512 944b65d1dfda431f2c8c5179965cb4a501c1524a8383d6d5ab7e1c77da62fa6ac4751b975edcec58948a11debb3a64ee3da3dfe0fa82c499033b434f294f5ff3
|
||||
DIST libexif-0.6.26.tar.xz.asc 833 BLAKE2B 4f50f0d0e1290de7bfce0eb921bd97415479ed0b9eef6c946310770f19c8660213796a96a594de6606cb07dd135fdc73b99dd87b1d1155d32955d2029b21938d SHA512 c6655a271403d7d4a30d74f17d2af4a55bb0248b97e43a23bd0d05891dff7de01bbcb1706f8708d330ad5f6831bf9a53e83e97c2ff27665689b60c73e2a33f7e
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/marcusmeissner.asc
|
||||
inherit autotools multilib-minimal verify-sig
|
||||
|
||||
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
|
||||
verify-sig? ( https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz.asc )
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-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 )
|
||||
verify-sig? ( sec-keys/openpgp-keys-marcusmeissner )
|
||||
"
|
||||
|
||||
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() {
|
||||
local myeconfargs=(
|
||||
$(multilib_native_use_enable doc docs)
|
||||
$(use_enable nls)
|
||||
--with-doc-dir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
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