exiv2: bump version (#1483)

This commit is contained in:
miqlas
2017-06-30 08:03:41 +02:00
committed by Jérôme Duval
parent 49a5b5bc21
commit 08acbdbb40
3 changed files with 97 additions and 19 deletions

View File

@@ -0,0 +1,89 @@
SUMMARY="A C++ library and command line utility to manage image metadata"
DESCRIPTION="Exiv2 provides fast and easy read and write access to the Exif, \
IPTC and XMP metadata of images in various formats. Exiv2 is available as \
free software and with a commercial license, and is used in many projects."
HOMEPAGE="http://www.exiv2.org/"
COPYRIGHT="2004-2013 Andreas Huggel
2009 Brad Schick"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.exiv2.org/exiv2-$portVersion.tar.gz"
CHECKSUM_SHA256="c80bfc778a15fdb06f71265db2c3d49d8493c382e516cb99b8c9f9cbde36efa4"
PATCHES="exiv2-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
exiv2$secondaryArchSuffix = $portVersion
cmd:exiv2$secondaryArchSuffix = $portVersion
lib:libexiv2$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
exiv2${secondaryArchSuffix}_devel = $portVersion
devel:libexiv2${secondaryArchSuffix} = $portVersion
"
REQUIRES_devel="
exiv2$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libcurl$secondaryArchSuffix
devel:libexpat$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:autoheader
cmd:automake
cmd:awk # required by configure
cmd:find # required by libtool
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:md5sum
cmd:pkg_config$secondaryArchSuffix
cmd:sed
"
BUILD()
{
export CXXFLAGS="-D_BSD_SOURCE"
export LDFLAGS="-lbsd -lnetwork"
cd config
libtoolize -fci
autoconf
cp configure ..
cd ..
runConfigure ./configure \
--enable-video \
--with-curl
make $jobArgs
}
INSTALL()
{
make install
rm $libDir/libexiv2.la
prepareInstalledDevelLibs libexiv2
fixPkgconfig
packageEntries devel \
$developDir
}