Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=a63d388b521c5dd02d1037250fba392f446ed49f

commit a63d388b521c5dd02d1037250fba392f446ed49f
Author: Devil505 <devil505li...@gmail.com>
Date:   Mon Apr 11 19:49:21 2011 +0200

libdesktop-agnostic-0.3.92-1-i686
* new package

diff --git a/source/xlib-extra/libdesktop-agnostic/FrugalBuild 
b/source/xlib-extra/libdesktop-agnostic/FrugalBuild
new file mode 100644
index 0000000..5c5459d
--- /dev/null
+++ b/source/xlib-extra/libdesktop-agnostic/FrugalBuild
@@ -0,0 +1,33 @@
+# Compiling Time: 0.32 SBU
+# Maintainer: Devil505 <devil505li...@gmail.com>
+
+pkgname=libdesktop-agnostic
+pkgver=0.3.92
+pkgrel=1
+pkgdesc="Provides an extensible config API, a unified virtual fs API, and a 
desktop item editor for GLib-based projects."
+depends=('gtk+2' 'gdk-pixbuf2' 'libuuid' 'pygobject')
+makedepends=('gobject-introspection' 'vala>=0.8.1' 'intltool' 'gconf')
+groups=('xlib-extra')
+_F_launchpad_branch="0.4"
+Finclude launchpad
+archs=('i686' 'x86_64')
+backup=(etc/xdg/libdesktop-agnostic/desktop-agnostic.ini)
+source=($source gir.patch)
+sha1sums=('b8be6db7f6185f0d9ddbc632cd7211f1043c85b1' \
+          '1588146eb19e8352d34d151fa9088d0f37548814')
+
+build() {
+  Fcd
+
+  # Force source regeneration
+  rm -r gen_src || Fdie
+
+  # fix to enable introspection
+  Fpatchall
+
+  ./waf configure --config-backends=gconf,keyfile --vfs-backends=gio \
+      --desktop-entry-backends=gio,glib --prefix=/usr --sysconfdir=/etc || Fdie
+  ./waf || Fdie
+  ./waf install --destdir="$Fdestdir" --sysconfdir="$Fdestdir/etc" || Fdie
+}
+
diff --git a/source/xlib-extra/libdesktop-agnostic/gir.patch 
b/source/xlib-extra/libdesktop-agnostic/gir.patch
new file mode 100644
index 0000000..88824cf
--- /dev/null
+++ b/source/xlib-extra/libdesktop-agnostic/gir.patch
@@ -0,0 +1,27 @@
+diff -u -r libdesktop-agnostic-0.3.92/libdesktop-agnostic/wscript 
libdesktop-agnostic-0.3.92-gir/libdesktop-agnostic/wscript
+--- libdesktop-agnostic-0.3.92/libdesktop-agnostic/wscript     2011-03-12 
15:14:23.000000000 +0100
++++ libdesktop-agnostic-0.3.92-gir/libdesktop-agnostic/wscript 2011-03-27 
18:51:13.170000225 +0200
+@@ -67,8 +67,9 @@
+
+
+ def create_typelib_task():
+-    rule = 'LD_LIBRARY_PATH="${CURRENT_BUILD_DIR}" ${G_IR_COMPILER} ' + \
+-           '-o ${TGT} ${SRC}'
++    rule = '${G_IR_COMPILER}' + \
++           ' --includedir "${CURRENT_BUILD_DIR}"' + \
++           ' -o ${TGT} ${SRC}'
+     Task.simple_task_type('typelib', rule, after='cc_link')
+
+ create_typelib_task()
+diff -u -r libdesktop-agnostic-0.3.92/wscript 
libdesktop-agnostic-0.3.92-gir/wscript
+--- libdesktop-agnostic-0.3.92/wscript 2011-03-13 16:09:47.000000000 +0100
++++ libdesktop-agnostic-0.3.92-gir/wscript     2011-03-27 18:51:46.973335650 
+0200
+@@ -71,7 +71,7 @@
+                    help='Enables the library to be built so that it is '
+                         'instrumented to measure performance.')
+     opt.add_option('--disable-gi', action='store_true',
+-                   dest='no_gi', default=True)
++                   dest='no_gi', default=False)
+
+
+ def configure(conf):
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to