From 303b648aab106fbb37f660e42605ac634578fa2c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 May 2015 19:36:09 +0200 Subject: [PATCH] foobnix: MAKE THIS REALLY WORK --- srcpkgs/foobnix/patches/use-bsddb3.patch | 11 +++++++++++ srcpkgs/foobnix/template | 9 +++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/foobnix/patches/use-bsddb3.patch diff --git a/srcpkgs/foobnix/patches/use-bsddb3.patch b/srcpkgs/foobnix/patches/use-bsddb3.patch new file mode 100644 index 0000000000..c20fd0a12e --- /dev/null +++ b/srcpkgs/foobnix/patches/use-bsddb3.patch @@ -0,0 +1,11 @@ +--- foobnix/util/id3_util.py.orig 2015-05-04 19:34:32.823680925 +0200 ++++ foobnix/util/id3_util.py 2015-05-04 19:34:40.751769061 +0200 +@@ -4,7 +4,7 @@ Created on 24 нояб. 2010 + + @author: ivan + ''' +-from _bsddb import api ++from bsddb3 import * + import os + import logging + import urllib diff --git a/srcpkgs/foobnix/template b/srcpkgs/foobnix/template index 97d2f49933..c1caa35a26 100644 --- a/srcpkgs/foobnix/template +++ b/srcpkgs/foobnix/template @@ -1,16 +1,17 @@ # Template file for 'foobnix' pkgname=foobnix version=3.0.04 -revision=1 +revision=2 noarch=yes wrksrc="${pkgname}_${version}" build_style="python-module" -hostmakedepends="python-setuptools python-devel" -makedepends="python-devel" +hostmakedepends="python-setuptools" short_desc=="Light and functional music player" homepage="http://www.foobnix.com" license="GPL-3" -depends="gst-plugins-base1 gst-plugins-good1 gst-python gst-plugins-bad1 gst-plugins-ugly1 libnotify mutagen python-chardet python-dbus python-gobject2 python-simplejson webkitgtk xclip xsel" +depends="gst-plugins-base1 gst-plugins-good1 gst-plugins-bad1 gst-plugins-ugly1 gst1-python + libnotify mutagen python-chardet python-dbus python-gobject python-httplib2 + python-simplejson python-bsddb3 webkitgtk xclip xsel" pycompile_module="foobnix" distfiles="https://launchpad.net/~foobnix-team/+archive/ubuntu/foobnix-player/+files/foobnix_${version}vivid1.tar.gz" checksum=909afa5996aa410d7ce5f6fc2b936483fa3b67fc1e9cfd66509f4123789c77d6