[arch-commits] Commit in hugin/trunk (PKGBUILD hugin.install install)

Gaetan Bisson bisson at archlinux.org
Mon Dec 3 06:50:18 UTC 2012


    Date: Monday, December 3, 2012 @ 01:50:18
  Author: bisson
Revision: 172460

upstream update

Added:
  hugin/trunk/install
    (from rev 172108, hugin/trunk/hugin.install)
Modified:
  hugin/trunk/PKGBUILD
Deleted:
  hugin/trunk/hugin.install

---------------+
 PKGBUILD      |   49 +++++++++++++++++++++++--------------------------
 hugin.install |   15 ---------------
 install       |   13 +++++++++++++
 3 files changed, 36 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-12-03 05:46:31 UTC (rev 172459)
+++ PKGBUILD	2012-12-03 06:50:18 UTC (rev 172460)
@@ -1,39 +1,36 @@
 # $Id$
-# Maintainer: Tobias Kieslich <tobias at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Tobias Kieslich <tobias at archlinux.org>
 # Contributor: Giovanni Scafora <giovanni at archlinux.org>
 # Contributor: Dominik Ryba <domryba at post.pl>
 
 pkgname=hugin
-pkgver=2011.4.0
-pkgrel=7
-pkgdesc="A frontend to the panorama-tools"
+pkgver=2012.0.0
+pkgrel=1
+pkgdesc='Panorama photo stitcher'
+url='http://hugin.sourceforge.net/'
+license=('GPL')
 arch=('i686' 'x86_64')
-url="http://hugin.sourceforge.net/"
-license=('GPL')
 depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'autopano-sift-c'
-         'lapack' 'desktop-file-utils' 'make' 'perl-image-exiftool')
-makedepends=('zip' 'cmake' 'boost' 'tclap' 'mesa')
-install=hugin.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
-        gcc47.patch)
-sha1sums=('21ec7331d5e196aca2a8771d3c9101dd181ad93b'
-          'aa0fc9425bd7a4b5e270412f4ca72258fac77298')
+         'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
+makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python' 'swig')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2")
+sha1sums=('53f97d030716e66dc5a49c7e786686a9d5262b8d')
 
+install=install
+
 build() {
-  cd "${srcdir}"
-  patch -Np0 -i gcc47.patch
-  mkdir build
-  cd build
-  export CXXFLAGS+=" -fpermissive" 
-  cmake "${srcdir}/${pkgname}-${pkgver}" \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_EXE_LINKER_FLAGS="-lpthread" \
-    -DENABLE_LAPACK=yes
-  make
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	export CXXFLAGS+=" -fpermissive" 
+	cmake . \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_EXE_LINKER_FLAGS="-lpthread" \
+		-DENABLE_LAPACK=yes
+	make
 }
 
 package(){
-  cd "${srcdir}/build"
-  make DESTDIR="${pkgdir}" install
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
 }

Deleted: hugin.install
===================================================================
--- hugin.install	2012-12-03 05:46:31 UTC (rev 172459)
+++ hugin.install	2012-12-03 06:50:18 UTC (rev 172460)
@@ -1,15 +0,0 @@
-post_install() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
-  update-desktop-database -q
-  update-mime-database usr/share/mime > /dev/null
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-post_remove() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
-  update-desktop-database -q
-  update-mime-database usr/share/mime > /dev/null
-}

Copied: hugin/trunk/install (from rev 172108, hugin/trunk/hugin.install)
===================================================================
--- install	                        (rev 0)
+++ install	2012-12-03 06:50:18 UTC (rev 172460)
@@ -0,0 +1,13 @@
+post_upgrade() {
+	gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+	update-desktop-database -q
+	update-mime-database usr/share/mime > /dev/null
+}
+
+post_install() {
+	post_upgrade
+}
+
+post_remove() {
+	post_upgrade
+}




More information about the arch-commits mailing list