[arch-commits] Commit in libgexiv2/trunk (PKGBUILD)
Alexander Rødseth
arodseth at nymeria.archlinux.org
Fri Aug 23 12:38:36 UTC 2013
Date: Friday, August 23, 2013 @ 14:38:36
Author: arodseth
Revision: 96279
upgpkg: libgexiv2 0.6.1-2, added python support by adding makedepends
Modified:
libgexiv2/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-08-23 11:35:11 UTC (rev 96278)
+++ PKGBUILD 2013-08-23 12:38:36 UTC (rev 96279)
@@ -4,12 +4,14 @@
pkgname=libgexiv2
pkgver=0.6.1
-pkgrel=1
+pkgrel=2
pkgdesc='GObject-based wrapper around the Exiv2 library'
arch=('x86_64' 'i686')
-url='http://redmine.yorba.org/projects/gexiv2'
+url='http://redmine.yorba.org/projects/gexiv2/roadmap'
+# http://yorba.org/download/gexiv2/
license=('GPL2')
depends=('exiv2' 'gobject-introspection')
+makedepends=('python-gobject' 'python2-gobject')
options=('!libtool')
source=("http://yorba.org/download/gexiv2/${pkgver%.1}/${pkgname}_$pkgver.tar.xz")
sha256sums=('72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3')
@@ -17,6 +19,9 @@
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # In order for the build process to include any python-related files,
+ # 'import gi; print(gi._overridesdir)' must work with either python or
+ # python2. The gi module is provided by python-gobject and python2-gobject.
./configure --prefix=/usr --enable-introspection
make
}
More information about the arch-commits
mailing list