[arch-commits] Commit in exiv2/repos (4 files)

Jan de Groot jgc at archlinux.org
Fri Jul 3 08:28:22 UTC 2015


    Date: Friday, July 3, 2015 @ 10:28:21
  Author: jgc
Revision: 241732

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  exiv2/repos/staging-i686/
  exiv2/repos/staging-i686/PKGBUILD
    (from rev 241731, exiv2/trunk/PKGBUILD)
  exiv2/repos/staging-x86_64/
  exiv2/repos/staging-x86_64/PKGBUILD
    (from rev 241731, exiv2/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   42 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

Copied: exiv2/repos/staging-i686/PKGBUILD (from rev 241731, exiv2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-07-03 08:28:21 UTC (rev 241732)
@@ -0,0 +1,42 @@
+#$Id$
+# Maintainer: tobias <tobias at arhlinux.org>
+
+pkgname=exiv2
+pkgver=0.25
+pkgrel=1
+pkgdesc="Exif, Iptc and XMP metadata manipulation library and tools"
+arch=('i686' 'x86_64')
+url="http://exiv2.org"
+license=('GPL2')
+depends=('gcc-libs' 'zlib' 'expat')
+makedepends=('cmake') # for doc: 'doxygen' 'graphviz' 'ttf-liberation' 'libxslt')
+source=(http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz)
+        # for doc build maybe add from FC exiv2-0.24-doxygen_config.patch)
+md5sums=('258d4831b30f75a01e0234065c6c2806')
+
+prepare() {
+  mkdir build
+  # fix man pages install patch
+  sed -i "s:man/man1:share/man/man1:" ${pkgbase}-${pkgver}/src/CMakeLists.txt
+}
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \
+    -DEXIV2_ENABLE_BUILD_SAMPLES=ON
+  make
+#  cd ../${pkgbase}-${pkgver}
+#  make -j1 doc # needs to be fixed
+}
+
+#check() {
+#  cd build
+#  make tests # doesn't work for me not finding tests dir
+#}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: exiv2/repos/staging-x86_64/PKGBUILD (from rev 241731, exiv2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-07-03 08:28:21 UTC (rev 241732)
@@ -0,0 +1,42 @@
+#$Id$
+# Maintainer: tobias <tobias at arhlinux.org>
+
+pkgname=exiv2
+pkgver=0.25
+pkgrel=1
+pkgdesc="Exif, Iptc and XMP metadata manipulation library and tools"
+arch=('i686' 'x86_64')
+url="http://exiv2.org"
+license=('GPL2')
+depends=('gcc-libs' 'zlib' 'expat')
+makedepends=('cmake') # for doc: 'doxygen' 'graphviz' 'ttf-liberation' 'libxslt')
+source=(http://www.exiv2.org/${pkgname}-${pkgver}.tar.gz)
+        # for doc build maybe add from FC exiv2-0.24-doxygen_config.patch)
+md5sums=('258d4831b30f75a01e0234065c6c2806')
+
+prepare() {
+  mkdir build
+  # fix man pages install patch
+  sed -i "s:man/man1:share/man/man1:" ${pkgbase}-${pkgver}/src/CMakeLists.txt
+}
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DEXIV2_ENABLE_BUILD_PO:BOOL=ON \
+    -DEXIV2_ENABLE_BUILD_SAMPLES=ON
+  make
+#  cd ../${pkgbase}-${pkgver}
+#  make -j1 doc # needs to be fixed
+}
+
+#check() {
+#  cd build
+#  make tests # doesn't work for me not finding tests dir
+#}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list