[arch-commits] Commit in hugin/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 6 08:14:42 UTC 2014
Date: Thursday, November 6, 2014 @ 09:14:42
Author: foutrelis
Revision: 225662
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
hugin/repos/staging-i686/
hugin/repos/staging-i686/PKGBUILD
(from rev 225661, hugin/trunk/PKGBUILD)
hugin/repos/staging-i686/install
(from rev 225661, hugin/trunk/install)
hugin/repos/staging-x86_64/
hugin/repos/staging-x86_64/PKGBUILD
(from rev 225661, hugin/trunk/PKGBUILD)
hugin/repos/staging-x86_64/install
(from rev 225661, hugin/trunk/install)
-------------------------+
staging-i686/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++
staging-i686/install | 13 +++++++++++
staging-x86_64/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/install | 13 +++++++++++
4 files changed, 134 insertions(+)
Copied: hugin/repos/staging-i686/PKGBUILD (from rev 225661, hugin/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2014-11-06 08:14:42 UTC (rev 225662)
@@ -0,0 +1,54 @@
+# $Id$
+# 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=2014.0.0
+pkgrel=2
+pkgdesc='Panorama photo stitcher'
+url='http://hugin.sourceforge.net/'
+license=('GPL')
+arch=('i686' 'x86_64')
+optdepends=('python2: bindings and plugins')
+makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python2' 'swig')
+depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13'
+ 'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
+optdepends=('python2: for scripting and plugin interface support')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver/r/_r}.tar.bz2"
+ "http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2")
+sha1sums=('7b4ae181f664b9e0a68f55f298cdaa210fa09aa9'
+ 'cef9a0cc7084b1d639e06cd3bc34e4251524c840')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+
+ # We take the module "spirit" from boost 1.55 and use it instead of the one
+ # that is provided by boost 1.56+ because hugin doesn't compile with the
+ # latter. This is no proper fix for the problem but it works for now.
+ mkdir -p src/boost
+ cp -r "${srcdir}/boost_1_55_0/boost/spirit" src/boost/
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61214#c5
+ # and https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1231921.html.
+ # for why the "-fno-devirtualize" flag is needed. I can go away with GCC 4.9.2+.
+ CXXFLAGS="${CXXFLAGS} -fno-devirtualize"
+
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_LAPACK=yes
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: hugin/repos/staging-i686/install (from rev 225661, hugin/trunk/install)
===================================================================
--- staging-i686/install (rev 0)
+++ staging-i686/install 2014-11-06 08:14:42 UTC (rev 225662)
@@ -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
+}
Copied: hugin/repos/staging-x86_64/PKGBUILD (from rev 225661, hugin/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2014-11-06 08:14:42 UTC (rev 225662)
@@ -0,0 +1,54 @@
+# $Id$
+# 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=2014.0.0
+pkgrel=2
+pkgdesc='Panorama photo stitcher'
+url='http://hugin.sourceforge.net/'
+license=('GPL')
+arch=('i686' 'x86_64')
+optdepends=('python2: bindings and plugins')
+makedepends=('cmake' 'boost' 'tclap' 'mesa' 'python2' 'swig')
+depends=('wxgtk' 'boost-libs' 'enblend-enfuse' 'exiv2' 'libpano13'
+ 'lensfun' 'lapack' 'make' 'perl-image-exiftool' 'desktop-file-utils')
+optdepends=('python2: for scripting and plugin interface support')
+source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver%.*}/${pkgname}-${pkgver/r/_r}.tar.bz2"
+ "http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2")
+sha1sums=('7b4ae181f664b9e0a68f55f298cdaa210fa09aa9'
+ 'cef9a0cc7084b1d639e06cd3bc34e4251524c840')
+
+install=install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+
+ # We take the module "spirit" from boost 1.55 and use it instead of the one
+ # that is provided by boost 1.56+ because hugin doesn't compile with the
+ # latter. This is no proper fix for the problem but it works for now.
+ mkdir -p src/boost
+ cp -r "${srcdir}/boost_1_55_0/boost/spirit" src/boost/
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+
+ # See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61214#c5
+ # and https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1231921.html.
+ # for why the "-fno-devirtualize" flag is needed. I can go away with GCC 4.9.2+.
+ CXXFLAGS="${CXXFLAGS} -fno-devirtualize"
+
+ cmake . \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_LAPACK=yes
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc?}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: hugin/repos/staging-x86_64/install (from rev 225661, hugin/trunk/install)
===================================================================
--- staging-x86_64/install (rev 0)
+++ staging-x86_64/install 2014-11-06 08:14:42 UTC (rev 225662)
@@ -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