[arch-commits] Commit in (5 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Fri Feb 27 17:18:17 UTC 2015


    Date: Friday, February 27, 2015 @ 18:18:17
  Author: svenstaro
Revision: 128392

Adding cimg as a dep of wxcam

Added:
  cimg/
  cimg/repos/
  cimg/trunk/
  cimg/trunk/PKGBUILD
Modified:
  wxcam/trunk/PKGBUILD

----------------------+
 cimg/trunk/PKGBUILD  |   22 ++++++++++++++++++++++
 wxcam/trunk/PKGBUILD |   13 ++++++-------
 2 files changed, 28 insertions(+), 7 deletions(-)

Added: cimg/trunk/PKGBUILD
===================================================================
--- cimg/trunk/PKGBUILD	                        (rev 0)
+++ cimg/trunk/PKGBUILD	2015-02-27 17:18:17 UTC (rev 128392)
@@ -0,0 +1,22 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Diego Galizzi <dgalizzi at gmail dot com>
+# Contributor: zoulnix <http://goo.gl/HQaP>
+pkgname=cimg
+pkgver=1.5.7
+pkgrel=1
+pkgdesc="Open-source C++ toolkit for image processing"
+arch=('any')
+url="http://cimg.sourceforge.net/"
+license=('CeCiLL-C' 'CeCiLL')
+depends=('fftw' 'graphicsmagick')
+makedepends=('')
+source=(http://downloads.sourceforge.net/${pkgname}/CImg-${pkgver}.zip)
+md5sums=('277ebb43968ea13ae588361e917c84b2')
+
+package() {
+  cd ${srcdir}/CImg-${pkgver}
+  install -d ${pkgdir}/usr/include/CImg/plugins ${pkgdir}/usr/share/licenses/${pkgname}
+  install -m644 CImg.h ${pkgdir}/usr/include/
+  install -m644 plugins/*.h ${pkgdir}/usr/include/CImg/plugins/
+  install -m644 Licence_CeCILL*_V*-en.txt ${pkgdir}/usr/share/licenses/${pkgname}/
+}

Modified: wxcam/trunk/PKGBUILD
===================================================================
--- wxcam/trunk/PKGBUILD	2015-02-27 16:47:00 UTC (rev 128391)
+++ wxcam/trunk/PKGBUILD	2015-02-27 17:18:17 UTC (rev 128392)
@@ -2,7 +2,7 @@
 # Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
 pkgname=wxcam
 pkgver=1.1
-pkgrel=7
+pkgrel=8
 arch=('i686' 'x86_64')
 license=(GPL)
 pkgdesc="Webcam application for linux"
@@ -12,9 +12,9 @@
 url="http://wxcam.sourceforge.net"
 makedepends=('intltool>=0.35.0' 'libsm')
 depends=('libglade' 'mjpegtools' 'perl-xml-parser' 'wxgtk' 'xvidcore' 'v4l-utils' 'alsa-lib')
-source=(http://downloads.sourceforge.net/wxcam/${pkgname}-${pkgver}.tar.bz2
+source=(wxcam.tar.gz::"http://wxcam.cvs.sourceforge.net/viewvc/wxcam/wxcam/?view=tar"
 	    http://downloads.sourceforge.net/cimg/CImg-${_CImg_ver}.zip)
-md5sums=('c9ea8991b6375c1709a7ce4e61fcc263'
+md5sums=('5f7058b199b93e9e3d94bca6166c1f46'
          '4941a3959f790ee68326403da1ed6dc7')
 
 prepare() {
@@ -22,12 +22,11 @@
 }
 
 build() {
-    cd "$srcdir"/$pkgname-$pkgver
-    ./configure --prefix=/usr
+    cd "$srcdir"/$pkgname
+    #sed -i "s/DEFAULTCONF.*/DEFAULTCONF=Release/g" nbproject/Makefile-impl.mk
     make
 }
 
 package() {
-    cd "$srcdir"/$pkgname-$pkgver
-    make DESTDIR="$pkgdir" wxcamdocdir=/usr/share/doc/wxcam install
+    cd "$srcdir"/$pkgname
 }



More information about the arch-commits mailing list