gentoo-ebuilds/media-gfx/jhead/jhead-3.08-r1.ebuild
Arthur Zamarin 0e727a3a16
*/*: unkeyword ~ia64
Change was created by running the following command::

    ekeyword ^ia64 */*/*.ebuild

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2024-09-12 21:37:40 +03:00

42 lines
924 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="EXIF JPEG camera setting parser and thumbnail remover"
HOMEPAGE="http://www.sentex.net/~mwandel/jhead"
SRC_URI="https://github.com/Matthias-Wandel/jhead/archive/refs/tags/${PV}.tar.gz -> ${P}.tgz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
PATCHES=(
"${FILESDIR}"/${PN}-3.08-fix-makefile.patch
)
src_compile() {
# Older codebase with aliasing violations (bug #890252)
append-flags -fno-strict-aliasing
filter-lto
emake CC="$(tc-getCC)"
}
src_test() {
# TODO: Add an example file we change & compare checksum?
# Trivial smoketest (which would've found bug #931225)
./jhead -V || die
}
src_install() {
dobin ${PN}
dodoc *.txt
docinto html
dodoc *.html
doman ${PN}.1
doheader ${PN}.h
dolib.so lib${PN}.so*
}