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

Andrea Scarpino andrea at archlinux.org
Mon Oct 20 08:28:23 UTC 2014


    Date: Monday, October 20, 2014 @ 10:28:23
  Author: andrea
Revision: 225060

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

Added:
  libraw/repos/extra-i686/PKGBUILD
    (from rev 225059, libraw/trunk/PKGBUILD)
  libraw/repos/extra-x86_64/PKGBUILD
    (from rev 225059, libraw/trunk/PKGBUILD)
Deleted:
  libraw/repos/extra-i686/PKGBUILD
  libraw/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |   90 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   35 ------------------
 extra-x86_64/PKGBUILD |   35 ------------------
 3 files changed, 90 insertions(+), 70 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2014-10-20 08:28:14 UTC (rev 225059)
+++ extra-i686/PKGBUILD	2014-10-20 08:28:23 UTC (rev 225060)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Andre Scarpino <andrea at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-
-pkgname=libraw
-pkgver=0.16.0
-pkgrel=1
-pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
-arch=('i686' 'x86_64')
-url="http://www.libraw.org/"
-license=('CDDL' 'LGPL' 'custom')
-depends=('lcms2' 'jasper')
-source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
-sha256sums=('71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96')
-
-build() {
-  cd LibRaw-${pkgver}
-
-  ./configure --prefix=/usr \
-    --disable-static
-  make
-}
-
-package() {
-  cd LibRaw-${pkgver}
-
-  make DESTDIR=${pkgdir} install
-
-  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -D -m644 LICENSE.LibRaw.pdf \
-    "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: libraw/repos/extra-i686/PKGBUILD (from rev 225059, libraw/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-10-20 08:28:23 UTC (rev 225060)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andre Scarpino <andrea at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=libraw
+pkgver=0.16.0
+pkgrel=2
+pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
+arch=('i686' 'x86_64')
+url="http://www.libraw.org/"
+license=('CDDL' 'LGPL' 'custom')
+depends=('lcms2' 'jasper')
+makedepends=('cmake')
+source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
+sha256sums=('71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../LibRaw-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_RAWSPEED=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  # Fix doc install dir
+  install -d "${pkgdir}"/usr/share/doc
+  mv "${pkgdir}"/usr/share/libraw "${pkgdir}"/usr/share/doc
+
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -D -m644 "${srcdir}"/LibRaw-${pkgver}/LICENSE.LibRaw.pdf \
+    "${pkgdir}"/usr/share/licenses/${pkgname}
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2014-10-20 08:28:14 UTC (rev 225059)
+++ extra-x86_64/PKGBUILD	2014-10-20 08:28:23 UTC (rev 225060)
@@ -1,35 +0,0 @@
-# $Id$
-# Maintainer: Andre Scarpino <andrea at archlinux.org>
-# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
-# Contributor: Brad Fanella <bradfanella at archlinux.us>
-
-pkgname=libraw
-pkgver=0.16.0
-pkgrel=1
-pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
-arch=('i686' 'x86_64')
-url="http://www.libraw.org/"
-license=('CDDL' 'LGPL' 'custom')
-depends=('lcms2' 'jasper')
-source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
-sha256sums=('71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96')
-
-build() {
-  cd LibRaw-${pkgver}
-
-  ./configure --prefix=/usr \
-    --disable-static
-  make
-}
-
-package() {
-  cd LibRaw-${pkgver}
-
-  make DESTDIR=${pkgdir} install
-
-  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
-  install -D -m644 LICENSE.LibRaw.pdf \
-    "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: libraw/repos/extra-x86_64/PKGBUILD (from rev 225059, libraw/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-10-20 08:28:23 UTC (rev 225060)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Andre Scarpino <andrea at archlinux.org>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>
+# Contributor: Brad Fanella <bradfanella at archlinux.us>
+
+pkgname=libraw
+pkgver=0.16.0
+pkgrel=2
+pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)"
+arch=('i686' 'x86_64')
+url="http://www.libraw.org/"
+license=('CDDL' 'LGPL' 'custom')
+depends=('lcms2' 'jasper')
+makedepends=('cmake')
+source=("http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz")
+sha256sums=('71f43871ec2535345c5c9b748f07813e49915170f9510b721a2be6478426cf96')
+
+prepare() {
+  mkdir build
+}
+
+build() {
+  cd build
+  cmake ../LibRaw-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_RAWSPEED=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+
+  # Fix doc install dir
+  install -d "${pkgdir}"/usr/share/doc
+  mv "${pkgdir}"/usr/share/libraw "${pkgdir}"/usr/share/doc
+
+  install -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -D -m644 "${srcdir}"/LibRaw-${pkgver}/LICENSE.LibRaw.pdf \
+    "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list