mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
79 lines
1.8 KiB
Bash
79 lines
1.8 KiB
Bash
SUMMARY="Library for parsing, editing, and saving EXIF data"
|
|
DESCRIPTION="Most digital cameras produce EXIF files, which are JPEG files \
|
|
with extra tags that contain information about the image. The EXIF library \
|
|
allows you to parse an EXIF file and read the data from those tags."
|
|
HOMEPAGE="http://libexif.sourceforge.net"
|
|
COPYRIGHT="2012 Lutz Mueller
|
|
Jan Patera
|
|
Hans Ulrich Niedermann
|
|
Hubert Figuiere
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="2"
|
|
SOURCE_URI="https://sf.net/projects/libexif/files/libexif/0.6.21/libexif-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="edb7eb13664cf950a6edd132b75e99afe61c5effe2f16494e6d27bc404b287bf"
|
|
if [ $effectiveTargetArchitecture = x86_gcc2 ]; then
|
|
PATCHES="libexif-$portVersion.patchset"
|
|
fi
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion=12.3.3
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
PROVIDES="
|
|
libexif$secondaryArchSuffix = $portVersion
|
|
lib:libexif$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libexif${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libexif$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
libexif$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:awk
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
defineDebugInfoPackage libexif$secondaryArchSuffix \
|
|
"$libDir"/libexif.so.$libVersion
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm "$libDir"/libexif.la
|
|
|
|
prepareInstalledDevelLib libexif
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
"$developDir"
|
|
}
|