[weasel-commit] Source: libexif=0.6.19-1

  • From: rbuilder@xxxxxxxxx
  • To: weasel-commit@xxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2010 23:18:21 -0500

================================
libexif:source=0.6.19-1 (previous: 0.6.17-1)
cvc rdiff libexif -1 /weasel.rpath.org@wgl:3-devel/0.6.19-1
================================
0.6.19-1 Filip Brcic (brcha@xxxxxxx) Fri Jan 29 23:18:12 2010
    version bump + metadata

libexif-0.6.13-pkgconfig.patch: new
--- /dev/null
+++ libexif-0.6.13-pkgconfig.patch
@@ -0,0 +13 @@
+Index: libexif-0.6.13/libexif/libexif.pc.in
+===================================================================
+--- libexif-0.6.13.orig/libexif/libexif.pc.in
++++ libexif-0.6.13/libexif/libexif.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ libdir=@libdir@
+-includedir=@includedir@
++includedir=@includedir@/libexif
+ 
+ Name: libexif
+ Description: Library for easy access to EXIF data

libexif.recipe: changed
Index: libexif.recipe
====================================================================
contents(size sha1)
inode(mtime)
--- libexif.recipe /weasel.rpath.org@wgl:3-devel/0.6.17-1
+++ libexif.recipe /weasel.rpath.org@wgl:3-devel/0.6.19-1
@@ -1,38 +1,30 @@
 #
-# Copyright (c) 2005-2007 rPath, Inc.
-# This file is distributed under the terms of the MIT license
-# A copy is available at http://www.rpath.com/permanent/mit-license.html
+# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx>
+# Distributed under the terms of the GNU General Public License v3
 #
 
 class Libexif(AutoPackageRecipe):
     name = 'libexif'
-    version = '0.6.17'
+    version = '0.6.19'
 
     buildRequires = [
         'gettext:runtime', 'intltool:runtime',
         ]
 
+    shortDesc  = 'Library for parsing, editing, and saving EXIF data'
+    url        = 'http://libexif.sourceforge.net/'
+    licenses   = [ 'LGPL-2.1' ]
+    categories = [ 'Media/Libraries' ]
+
     def unpack(r):
-        r.disableParallelMake()
         r.addArchive('mirror://sourceforge/%(name)s/')
 
-        r.Replace('^Cflags: -I\$\{includedir\}',
-                  'Cflags: -I${includedir}/libexif -I${includedir}',
-                  'libexif.pc.in')
+        r.addPatch('libexif-0.6.13-pkgconfig.patch')
 
-        r.Run("sed -i 's/^install-data-local/@HAVE_DOXYGEN_TRUE@&/' 
doc/Makefile.in")
-
-        if Arch.x86_64:
-            # First build 32bit version
-            macros32 = r.macros.copy()
-            macros32.cc = '"gcc -m32"'
-            macros32.cxx = '"g++ -m32"'
-            macros32.libdir = '%(prefix)s/lib'
-
-            r.Run('cp -a %(builddir)s %(builddir)s/../32bit')
-
-            r.Configure(dir='../32bit', overrideMacros=macros32)
-            r.Make(dir='../32bit', overrideMacros=macros32)
-            r.MakeInstall(dir='../32bit', overrideMacros=macros32)
-
-            r.NormalizePkgConfig(exceptions='.*')
+    def configure(r):
+        r.Configure(
+            ' --disable-dependency-tracking'
+            ' --enable-nls'
+            ' --disable-docs'
+            ' --with-doc-dir=%(thisdocdir)s'
+            )


libexif-0.6.19.tar.bz2: new
libexif-0.6.17.tar.bz2: removed

Committed by: brcha

Other related posts: