diff options
Diffstat (limited to 'community/libdesktop-agnostic')
-rw-r--r-- | community/libdesktop-agnostic/PKGBUILD | 44 | ||||
-rw-r--r-- | community/libdesktop-agnostic/gir.patch | 27 |
2 files changed, 0 insertions, 71 deletions
diff --git a/community/libdesktop-agnostic/PKGBUILD b/community/libdesktop-agnostic/PKGBUILD deleted file mode 100644 index 3c0072045..000000000 --- a/community/libdesktop-agnostic/PKGBUILD +++ /dev/null @@ -1,44 +0,0 @@ -# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> -# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> - -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." -arch=('i686' 'x86_64') -url="https://launchpad.net/libdesktop-agnostic" -license=('GPL' 'LGPL') -depends=('glib2' 'gtk2' 'pygtk' 'pygobject') -makedepends=('gobject-introspection' 'vala>=0.8.1' 'intltool' - 'gconf') -optdepends=('gconf: gconf configuration backend') -options=('!libtool') -backup=(etc/xdg/libdesktop-agnostic/desktop-agnostic.ini) -source=(https://launchpad.net/$pkgname/0.4/$pkgver/+download/$pkgname-$pkgver.tar.gz - gir.patch) -md5sums=('42374d226a21d57637f97173f6b105a1' - '346e06ae914ec0c12e5f1fa1c4796575') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - # Force source regeneration - rm -r gen_src - - # fix for python 2.7 - sed -i '1s|^#!.*python$|&2|' waf - export PYTHON=/usr/bin/python2 - - # fix to enable introspection - patch -Np1 -i "$srcdir/gir.patch" - - ./waf configure --config-backends=gconf,keyfile --vfs-backends=gio \ - --desktop-entry-backends=gio,glib --prefix=/usr --sysconfdir=/etc - ./waf -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - ./waf install --destdir="$pkgdir" --sysconfdir="$pkgdir/etc" -} diff --git a/community/libdesktop-agnostic/gir.patch b/community/libdesktop-agnostic/gir.patch deleted file mode 100644 index 88824cf76..000000000 --- a/community/libdesktop-agnostic/gir.patch +++ /dev/null @@ -1,27 +0,0 @@ -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): |