exiv2: update to 0.27.2, move cmake files to -devel package
This commit is contained in:
parent
e3b75d6b5d
commit
1e836fe45d
2 changed files with 7 additions and 29 deletions
|
@ -1,23 +0,0 @@
|
||||||
diff --git a/src/futils.cpp b/src/futils.cpp
|
|
||||||
index a30acd9..24250fa 100644
|
|
||||||
--- src/futils.cpp
|
|
||||||
+++ src/futils.cpp
|
|
||||||
@@ -54,7 +54,7 @@
|
|
||||||
#include <stdexcept>
|
|
||||||
|
|
||||||
#ifdef EXV_HAVE_STRERROR_R
|
|
||||||
-#ifdef _GNU_SOURCE
|
|
||||||
+#if defined(_GNU_SOURCE) && defined(__GLIBC__)
|
|
||||||
extern char *strerror_r(int errnum, char *buf, size_t n);
|
|
||||||
#else
|
|
||||||
extern int strerror_r(int errnum, char *buf, size_t n);
|
|
||||||
@@ -348,7 +348,7 @@ namespace Exiv2 {
|
|
||||||
std::ostringstream os;
|
|
||||||
#ifdef EXV_HAVE_STRERROR_R
|
|
||||||
const size_t n = 1024;
|
|
||||||
-#ifdef _GNU_SOURCE
|
|
||||||
+#if defined(_GNU_SOURCE) && defined(__GLIBC__)
|
|
||||||
char *buf = 0;
|
|
||||||
char buf2[n];
|
|
||||||
std::memset(buf2, 0x0, n);
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'exiv2'
|
# Template file for 'exiv2'
|
||||||
pkgname=exiv2
|
pkgname=exiv2
|
||||||
version=0.27.0
|
version=0.27.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="exiv2-${version}-Source"
|
wrksrc="exiv2-${version}-Source"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -9,17 +9,18 @@ makedepends="zlib-devel expat-devel"
|
||||||
short_desc="Image metadata manipulation"
|
short_desc="Image metadata manipulation"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.exiv2.org"
|
homepage="https://www.exiv2.org"
|
||||||
distfiles="http://www.exiv2.org/releases/exiv2-${version}-Source.tar.gz"
|
distfiles="https://www.exiv2.org/builds/exiv2-${version}-Source.tar.gz"
|
||||||
checksum=ee88bc81539b73c65010651785d094fad0b39760a424b3c16c17e1856cfef2d7
|
checksum=2652f56b912711327baff6dc0c90960818211cf7ab79bb5e1eb59320b78d153f
|
||||||
|
|
||||||
exiv2-devel_package() {
|
exiv2-devel_package() {
|
||||||
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
vmove usr/lib/cmake
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove usr/lib/*.a
|
vmove "usr/lib/*.a"
|
||||||
vmove usr/lib/*.so
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue