summaryrefslogtreecommitdiff
path: root/libre/gloobus-preview-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/gloobus-preview-libre/PKGBUILD')
-rw-r--r--libre/gloobus-preview-libre/PKGBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/libre/gloobus-preview-libre/PKGBUILD b/libre/gloobus-preview-libre/PKGBUILD
index 5881a4c2e..0a7cf95d5 100644
--- a/libre/gloobus-preview-libre/PKGBUILD
+++ b/libre/gloobus-preview-libre/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 91026 2013-05-18 11:44:23Z bgyorgy $
+# $Id: PKGBUILD 104564 2014-01-22 21:49:14Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
_pkgname=gloobus-preview
pkgname=gloobus-preview-libre
pkgver=0.4.5.290
_pkgver=0.4.5-ubuntu11~ppa290
-pkgrel=1.1
+pkgrel=2
pkgdesc="Gnome application designed to enable a full screen preview of any kind of file, with libarchive support"
arch=('i686' 'x86_64')
url="http://gloobus.net/"
license=('GPL')
-depends=('gstreamer0.10-base-plugins' 'gtksourceview3' 'poppler-glib' 'python2-dbus' 'python2-gconf' 'taglib' 'xdg-utils')
+depends=('gstreamer0.10-base-plugins' 'gtksourceview3' 'poppler-glib' 'python2-dbus' 'python2-gobject' 'gconf' 'taglib' 'xdg-utils')
makedepends=('boost' 'bzr' 'djvulibre' 'libspectre')
replaces=$_pkgname
conflicts=$_pkgname
@@ -25,19 +25,22 @@ optdepends=('djvulibre: Preview DjVu documents'
'unoconv: Preview LibreOffice compatible documents'
'libarchive: View content of RAR archives'
'unzip: View content of .ZIP archives')
-options=('!libtool')
install=$_pkgname.install
source=(https://launchpad.net/~gloobus-dev/+archive/$_pkgname/+files/${_pkgname}_$_pkgver.orig.tar.xz
gloobus-sushi::bzr+http://bazaar.launchpad.net/~gloobus-dev/gloobus-sushi/gloobus-sushi
fix-gtksource-include.patch
fix-unoconv.patch
use-xdg-open.patch
+ gloobus-preview-configuration-pygobject3-port.patch
+ gloobus-sushi-pygobject3-port.patch
gloobus-preview-usr-bsdtar-for-rar.patch)
md5sums=('27b3db2043ecaf47fa928940bbb4f32a'
'SKIP'
'ca15a3e31cec01d3d4fc5a4e1720f692'
'03379c173e67ad1b6804bc609336451d'
'd6d9e2b3e001f0ea8440cccdf90480af'
+ '16e7a7d892dfde5fd40332fc41de97b0'
+ '7536f8fbbb2c6bbc0132a2fa25b296b7'
'eeab61846c861540bb16ca00fa14cdb6')
prepare() {
@@ -56,6 +59,9 @@ prepare() {
# Use xdg-open
patch -Np1 -i "$srcdir/use-xdg-open.patch"
+ # Port gloobus-preview-configuration to pygobject3
+ patch -Np1 -i "$srcdir/gloobus-preview-configuration-pygobject3-port.patch"
+
# Use bsdtar (libarchive) if unrar is not found.
patch -Np0 -i "$srcdir/gloobus-preview-usr-bsdtar-for-rar.patch"
@@ -64,6 +70,9 @@ prepare() {
# Python2 fix
sed -i 's/python /python2 /' src/gloobus-sushi.in
+
+ # Port gloobus-sushi to pygobject3
+ patch -Np1 -i "$srcdir/gloobus-sushi-pygobject3-port.patch"
}