[arch-commits] Commit in liblastfm/trunk (PKGBUILD no-ftools.patch)
Andrea Scarpino
andrea at archlinux.org
Sun Sep 19 08:53:03 UTC 2010
Date: Sunday, September 19, 2010 @ 04:53:03
Author: andrea
Revision: 90948
upstream release; ftools is deprecated
Added:
liblastfm/trunk/no-ftools.patch
Modified:
liblastfm/trunk/PKGBUILD
-----------------+
PKGBUILD | 24 +++++++++++++-----------
no-ftools.patch | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-09-19 01:13:12 UTC (rev 90947)
+++ PKGBUILD 2010-09-19 08:53:03 UTC (rev 90948)
@@ -1,30 +1,32 @@
-# $Id: $
+# $Id:$
# Maintainer: Andrea Scarpino <andrea at archlinux.org>
# Contributor: XazZ <xazz.xazz [AT] googlemail.com>
pkgname=liblastfm
-pkgver=0.3.0
-pkgrel=5
+pkgver=0.3.2
+pkgrel=1
pkgdesc="A collection of libraries to help you integrate Last.fm services into your rich desktop software"
arch=('i686' 'x86_64')
url="http://github.com/mxcl/liblastfm/"
license=('GPL')
-depends=('libsamplerate' 'fftw' 'qt' 'openssl')
+depends=('libsamplerate' 'fftw' 'qt')
makedepends=('ruby')
options=('!libtool')
-source=(http://static.last.fm/src/$pkgname-$pkgver.tar.bz2)
-md5sums=('3f73222ebc31635941832b01e7a494b6')
+source=("http://download.github.com/mxcl-${pkgname}-${pkgver}-0-gc64ed83.tar.gz"
+ 'no-ftools.patch')
+sha1sums=('6e43e01628ada589999dde8043bb99dd6e8eee56'
+ 'ba344601d29091fb88123f80592359369efdf338')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/mxcl-${pkgname}-3539836
- sed -i "s/require 'ftools'//g" admin/*
+ patch -Np1 -i ${srcdir}/no-ftools.patch
- ./configure --prefix /usr
- make || return 1
+ ruby configure --release --prefix /usr
+ make
}
package(){
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd ${srcdir}/mxcl-${pkgname}-3539836
make DESTDIR=${pkgdir} install
}
Added: no-ftools.patch
===================================================================
--- no-ftools.patch (rev 0)
+++ no-ftools.patch 2010-09-19 08:53:03 UTC (rev 90948)
@@ -0,0 +1,36 @@
+--- mxcl-liblastfm-3539836/admin/findsrc.rb~ 2010-09-19 10:35:34.783333338 +0200
++++ mxcl-liblastfm-3539836/admin/findsrc.rb 2010-09-19 10:35:57.730000003 +0200
+@@ -1,6 +1,6 @@
+ #!/usr/bin/ruby
+ require 'find'
+-require "#{File.dirname __FILE__}/platform"
++require "#{Dir.getwd}/admin/platform.rb"
+
+ def findsrc dir='.'
+ excludes = ['.svn','.git','_include','tests','_build']
+--- mxcl-liblastfm-3539836/admin/qpp~ 2010-09-19 10:36:09.276666670 +0200
++++ mxcl-liblastfm-3539836/admin/qpp 2010-09-19 10:36:16.926666670 +0200
+@@ -2,9 +2,8 @@
+ # Creates a qmake .pro file for all valid SOURCES, HEADERS, FORMS and
+ # RESOURCES under each argument to ARGV as directories
+
+-cwd=File.dirname __FILE__
+ require 'find'
+-require "#{cwd}/findsrc"
++require "#{Dir.getwd}/admin/findsrc.rb"
+
+ sources = Array.new
+ headers = Array.new
+--- mxcl-liblastfm-3539836/admin/Makefile.rb~ 2010-09-19 10:35:38.086666671 +0200
++++ mxcl-liblastfm-3539836/admin/Makefile.rb 2010-09-19 10:36:05.816666671 +0200
+@@ -4,9 +4,8 @@
+ # and then creates the directory _include and creates files named after the
+ # class names in there which #include the file that contains the class
+
+-cwd = File.dirname( __FILE__ )
+ require 'find'
+-require "#{cwd}/platform.rb"
++require "#{Dir.getwd}/admin/platform.rb"
+
+
+ ######################################################################### defs
More information about the arch-commits
mailing list